.admin {
    font-family: 'Inter', 'Poppins', 'Montserrat', sans-serif;
}

.admin .admin-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #f3e8ff 100%);
    min-height: 100vh;
}

.admin .sidebar {
    background: #fff;
    border-right: 1px solid #ece9fe;
    box-shadow: 4px 0 24px 0 rgba(236, 72, 153, 0.04);
    border-radius: 0;
    min-width: 240px;
    height: 100vh;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 20;
    gap: 2.5rem;
}

.admin .sidebar-brand {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding-left: 1.5rem;
}

.admin .sidebar-divider {
    height: 2px;
    background: linear-gradient(90deg, #f9a8d4 0%, #818cf8 100%);
    opacity: 0.12;
    border: none;
    margin: 1.2rem 0 2.2rem 0;
    border-radius: 1em;
}

.admin .sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25em;
    margin-bottom: 3em;
    width: 100%;
    padding: 0 0.5rem;
    align-items: center;
}

.admin .sidebar-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.1em;
    padding: 0.6em 1.2em;
    border-radius: 1em;
    font-size: 1.08em;
    font-weight: 600;
    color: #6366f1;
    position: relative;
    transition: all 0.18s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    outline: none;
    border: none;
    background: none;
    min-height: 40px;
    margin: 0.05em 0;
    width: 100%;
    text-align: left;
}

.admin .sidebar-link .sidebar-icon,
.admin .sidebar-link svg {
    width: 1.5em;
    height: 1.5em;
    margin: 0 0.5em 0 0;
    vertical-align: middle;
}

.admin .sidebar-link.active,
.admin .sidebar-link:focus,
.admin .sidebar-link:hover {
    background: linear-gradient(90deg, #f3e8ff 0%, #e0e7ff 100%);
    color: #6366f1;
    box-shadow: 0 2px 8px 0 rgba(129, 140, 248, 0.08);
    transform: translateY(-2px) scale(1.03);
}

.admin .sidebar-link:active {
    filter: brightness(0.98);
}

.admin .sidebar-link:last-child {
    margin-top: 3em;
    color: #a1a1aa;
    font-weight: 700;
}

.admin .sidebar-link:last-child:hover {
    background: linear-gradient(90deg, #fee2e2 0%, #fca5a5 100%);
    color: #b91c1c !important;
}

.admin .sidebar-cta {
    margin: 3em 1.5em 0 1.5em;
    background: linear-gradient(90deg, #f9a8d4 0%, #818cf8 100%);
    color: #fff;
    border-radius: 1.2em;
    box-shadow: 0 2px 8px 0 rgba(236, 72, 153, 0.10);
    padding: 1.5em 1.2em;
    text-align: center;
    font-size: 1.05em;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9em;
}

.admin .sidebar-cta-btn {
    background: #fff;
    color: #ba1c5a;
    border-radius: 9999px;
    font-weight: 700;
    padding: 0.6em 1.4em;
    margin-top: 0.7em;
    font-size: 1em;
    box-shadow: 0 1px 4px 0 rgba(236, 72, 153, 0.08);
    transition: background 0.18s, color 0.18s;
    border: none;
    cursor: pointer;
}

.admin .sidebar-cta-btn:hover {
    background: #f9a8d4;
    color: #fff;
}

@media (max-width: 768px) {
    .admin .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 100vw;
        z-index: 40;
        transform: translateX(-100%);
        transition: transform 0.3s;
        border-radius: 0;
        min-width: 0;
        padding: 2.5rem 0.5rem;
        gap: 2rem;
    }

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

.admin .navbar-blur {
    backdrop-filter: blur(8px);
    background: #fff;
    box-shadow: 0 4px 24px 0 rgba(236, 72, 153, 0.08);
    border-radius: 0 0 1.2em 1.2em;
    font-size: 1.1rem;
}

.admin .navbar-blur .text-lg.font-bold {
    font-size: 1.5rem;
    font-weight: 900;
}

.admin .main-card {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 12px 40px 0 rgba(236, 72, 153, 0.13);
    padding: 2.5rem 2rem;
    margin: 1.5rem auto;
    border: 1px solid #f3e8ff;
    max-width: 1200px;
}

.admin .action-btn {
    @apply px-3 py-1 rounded-xl text-xs font-bold shadow-sm transition transform hover:scale-105 focus:scale-105 focus:outline-none;
    transition: all 0.15s cubic-bezier(.4,0,.2,1);
}

.admin .dropdown-anim {
    transition: transform 0.2s cubic-bezier(.4,0,.2,1), opacity 0.2s;
    transform: translateY(-8px) scale(0.98);
    opacity: 0;
    pointer-events: none;
}

.admin .dropdown-anim.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.admin .avatar-hover:hover,
.admin .avatar-hover:focus {
    box-shadow: 0 0 0 3px #f9a8d4;
    cursor: pointer;
}

.admin .table-divider th {
    border-bottom: 2px solid #fbcfe8;
    font-size: 1.1em;
    font-weight: 800;
}

.admin .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    font-weight: 700;
    font-size: 0.85em;
    border-radius: 9999px;
    padding: 0.25em 0.75em;
}

.admin .status-pending {
    background: #fef3c7;
    color: #b45309;
}
.admin .status-approved {
    background: #d1fae5;
    color: #047857;
}
.admin .status-rejected {
    background: #fee2e2;
    color: #b91c1c;
}
.admin .status-pending svg {
    color: #fbbf24;
}
.admin .status-approved svg {
    color: #22c55e;
}
.admin .status-rejected svg {
    color: #ef4444;
}

.admin .tooltip {
    position: absolute;
    z-index: 50;
    left: 50%;
    transform: translateX(-50%);
    bottom: 110%;
    background: #fff;
    color: #ba1c5a;
    font-size: 0.75em;
    padding: 0.4em 0.8em;
    border-radius: 0.5em;
    box-shadow: 0 2px 8px 0 rgba(236, 72, 153, 0.08);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
    white-space: nowrap;
    margin-bottom: 0.3em;
}

.admin .action-btn:hover,
.admin .action-btn:focus {
    filter: brightness(0.92);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.12);
    transform: scale(1.08);
}
.admin .action-btn:hover .tooltip,
.admin .action-btn:focus .tooltip {
    opacity: 1;
    pointer-events: auto;
}

.admin #dropdownChevron {
    transition: transform 0.2s cubic-bezier(.4,0,.2,1);
}

.admin #restaurantSwitcherBtn.open #dropdownChevron {
    transform: rotate(180deg);
}

.admin #adminAvatar {
    border: 2px solid #f3e8ff;
    box-shadow: 0 2px 8px 0 rgba(236, 72, 153, 0.10);
}

@media (max-width: 900px) {
    .admin .main-card {
        overflow-x: auto;
    }
}
@media (max-width: 768px) {
    .admin .main-card {
        margin: 0.5rem;
    }
}

.admin footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
}
.admin footer .footer-logo {
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
}
.admin footer a {
    color: #818cf8;
    text-decoration: underline;
    margin-left: 0.5em;
}
.admin :focus {
    outline: 2px solid #818cf8;
    outline-offset: 2px;
}