@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-main: #06060A; /* Deep dark background */
    --bg-sidebar: rgba(16, 17, 26, 0.6);
    --bg-card: rgba(25, 26, 38, 0.4);
    --bg-hover: rgba(255, 255, 255, 0.05);
    
    --border-light: rgba(255, 255, 255, 0.06);
    
    --text-main: #F8F8F9;
    --text-muted: #9CA3AF;
    
    --accent-gradient: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    --accent-glow: rgba(14, 165, 233, 0.2);
    
    --purple: #3b82f6;
    --orange: #0ea5e9;
    --blue: #0ea5e9;
    --green: #10b981;
    --red: #ef4444;
    
    --purple-gradient: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
    --green-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --red-gradient: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(14, 165, 233, 0.03), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(37, 99, 235, 0.03), transparent 25%);
    color: var(--text-main);
    display: flex;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Base Utility Classes */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--bg-sidebar);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
    padding: 2rem 1.5rem;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.sidebar-header img {
    height: 40px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
}

.sidebar-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.sidebar-menu {
    list-style: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.2rem;
    color: var(--text-muted);
    border-radius: 14px;
    transition: var(--transition);
    font-weight: 500;
}

.sidebar-menu li a i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    opacity: 0.7;
    transition: var(--transition);
}

.sidebar-menu li:hover a {
    color: var(--text-main);
    background: var(--bg-hover);
}

.sidebar-menu li:hover a i {
    opacity: 1;
    color: var(--orange);
}

.sidebar-menu li.active a {
    color: white;
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.15) 0%, transparent 100%);
    border-left: 3px solid var(--orange);
    border-radius: 4px 14px 14px 4px;
}

.sidebar-menu li.active a i {
    color: var(--orange);
    opacity: 1;
}

/* Sidebar Badges */
.sidebar-badge {
    margin-left: auto;
    background: var(--red);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0 4px;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.back-site {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    padding: 1rem;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.back-site:hover {
    background: var(--bg-hover);
    color: white;
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    flex-grow: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
}

/* Topbar */
.topbar {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    background: linear-gradient(to bottom, rgba(6, 6, 10, 0.9) 0%, transparent 100%);
    position: sticky;
    top: 0;
    z-index: 90;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    width: 350px;
    transition: var(--transition);
}

.search-bar:focus-within {
    border-color: rgba(14, 165, 233, 0.5);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.1);
}

.search-bar input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.notif-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
}

.notif-btn:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent-gradient);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--bg-main);
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.03);
    padding: 0.4rem 1.2rem 0.4rem 0.4rem;
    border: 1px solid var(--border-light);
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
}

.admin-profile:hover {
    background: rgba(255,255,255,0.08);
}

.admin-profile img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.admin-profile span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Dashboard Content */
.dashboard-content {
    padding: 2rem 3rem 4rem;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.page-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.3rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    padding: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.stat-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: relative;
    overflow: hidden;
}

.stat-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: currentColor;
    opacity: 0.15;
}

.stat-icon.purple { color: var(--purple); }
.stat-icon.orange { color: var(--orange); }
.stat-icon.blue { color: var(--blue); }
.stat-icon.green { color: var(--green); }

.stat-info h3 {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.stat-info p {
    font-size: 2rem;
    font-weight: 800;
}

/* Dashboard Panels Layout */
.dashboard-panels {
    display: grid;
    grid-template-columns: 7fr 4fr;
    gap: 2rem;
}

.panel {
    padding: 2rem;
    height: 100%;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.panel-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
}

/* Elegant Buttons inside dashboards */
.btn-small {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    color: white;
    border: 1px solid rgba(14, 165, 233, 0.3);
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-small:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
    transform: translateY(-2px);
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.15);
}

.btn-icon {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.btn-icon.delete:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--red);
    border-color: rgba(239, 68, 68, 0.3);
}

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

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.8rem;
}

.admin-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 1rem 0.5rem;
    text-align: left;
}

.admin-table td {
    background: rgba(255,255,255,0.02);
    padding: 1.2rem 1rem;
}

.admin-table tr td:first-child { border-radius: 12px 0 0 12px; }
.admin-table tr td:last-child { border-radius: 0 12px 12px 0; }

.admin-table tr:hover td {
    background: rgba(255,255,255,0.05);
}

.table-title {
    font-weight: 600;
    color: white;
}

/* Form Styling */
.admin-form .form-group {
    margin-bottom: 1.5rem;
}

.admin-form label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05); /* Lighter glass effect */
    border: 1px solid var(--border-light);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 15px; /* More rounded */
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(255,255,255,0.4)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.1em;
    padding-right: 3rem;
}

.form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

/* Checkbox Toggle Styling */
.admin-form .form-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 45px;
    height: 22px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.admin-form .form-group input[type="checkbox"]::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: var(--transition);
}

.admin-form .form-group input[type="checkbox"]:checked {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--green);
}

.admin-form .form-group input[type="checkbox"]:checked::before {
    left: calc(100% - 18px);
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 3px solid var(--bg-main);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange);
}

.form-control option { background: var(--bg-main); color: white;}

.submit-btn {
    width: 100%;
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    margin-top: 1rem;
    box-shadow: 0 10px 25px var(--accent-glow);
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--accent-glow);
}

/* Status Tags */
.status-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- Professional Progress Bar --- */
.progress-container {
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    position: relative;
}

.progress-bar {
    height: 100%;
    background: var(--accent-gradient);
    box-shadow: 0 0 15px var(--accent-glow);
    position: relative;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50px;
}

/* Animated Shimmer Effect */
.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
}

/* Glowing Tip */
.progress-bar-glow {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 30px;
    background: white;
    filter: blur(10px);
    opacity: 0.6;
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.4; transform: scaleX(1); }
    50% { opacity: 0.8; transform: scaleX(1.5); }
}

.status-tag.active, .status-tag.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-tag.active::before, .status-tag.success::before {
    content: ''; width: 6px; height: 6px; background: currentColor; border-radius: 50%;
}

.status-tag.pending {
    background: rgba(14, 165, 233, 0.1);
    color: var(--orange);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

/* Dashboard Sections */
.dashboard-section {
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}


.dashboard-section[style*="display: none"] {
    opacity: 0;
    pointer-events: none;
}

.dashboard-section[style*="display: block"] {
    opacity: 1;
}

/* Responsiveness */
@media (max-width: 1200px) {
    .dashboard-panels {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 992px) {
    .sidebar { transform: translateX(-100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
    .sidebar.active { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .mobile-toggle { display: flex; }
    
    .topbar { padding: 0 1.5rem; height: 80px; }
    .dashboard-content { padding: 1.5rem; }
    .page-title { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    .topbar-right { gap: 1rem; }
    .search-bar { display: none; } /* Hide search on very small screens or make it an icon */
    .admin-profile span { display: none; } /* Hide name on mobile */
    .admin-profile { padding: 0.3rem; border-radius: 50%; }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .btn-small {
        width: 100%;
        justify-content: center;
    }

    /* Table Responsiveness */
    .admin-table thead {
        display: none; /* Hide headers on mobile */
    }
    
    .admin-table, .admin-table tbody, .admin-table tr, .admin-table td {
        display: block;
        width: 100%;
    }
    
    .admin-table tr {
        margin-bottom: 1rem;
        background: rgba(255,255,255,0.02);
        border: 1px solid var(--border-light);
        border-radius: 15px;
        padding: 1rem;
    }
    
    .admin-table td {
        background: transparent !important;
        padding: 0.5rem 0;
        border: none !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
    }
    
    .admin-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted);
        text-align: left;
        margin-right: 1rem;
    }
    
    .admin-table tr td:first-child, .admin-table tr td:last-child {
        border-radius: 0;
    }

    .project-card-mobile {
        background: var(--bg-card);
        border-radius: 20px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border: 1px solid var(--border-light);
    }
    
    #projectSelectorWrapper {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        width: 100%;
    }
    
    #projectSelector {
        min-width: 100% !important;
    }
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    width: 500px;
    max-width: 90%;
    padding: 2.5rem;
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.8) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}
/* Notifications Dropdown */
.notif-wrapper {
    position: relative;
}

.notif-dropdown {
    position: absolute;
    top: 130%;
    right: 0;
    width: 350px;
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    overflow: hidden;
}

.notif-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notif-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notif-header h3 {
    font-size: 1rem;
    font-weight: 700;
}

.notif-header button {
    background: transparent;
    border: none;
    color: var(--orange);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.notif-list {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.notif-item {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    gap: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.notif-item:hover {
    background: var(--bg-hover);
}

.notif-item.unread {
    background: rgba(14, 165, 233, 0.05);
}

.notif-item.unread::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.notif-content {
    flex-grow: 1;
}

.notif-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.2rem;
}

.notif-content span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.notif-empty {
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
}

.notif-empty i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.3;
}

/* Activity Feed Styles */
.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.activity-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.activity-content {
    flex-grow: 1;
}

.activity-content p {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    line-height: 1.4;
}

.activity-content span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.gallery-item-admin {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    aspect-ratio: 1;
}

.gallery-item-admin img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item-admin:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    border-color: var(--orange);
}

.file-upload-wrapper {
    transition: var(--transition);
    border: 2px dashed var(--border-light);
    padding: 2.5rem;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
}

.file-upload-wrapper:hover {
    border-color: var(--orange) !important;
    background: rgba(14, 165, 233, 0.05);
}

.log-tag {
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}
.log-tag.security { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.log-tag.admin { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.log-tag.auth { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.log-tag.system { background: rgba(14, 165, 233, 0.1); color: #0ea5e9; }

.log-tag.system { background: rgba(14, 165, 233, 0.1); color: #0ea5e9; }
