/**
 * Royal Wave Journey - Admin Dashboard CSS
 */

:root {
    --admin-primary: #0056b3;
    --admin-sidebar-bg: #091e3e;
    --admin-sidebar-hover: #112e5a;
    --admin-sidebar-active: #00a8cc;
    --admin-body-bg: #f4f6fa;
    --admin-card-bg: #ffffff;
    --admin-text-dark: #1e293b;
    --admin-text-muted: #64748b;
}

body.admin-body {
    font-family: 'Inter', sans-serif;
    background-color: var(--admin-body-bg);
    color: var(--admin-text-dark);
    margin: 0;
    padding: 0;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
    width: 260px;
    background: var(--admin-sidebar-bg);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.admin-brand {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00a8cc;
}

.admin-nav {
    list-style: none;
    padding: 15px 10px;
    margin: 0;
    flex-grow: 1;
}

.admin-nav-item {
    margin-bottom: 4px;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.admin-nav-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.admin-nav-link:hover {
    background: var(--admin-sidebar-hover);
    color: #ffffff;
}

.admin-nav-link.active {
    background: linear-gradient(90deg, #0056b3, #00a8cc);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 168, 204, 0.3);
}

/* Content Area */
.admin-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-topbar {
    background: #ffffff;
    height: 65px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
}

.admin-content {
    padding: 25px;
    flex-grow: 1;
}

/* Stat Cards */
.admin-stat-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.2s ease;
}
.admin-stat-card:hover {
    transform: translateY(-3px);
}
.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.stat-primary .stat-icon { background: #e0f2fe; color: #0284c7; }
.stat-success .stat-icon { background: #dcfce7; color: #16a34a; }
.stat-warning .stat-icon { background: #fef3c7; color: #d97706; }
.stat-danger .stat-icon { background: #fee2e2; color: #dc2626; }

@media (max-width: 991.98px) {
    .admin-sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        bottom: 0;
    }
    .admin-sidebar.show {
        left: 0;
    }
}
