/* ==========================================================================
   Piedev Tech Solutions - Modern Web Admin Dashboard Stylesheet
   Executive Light Theme & Rich Color Palette (Hand-Crafted SaaS)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    color-scheme: dark;

    /* Theme Tokens - Velora UI Dark Obsidian */
    --bg-dark: #070b14;
    --bg-sidebar: #0c1222;
    --bg-card: rgba(15, 23, 42, 0.75);
    --bg-card-hover: rgba(22, 33, 62, 0.85);
    --bg-input: #0f172a;
    --bg-surface-subtle: #111827;

    --border-color: rgba(255, 255, 255, 0.09);
    --border-color-hover: rgba(99, 102, 241, 0.4);

    /* Velora Brand Palette */
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: rgba(99, 102, 241, 0.15);
    --primary-border: rgba(99, 102, 241, 0.35);
    --primary-glow: rgba(99, 102, 241, 0.35);
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);

    --cyan: #38bdf8;
    --cyan-light: rgba(56, 189, 248, 0.12);
    --cyan-border: rgba(56, 189, 248, 0.3);
    --cyan-text: #7dd3fc;

    --success: #10b981;
    --success-light: rgba(16, 185, 129, 0.12);
    --success-border: rgba(16, 185, 129, 0.3);
    --success-text: #6ee7b7;

    --warning: #f59e0b;
    --warning-light: rgba(245, 158, 11, 0.12);
    --warning-border: rgba(245, 158, 11, 0.3);
    --warning-text: #fcd34d;

    --danger: #ef4444;
    --danger-light: rgba(239, 68, 68, 0.12);
    --danger-border: rgba(239, 68, 68, 0.3);
    --danger-text: #fca5a5;

    --purple: #a855f7;
    --purple-light: rgba(168, 85, 247, 0.12);
    --purple-border: rgba(168, 85, 247, 0.3);
    --purple-text: #d8b4fe;

    /* High-Contrast Human Typography System */
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --text-dim: #94a3b8;

    /* Geometry */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Dark Obsidian Ambient Shadows & Depth */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px 0 rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 35px -5px rgba(0, 0, 0, 0.7);
    --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.07);
    --shadow-hover: 0 14px 34px -4px rgba(0, 0, 0, 0.6), 0 0 20px -2px rgba(99, 102, 241, 0.25);

    /* Fonts */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Scrollbar */
    --scrollbar-thumb: #334155;
    --scrollbar-track: #070b14;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
    scrollbar-width: thin;
}

@supports not (scrollbar-color: auto) {
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
    ::-webkit-scrollbar-thumb {
        background: var(--scrollbar-thumb);
        border-radius: 4px;
    }
    ::-webkit-scrollbar-track {
        background: var(--scrollbar-track);
    }
}

/* Modern Typography Guidelines: Balance & Pretty */
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
    letter-spacing: -0.02em;
    color: var(--text-main);
    font-weight: 700;
}

p, blockquote, li, .pretty-text {
    text-wrap: pretty;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.admin-body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-muted);
    display: flex;
    min-height: 100vh;
    background-image: radial-gradient(circle at 10% 10%, rgba(79, 70, 229, 0.03) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(2, 132, 199, 0.03) 0%, transparent 40%);
    background-attachment: fixed;
    line-height: 1.5;
}

body.login-bg {
    background: #070b14;
    background-image: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
                      radial-gradient(circle at 10% 90%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

a:hover {
    color: var(--primary-hover);
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Modern Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    white-space: nowrap;
    line-height: 1.4;
    box-shadow: var(--shadow-xs);
}
.btn:active {
    transform: scale(0.98);
}
.btn-primary {
    background: var(--primary);
    color: #ffffff !important;
    border-color: #4338ca;
    box-shadow: 0 1px 2px 0 rgba(79, 70, 229, 0.25), 0 2px 4px -1px rgba(79, 70, 229, 0.15);
}
.btn-primary:hover {
    background: var(--primary-hover);
    border-color: #3730a3;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    color: #ffffff !important;
    transform: translateY(-1px);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--text-muted) !important;
    border: 1px solid var(--border-color);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary) !important;
    background: var(--primary-light);
}
.btn-lg {
    padding: 0.8rem 1.75rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
}
.btn-copy {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}
.btn-copy:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.45);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Sidebar */
.admin-sidebar {
    width: 270px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 50;
    box-shadow: 1px 0 10px rgba(0, 0, 0, 0.2);
}
.sidebar-header {
    padding: 1.35rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.sidebar-logo {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}
.sidebar-brand-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.2;
}
.sidebar-brand-name span {
    display: block;
    font-size: 0.72rem;
    color: var(--primary);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 700;
}
.sidebar-nav {
    padding: 1.25rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex-grow: 1;
    overflow-y: auto;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    position: relative;
}
.nav-item i, .nav-item svg {
    flex-shrink: 0;
    transition: color 0.15s ease, transform 0.15s ease;
}
.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transform: translateX(2px);
}
.nav-item:hover i, .nav-item:hover svg {
    color: #818cf8;
}
.nav-item.active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.22) 0%, rgba(99, 102, 241, 0.06) 100%);
    color: #ffffff;
    font-weight: 700;
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 0 16px -3px rgba(99, 102, 241, 0.3);
}
.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}
.nav-item.active i, .nav-item.active svg {
    color: #a5b4fc;
}
.sidebar-footer {
    padding: 1.15rem 1rem;
    border-top: 1px solid var(--border-color);
    background: rgba(7, 11, 20, 0.9);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.sidebar-user-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
}
.sidebar-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
    flex-shrink: 0;
}
.sidebar-user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.sidebar-user-name {
    font-size: 0.84rem;
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}
.sidebar-user-role {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.1rem;
}
.sidebar-footer-actions {
    display: flex;
    gap: 0.5rem;
}
.sidebar-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex: 1;
    padding: 0.5rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.sidebar-footer-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    transform: translateY(-1px);
}
.sidebar-footer-btn-danger {
    color: #f87171;
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
}
.sidebar-footer-btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

/* Main Content Workspace */
.admin-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-y: auto;
}
.admin-topbar {
    height: 70px;
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.25rem;
    position: sticky;
    top: 0;
    z-index: 40;
}
.admin-content {
    padding: 2.25rem;
    flex-grow: 1;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* KPI Summary Cards - Guaranteed Visible & Dark Obsidian */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
    opacity: 1 !important;
    visibility: visible !important;
}
.kpi-card {
    background: rgba(15, 23, 42, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    opacity: 1 !important;
    visibility: visible !important;
    transform: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.kpi-card:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.6), 0 0 15px rgba(99, 102, 241, 0.2);
}
.kpi-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.kpi-val {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.15;
    letter-spacing: -0.03em;
}
.kpi-label {
    font-size: 0.85rem;
    color: #94a3b8 !important;
    margin-top: 0.25rem;
    font-weight: 500;
}

.velora-spotlight-card {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Admin Cards */
.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.card-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.admin-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Modern Forms */
.form-group {
    margin-bottom: 1.4rem;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}
.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.45rem;
}
.form-hint {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.35rem;
}
.form-control {
    width: 100%;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.94rem;
    transition: all 0.15s ease;
    box-shadow: var(--shadow-xs);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff;
}
.form-control::placeholder {
    color: #94a3b8;
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.75rem;
    cursor: pointer;
}
select.form-control option {
    background-color: #0f172a;
    color: #f8fafc;
    padding: 0.75rem 1rem;
    font-size: 0.94rem;
}
select.form-control optgroup {
    background-color: #0b1120;
    color: #94a3b8;
    font-weight: 700;
}

/* Enterprise Custom Select Component */
.enterprise-select-container {
    position: relative;
    width: 100%;
    user-select: none;
}
.enterprise-select-trigger {
    width: 100%;
    min-height: 48px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.9rem;
    color: #ffffff;
    font-family: var(--font-sans);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: left;
}
.enterprise-select-trigger:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3);
}
.enterprise-select-trigger:focus,
.enterprise-select-container.is-open .enterprise-select-trigger {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow), 0 4px 16px rgba(0, 0, 0, 0.4);
    background: rgba(15, 23, 42, 1);
}
.enterprise-select-current {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
}
.enterprise-select-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.enterprise-select-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
.enterprise-select-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #f8fafc;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.enterprise-select-sublabel {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.1rem;
}
.enterprise-select-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    flex-shrink: 0;
}
.enterprise-select-chevron {
    color: #94a3b8;
    font-size: 0.85rem;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.enterprise-select-container.is-open .enterprise-select-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}
.enterprise-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: rgba(11, 17, 32, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.4rem;
    box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 120;
    max-height: 320px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s;
}
.enterprise-select-container.is-open .enterprise-select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.enterprise-select-item {
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    border: 1px solid transparent;
    margin-bottom: 2px;
    color: #cbd5e1;
}
.enterprise-select-item:last-child {
    margin-bottom: 0;
}
.enterprise-select-item:hover,
.enterprise-select-item.is-focused {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.08);
}
.enterprise-select-item.is-selected {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    color: #ffffff;
}
.enterprise-select-item.is-selected .enterprise-select-icon {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.4);
}
.enterprise-select-check {
    color: #34d399;
    font-weight: 700;
    font-size: 0.9rem;
    margin-left: auto;
    opacity: 0;
    transform: scale(0.7);
    transition: all 0.15s ease;
    flex-shrink: 0;
}
.enterprise-select-item.is-selected .enterprise-select-check {
    opacity: 1;
    transform: scale(1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    width: 100%;
}
@media (max-width: 992px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.form-options-box {
    display: flex;
    gap: 1.75rem;
    margin: 1.5rem 0;
    padding: 1.15rem 1.25rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    flex-wrap: wrap;
    align-items: center;
}

.form-actions-box {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1.5rem;
}

/* Modern File Dropzone */
.upload-dropzone {
    border: 2px dashed rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(15, 23, 42, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
}
.upload-dropzone:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}
.upload-dropzone input[type="file"] {
    display: none;
}
.file-selected-name {
    margin-top: 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--primary);
    font-weight: 600;
}

/* ==========================================================================
   Live Package Upload Progress System (Velora Design)
   ========================================================================== */
.upload-progress-card {
    display: none;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.75), rgba(15, 23, 42, 0.92));
    border: 1px solid rgba(99, 102, 241, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    padding: 1.15rem 1.4rem;
    backdrop-filter: blur(12px);
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    animation: fadeInProgress 0.3s ease;
}

@keyframes fadeInProgress {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.upload-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.upload-progress-status {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: #f8fafc;
}

.upload-pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6366f1;
    box-shadow: 0 0 8px #6366f1;
    display: inline-block;
    animation: pulseUploadDot 1.4s infinite ease-in-out;
}

.upload-pulse-dot.processing {
    background: #f59e0b;
    box-shadow: 0 0 8px #f59e0b;
}

.upload-pulse-dot.success {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

@keyframes pulseUploadDot {
    0%, 100% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
}

.upload-percent-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    font-family: var(--font-mono, monospace);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
    letter-spacing: 0.5px;
}

.upload-percent-badge.complete {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

.upload-progress-track {
    width: 100%;
    height: 14px;
    background: rgba(2, 6, 23, 0.75);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.upload-progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 30%, #06b6d4 70%, #10b981 100%);
    background-size: 200% 100%;
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.6), 0 0 6px rgba(6, 182, 212, 0.4);
    position: relative;
    overflow: hidden;
    transition: width 0.15s ease-out;
    animation: uploadGlowGradient 4s ease infinite;
}

.upload-progress-fill.complete {
    background: linear-gradient(90deg, #10b981, #059669) !important;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.7) !important;
}

.upload-progress-shimmer {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.18) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.18) 50%,
        rgba(255, 255, 255, 0.18) 75%,
        transparent 75%,
        transparent
    );
    background-size: 24px 24px;
    animation: progressStripes 1s linear infinite;
}

@keyframes progressStripes {
    0% { background-position: 0 0; }
    100% { background-position: 24px 0; }
}

@keyframes uploadGlowGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.upload-progress-metrics {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.85rem;
    font-size: 0.8rem;
}

.upload-metric-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.upload-metric-label {
    color: #94a3b8;
}

.upload-metric-val {
    color: #f1f5f9;
    font-weight: 600;
    font-family: var(--font-mono, monospace);
}

/* Backward compatibility for any generic progress-container */
.progress-container {
    display: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    height: 8px;
    overflow: hidden;
    margin-top: 1rem;
}
.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary);
    transition: width 0.3s ease;
}

/* Tables & Table Cards */
.admin-card.has-table {
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.admin-card.has-table .table-responsive {
    margin-bottom: 0;
}

.admin-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}
.admin-table th {
    background: rgba(15, 23, 42, 0.75);
    padding: 0.95rem 1.25rem;
    text-align: left;
    font-size: 0.76rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 700;
}
.admin-table th:first-child,
.admin-table td:first-child {
    padding-left: 1.5rem;
}
.admin-table th:last-child,
.admin-table td:last-child {
    padding-right: 1.5rem;
}
.admin-table td {
    padding: 1.1rem 1.25rem;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    vertical-align: middle;
}
.admin-table tbody tr:last-child td {
    border-bottom: none;
}
.admin-table tr {
    transition: background-color 0.15s ease;
}
.admin-table tr:hover td {
    background: rgba(99, 102, 241, 0.06) !important;
    color: #ffffff !important;
}

.badge-platform {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
}

.release-count-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 6px;
    color: #a5b4fc;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.15s ease;
}
.release-count-link:hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.5);
    color: #ffffff;
    transform: translateY(-1px);
}

.downloads-val {
    font-weight: 700;
    font-family: var(--font-mono, monospace);
    color: #38bdf8;
    font-size: 0.95rem;
}

.table-actions-group {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
}

/* Status Badges */
.badge-status {
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}
.badge-active {
    background: var(--success-light);
    color: var(--success-text);
    border: 1px solid var(--success-border);
}
.badge-inactive {
    background: var(--danger-light);
    color: var(--danger-text);
    border: 1px solid var(--danger-border);
}

/* Channel & Package Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-stable {
    background: var(--success-light);
    color: var(--success-text);
    border: 1px solid var(--success-border);
}
.badge-beta {
    background: var(--warning-light);
    color: var(--warning-text);
    border: 1px solid var(--warning-border);
}
.badge-nightly {
    background: var(--purple-light);
    color: var(--purple-text);
    border: 1px solid var(--purple-border);
}
.badge-pkg-installer {
    background: var(--cyan-light);
    color: var(--cyan-text);
    border: 1px solid var(--cyan-border);
}
.badge-pkg-portable {
    background: var(--warning-light);
    color: var(--warning-text);
    border: 1px solid var(--warning-border);
}
.badge-pkg-archive {
    background: var(--purple-light);
    color: var(--purple-text);
    border: 1px solid var(--purple-border);
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.alert-success {
    background: var(--success-light);
    border: 1px solid var(--success-border);
    color: var(--success-text);
}
.alert-danger {
    background: var(--danger-light);
    border: 1px solid var(--danger-border);
    color: var(--danger-text);
}
.alert-info {
    background: var(--primary-light);
    border: 1px solid var(--primary-border);
    color: var(--primary);
}

/* Action Icons */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-icon:hover {
    background: rgba(99, 102, 241, 0.2);
    color: #ffffff;
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-1px);
}
.btn-icon-danger:hover {
    background: var(--danger-light);
    border-color: var(--danger-border);
    color: var(--danger);
}

/* Login Card */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    width: 100%;
}
.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 440px;
    padding: 2.5rem 2.25rem;
    box-shadow: var(--shadow-xl);
}

#togglePasswordBtn:hover {
    color: var(--primary) !important;
    background-color: var(--primary-light) !important;
}

/* ==========================================================================
   Responsive Architecture & Mobile Drawer System
   ========================================================================== */

.mobile-toggle-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(15, 23, 42, 0.85);
    border-radius: var(--radius-sm);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.15s ease;
}
.mobile-toggle-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    color: #ffffff;
    border-color: var(--primary);
}

.sidebar-close-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(15, 23, 42, 0.85);
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    margin-left: auto;
    transition: all 0.15s ease;
}
.sidebar-close-btn:hover {
    color: var(--danger);
    background: var(--danger-light);
    border-color: var(--danger-border);
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11, 17, 32, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 95;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* Global table responsive scroll wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    margin-bottom: 0.5rem;
}

/* Tablet & Mobile Breakpoint (<= 992px) */
@media (max-width: 992px) {
    body.admin-body {
        flex-direction: column;
        overflow-x: hidden;
        width: 100%;
    }

    .mobile-toggle-btn {
        display: inline-flex;
    }

    .sidebar-close-btn {
        display: inline-flex;
    }

    .sidebar-backdrop {
        display: block;
    }

    body.sidebar-open {
        overflow: hidden;
    }

    body.sidebar-open .sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 290px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        z-index: 100;
        transform: translateX(-100%);
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.7);
        background: rgba(11, 17, 32, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-right: 1px solid rgba(255, 255, 255, 0.12);
    }

    body.sidebar-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-main {
        width: 100%;
        min-width: 0;
        margin-left: 0;
        flex: 1;
    }

    .admin-topbar {
        padding: 0 1.25rem;
        height: 60px;
        position: sticky;
        top: 0;
        background: rgba(11, 17, 32, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .topbar-title {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--text-main);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 240px;
    }

    .admin-content {
        padding: 1.25rem 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem 1rem;
    }

    .stat-value {
        font-size: 1.65rem;
    }
}

/* Mobile Devices Breakpoint (<= 768px) */
@media (max-width: 768px) {
    .topbar-title {
        max-width: 160px;
        font-size: 0.95rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .admin-card {
        padding: 1.25rem 1rem;
        border-radius: var(--radius-sm);
    }

    /* Store Links Row on Mobile */
    .store-link-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.65rem !important;
        padding: 0.85rem !important;
    }

    .store-link-row > div {
        flex: 1 1 100% !important;
        width: 100% !important;
    }

    .store-link-row .remove-store-link-btn {
        width: 100% !important;
        margin-top: 0.25rem;
    }

    /* Cards Header Flex (titles and action buttons) */
    .card-header-flex {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.85rem;
    }

    .card-header-flex .btn {
        width: 100%;
        justify-content: center;
    }

    /* Action Buttons in Dashboard */
    .quick-actions-bar {
        flex-direction: column;
    }
    
    .quick-actions-bar .btn {
        width: 100%;
    }

    /* Database Switcher Grid */
    .db-compare-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Releases Table Controls */
    .admin-table th,
    .admin-table td {
        padding: 0.65rem 0.65rem;
        font-size: 0.82rem;
    }

    .login-container {
        padding: 1rem;
    }

    .login-card {
        padding: 1.75rem 1.25rem;
    }
}

/* Extra Small Mobile (<= 640px) */
@media (max-width: 640px) {
    .kpi-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .kpi-card {
        padding: 0.85rem 0.75rem;
        gap: 0.75rem;
    }

    .kpi-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .kpi-val {
        font-size: 1.45rem;
    }

    .kpi-label {
        font-size: 0.75rem;
    }

    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 0.92rem;
        width: 100%;
    }

    .form-options-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
        padding: 1rem;
    }

    .form-actions-box {
        flex-direction: column;
        width: 100%;
    }

    .form-actions-box .btn {
        width: 100%;
        justify-content: center;
    }

    .upload-dropzone {
        padding: 1.75rem 1rem;
    }

    .enterprise-select-trigger {
        min-height: 44px;
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }

    .enterprise-select-label {
        font-size: 0.88rem;
    }

    .enterprise-select-sublabel {
        font-size: 0.72rem;
    }

    .enterprise-select-badge {
        font-size: 0.65rem;
        padding: 0.18rem 0.4rem;
    }
}

@media (max-width: 380px) {
    .kpi-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Live API Guide Box (Placed at End of Form) - Clean Light Theme
   ========================================================================== */
.live-api-guide-box {
    margin-top: 2rem !important;
    background: rgba(15, 23, 42, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    color: #f8fafc !important;
    box-shadow: var(--shadow-sm) !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    backdrop-filter: blur(16px);
}

.guide-endpoint-row {
    margin-bottom: 1rem;
    background: rgba(7, 11, 20, 0.6) !important;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    word-break: break-all;
    min-width: 0;
}

.guide-endpoint-row:last-child {
    margin-bottom: 0;
}

.copy-guide-btn {
    transition: all 0.15s ease;
    cursor: pointer;
}

.copy-guide-btn:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .live-api-guide-box {
        padding: 1rem !important;
        margin-top: 1.5rem !important;
    }

    .guide-endpoint-row {
        padding: 0.75rem !important;
    }
}

/* ==========================================================================
   Piedev Toast Notification System & Offline Connection Banner (Admin)
   ========================================================================== */
#piedev-toast-container {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-width: 400px;
    width: calc(100vw - 2.5rem);
    pointer-events: none;
}

.piedev-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    color: #f8fafc;
    font-size: 0.9rem;
    line-height: 1.45;
    backdrop-filter: blur(16px);
    animation: toastSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.2s ease;
}

.piedev-toast.toast-hiding {
    animation: toastSlideOut 0.25s ease forwards;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.96);
    }
}

.piedev-toast-icon {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.piedev-toast-content {
    flex: 1;
    min-width: 0;
}

.piedev-toast-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 0.15rem;
}

.piedev-toast-message {
    font-size: 0.84rem;
    color: #cbd5e1;
}

.piedev-toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0;
    margin-left: 0.25rem;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.piedev-toast-close:hover {
    color: #ffffff;
}

.piedev-toast.toast-success {
    border-left: 4px solid #10b981;
}

.piedev-toast.toast-error {
    border-left: 4px solid #ef4444;
}

.piedev-toast.toast-warning {
    border-left: 4px solid #f59e0b;
}

.piedev-toast.toast-info {
    border-left: 4px solid #3b82f6;
}

/* Offline Banner */
#piedev-offline-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99998;
    background: #0f172a;
    color: #ffffff;
    padding: 0.65rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.86rem;
    font-weight: 600;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    display: none;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

#piedev-offline-banner.banner-visible {
    display: flex;
    animation: toastSlideIn 0.3s ease forwards;
}

#piedev-offline-banner.banner-online {
    background: #059669;
}

/* Velora Click Ripple Wave Effect */
.btn, .btn-primary, .btn-secondary, .btn-copy, .btn-icon, .nav-item {
    position: relative;
    overflow: hidden;
}
.velora-ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(99, 102, 241, 0.25) 60%, transparent 100%);
    pointer-events: none;
    transform: scale(0);
    z-index: 10;
}

/* Professional Flat Card States (No 3D Tilt) */
.admin-card {
    transform: none;
}

/* Button Shimmer Sweep Effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: rotate(25deg) translate(-100%, -100%);
    transition: transform 0.75s ease;
}
.btn-primary:hover::after {
    transform: rotate(25deg) translate(100%, 100%);
}
