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

body {
    font-family: 'Inter', sans-serif;
    background: #f3f4f6;
}

.app-wrapper {
    display: flex;
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background: white;
    height: 100vh;
    position: fixed;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
    z-index: 100;
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid #edf2f7;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #4f46e5;
}

.logo i {
    font-size: 28px;
}

.nav-menu {
    padding: 20px 0;
}

.nav-item, .submenu-item {
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    text-decoration: none;
}

.nav-item:hover, .submenu-item:hover {
    background: #f8f9ff;
    color: #4f46e5;
}

.nav-item.active {
    background: #f0f4ff;
    color: #4f46e5;
    border-left: 4px solid #4f46e5;
}

.submenu {
    margin-left: 35px;
    display: none;
}

.submenu.show {
    display: block;
}

.submenu-item {
    padding: 10px 24px;
    font-size: 14px;
}

.nav-item.has-submenu::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 24px;
    transition: transform 0.3s;
}

.nav-item.has-submenu.open::after {
    transform: rotate(180deg);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 30px;
}

/* Top Bar */
.top-bar {
    background: white;
    padding: 15px 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.page-title h1 {
    font-size: 24px;
    color: #1e293b;
}

.page-title p {
    color: #64748b;
    font-size: 14px;
    margin-top: 5px;
}

.quick-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.notification {
    position: relative;
    cursor: pointer;
}

.notification i {
    font-size: 20px;
    color: #4a5568;
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.admin-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-info h3 {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 8px;
}

.card-info .number {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
}

.trend {
    font-size: 12px;
}

.trend.positive {
    color: #10b981;
}

.trend.negative {
    color: #ef4444;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon.blue {
    background: #f0f4ff;
    color: #4f46e5;
}

.card-icon.green {
    background: #e0f2e9;
    color: #10b981;
}

.card-icon.purple {
    background: #f3e8ff;
    color: #8b5cf6;
}

.card-icon.orange {
    background: #fff4e6;
    color: #f97316;
}

.card-icon i {
    font-size: 28px;
}

/* Two Column Grid */
.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

/* Content Sections */
.content-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 18px;
    color: #1e293b;
    font-weight: 600;
}

.view-all {
    color: #4f46e5;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Activity List */
.activity-list, .review-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item, .review-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.3s;
}

.activity-item:hover, .review-item:hover {
    background: #f8fafc;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon.blue {
    background: #f0f4ff;
    color: #4f46e5;
}

.activity-icon.green {
    background: #e0f2e9;
    color: #10b981;
}

.activity-icon.purple {
    background: #f3e8ff;
    color: #8b5cf6;
}

.activity-details p {
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 3px;
}

.activity-time {
    font-size: 12px;
    color: #94a3b8;
}

/* Review Item */
.reviewer-info {
    flex: 1;
}

.reviewer-info strong {
    color: #1e293b;
    font-size: 14px;
}

.rating {
    color: #fbbf24;
    font-size: 12px;
    margin-top: 3px;
}

.review-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.action-btn.approve {
    background: #dcfce7;
    color: #166534;
}

.action-btn.approve:hover {
    background: #bbf7d0;
}

.action-btn.reject {
    background: #fee2e2;
    color: #991b1b;
}

.action-btn.reject:hover {
    background: #fecaca;
}

/* Quick Actions Grid */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.quick-action-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #1e293b;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.quick-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background: #4f46e5;
    color: white;
}

.quick-action-card i {
    font-size: 24px;
    color: #4f46e5;
}

.quick-action-card:hover i {
    color: white;
}

.quick-action-card span {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 12px 16px;
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 14px;
}

.status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.status.active {
    background: #dcfce7;
    color: #166534;
}

.status.pending {
    background: #fff3cd;
    color: #856404;
}

.status.completed {
    background: #dbeafe;
    color: #1e40af;
}

/* Buttons */
.btn-primary {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
    text-decoration: none;
}

.btn-primary:hover {
    background: #4338ca;
}

.btn-secondary {
    background: #f1f5f9;
    color: #1e293b;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
}

.filter-select {
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    min-width: 150px;
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        width: 80px;
    }
    .sidebar .logo span,
    .sidebar .nav-item span,
    .sidebar .submenu-item span {
        display: none;
    }
    .main-content {
        margin-left: 80px;
    }
    .two-column-grid {
        grid-template-columns: 1fr;
    }
}