/* =============================================
   RJS Prime Construction - Main Stylesheet
   Construction Inventory & Equipment Tracking
   ============================================= */

:root {
    --primary: #472406;
    --primary-dark: #361A04;
    --primary-light: #5C3A1E;
    --gold: #C8922E;
    --gold-light: #E8C56A;
    --gold-dark: #A0701E;
    --dark: #1C1C1E;
    --dark-sidebar: #FFFFFF;
    --dark-hover: #F0EDE8;
    --dark-card: #1C1C1E;
    --white: #ffffff;
    --light-bg: #F7F6F4;
    --text-dark: #2D2D2D;
    --text-muted: #99948D;
    --border-color: #E8E4DE;
    --success: #6B8F5E;
    --danger: #B84A3A;
    --warning: #C8922E;
    --info: #7A9BAE;
    --shadow: 0 1px 4px rgba(0,0,0,0.04);
    --shadow-hover: 0 4px 12px rgba(0,0,0,0.06);
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 14px;
    --transition: all 0.2s ease;
    --sidebar-width: 240px;
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6,
.card-header h5,
.page-title,
.sidebar-brand .brand-text,
.stat-number,
.menu-label {
    font-family: 'Oswald', sans-serif;
}

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--dark-sidebar);
    border-right: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 12px 2px;
    color: var(--text-dark);
    text-align: center;
}

.sidebar-brand .brand-logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    flex-shrink: 0;
    margin-bottom: 2px;
}

.sidebar-brand .brand-text {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.sidebar-brand .brand-sub {
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.sidebar-menu {
    padding: 15px 0;
}

.sidebar-menu .menu-label {
    padding: 16px 20px 6px;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
}

.sidebar-menu .menu-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
    border-left: 3px solid transparent;
    cursor: pointer;
}

.sidebar-menu .menu-item:hover {
    background: var(--dark-hover);
    color: var(--primary);
    border-left-color: var(--primary);
}

.sidebar-menu .menu-item.active {
    background: var(--dark-hover);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
}

.sidebar-menu .menu-item i {
    width: 20px;
    margin-right: 12px;
    font-size: 1rem;
    text-align: center;
    color: var(--text-muted);
}

.sidebar-menu .menu-item:hover i,
.sidebar-menu .menu-item.active i {
    color: var(--primary);
}

.sidebar-menu .menu-item .badge {
    margin-left: auto;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
}

/* =============================================
   MAIN CONTENT
   ============================================= */
.main-content {
    margin-left: calc(var(--sidebar-width) + 1px);
    min-height: 100vh;
    transition: var(--transition);
}

/* =============================================
   TOP NAVBAR
   ============================================= */
.top-navbar {
    background: var(--white);
    padding: 0 30px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.top-navbar .page-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.top-navbar .page-title span {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.85rem;
}

.top-navbar .navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-navbar .notification-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.top-navbar .notification-btn:hover {
    background: var(--light-bg);
    color: var(--primary);
}

.top-navbar .notification-btn .notif-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid var(--white);
}

.top-navbar .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.top-navbar .user-info:hover {
    background: var(--light-bg);
}

.top-navbar .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.top-navbar .user-details .user-name {
    font-size: 0.88rem;
    font-weight: 600;
}

.top-navbar .user-details .user-role {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* =============================================
   PAGE CONTENT
   ============================================= */
.page-content {
    padding: 25px 30px;
}

/* =============================================
   STATS CARDS
   ============================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.stat-card .stat-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.stat-card .stat-icon.orange {
    background: var(--primary);
    color: var(--white);
}

.stat-card .stat-icon.gold {
    background: var(--gold);
    color: var(--white);
}

.stat-card .stat-icon.green {
    background: var(--success);
    color: var(--white);
}

.stat-card .stat-icon.red {
    background: var(--danger);
    color: var(--white);
}

.stat-card .stat-icon.blue {
    background: var(--info);
    color: var(--white);
}

.stat-card .stat-icon.purple {
    background: #8A7A6A;
    color: var(--white);
}

.stat-card .stat-number {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-card .stat-footer {
    margin-top: 10px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.stat-card .stat-footer i {
    margin-right: 4px;
}

.stat-card .stat-bg-icon {
    display: none;
}

/* =============================================
   CARDS
   ============================================= */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    overflow: hidden;
}

.card-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h5 {
    font-size: 1rem;
    font-weight: 600;
}

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

.card-body {
    padding: 22px;
}

/* =============================================
   TABLES
   ============================================= */
.table-responsive {
    overflow-x: auto;
}

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

.table th {
    text-align: left;
    padding: 12px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.table td {
    padding: 12px 15px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background: rgba(71, 36, 6, 0.03);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* =============================================
   BADGES
   ============================================= */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-danger { background: #f8d7da; color: #721c24; }
.badge-info { background: #d1ecf1; color: #0c5460; }
.badge-primary { background: #cce5ff; color: #004085; }
.badge-secondary { background: #e2e3e5; color: #383d41; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: inherit;
}

.btn i {
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 4px 15px rgba(71, 36, 6, 0.3);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-dark), #7A5510);
    box-shadow: 0 4px 15px rgba(200, 146, 46, 0.3);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: #5A7D4E;
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #9A3A2A;
}

.btn-info {
    background: var(--info);
    color: var(--white);
}

.btn-info:hover {
    background: #5A7D91;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(71, 36, 6, 0.05);
}

.btn-sm {
    padding: 5px 12px;
    font-size: 0.78rem;
}

.btn-lg {
    padding: 12px 28px;
    font-size: 1rem;
}

/* =============================================
   FORMS
   ============================================= */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(71, 36, 6, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

select.form-control {
    appearance: auto;
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

/* =============================================
   ALERTS
   ============================================= */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert i {
    font-size: 1.1rem;
}

.alert-success { background: #d4edda; color: #155724; border-left: 4px solid #155724; }
.alert-danger { background: #f8d7da; color: #721c24; border-left: 4px solid #721c24; }
.alert-warning { background: #fff3cd; color: #856404; border-left: 4px solid #856404; }
.alert-info { background: #d1ecf1; color: #0c5460; border-left: 4px solid #0c5460; }

.alert-dismissible {
    position: relative;
    padding-right: 40px;
}

.alert-dismissible .close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.5;
}

.alert-dismissible .close:hover {
    opacity: 1;
}

/* =============================================
   LOGIN PAGE
   ============================================= */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
}

.login-container {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 32px 24px;
    width: 380px;
    max-width: 92%;
    box-shadow: var(--shadow-hover);
}

.login-container .login-logo {
    text-align: center;
    margin-bottom: 16px;
}

.login-container .login-logo .logo-icon {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin: 0 auto 12px;
    display: block;
}

.login-container .login-logo .logo-image {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin: 0 auto 12px;
    display: block;
}

.login-container .login-logo h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.login-container .login-logo p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 2px;
}

.login-container .login-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0 16px;
}

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 550px;
    max-width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h5 {
    font-size: 1.05rem;
    font-weight: 600;
}

.modal-header .modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-header .modal-close:hover {
    color: var(--danger);
}

.modal-body {
    padding: 22px;
}

.modal-footer {
    padding: 15px 22px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* =============================================
   TIMELINE
   ============================================= */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item .timeline-dot {
    position: absolute;
    left: -24px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 3px rgba(71, 36, 6, 0.2);
}

.timeline-item .timeline-dot.success { background: var(--success); box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.2); }
.timeline-item .timeline-dot.danger { background: var(--danger); box-shadow: 0 0 0 3px rgba(225, 112, 85, 0.2); }
.timeline-item .timeline-dot.gold { background: var(--gold); box-shadow: 0 0 0 3px rgba(200, 146, 46, 0.25); }

.timeline-item .timeline-content {
    background: var(--light-bg);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
}

.timeline-item .timeline-content .timeline-title {
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 3px;
}

.timeline-item .timeline-content .timeline-text {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.timeline-item .timeline-content .timeline-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* =============================================
   DETAILS ROW
   ============================================= */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.detail-item {
    padding: 10px 0;
}

.detail-item .detail-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-item .detail-value {
    font-size: 0.95rem;
    font-weight: 500;
}

/* =============================================
   EMPTY STATE
   ============================================= */
.empty-state {
    text-align: center;
    padding: 50px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 15px;
}

.empty-state h4 {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* =============================================
   STOCK ALERT
   ============================================= */
.stock-alert-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.stock-alert-item:last-child {
    border-bottom: none;
}

.stock-alert-item .alert-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff3cd;
    color: #856404;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.stock-alert-item .alert-icon.danger {
    background: #f8d7da;
    color: #721c24;
}

.stock-alert-item .alert-info-text {
    flex: 1;
}

.stock-alert-item .alert-info-text .alert-name {
    font-size: 0.88rem;
    font-weight: 500;
}

.stock-alert-item .alert-info-text .alert-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* =============================================
   SEARCH & FILTERS
   ============================================= */
.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-bar .search-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-family: inherit;
    transition: var(--transition);
}

.search-bar .search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(71, 36, 6, 0.1);
}

/* =============================================
   TOOLTIP
   ============================================= */
.action-btns {
    display: flex;
    gap: 6px;
}

.action-btns .btn-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}

/* =============================================
   TABS
   ============================================= */
.tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
    gap: 0;
    overflow-x: auto;
}

.tab-item {
    padding: 12px 22px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    white-space: nowrap;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: inherit;
}

.tab-item:hover {
    color: var(--primary);
}

.tab-item.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .top-navbar {
        padding: 0 15px;
    }
    
    .page-content {
        padding: 20px 15px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .login-container {
        padding: 30px 20px;
    }
    
    .top-navbar .page-title {
        font-size: 1rem;
    }
    
    .top-navbar .user-details {
        display: none;
    }
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.login-footer small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.demo-info {
    background: #fff3cd;
    border-radius: var(--radius-sm);
    padding: 12px;
    font-size: 0.82rem;
    color: #856404;
    margin-top: 15px;
}

.demo-info strong {
    display: block;
    margin-bottom: 5px;
}

.demo-info code {
    background: rgba(0,0,0,0.05);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.78rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* =============================================
    MOBILE TOGGLE
    ============================================= */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 5px;
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: block;
    }
}

/* =============================================
   PRINT
   ============================================= */
@media print {
    .sidebar,
    .top-navbar,
    .btn,
    .action-btns,
    .no-print {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* =============================================
   MISC
   ============================================= */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-gold { color: var(--gold); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.font-weight-bold { font-weight: 700; }
.font-weight-medium { font-weight: 500; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-10 { margin-bottom: 10px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-10 { gap: 10px; }
.gap-15 { gap: 15px; }
.flex-wrap { flex-wrap: wrap; }
.w-100 { width: 100%; }
.p-0 { padding: 0 !important; }

/* =============================================
   NOTIFICATIONS
   ============================================= */
.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.notif-item:last-child {
    border-bottom: none;
}

.notif-item:hover {
    background: rgba(71, 36, 6, 0.02);
}

.notif-item.notif-unread {
    background: rgba(200, 146, 46, 0.05);
    border-left: 3px solid var(--gold);
}

.notif-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.notif-icon.success {
    background: #d4edda;
    color: #155724;
}

.notif-icon.danger {
    background: #f8d7da;
    color: #721c24;
}

.notif-icon.info {
    background: #d1ecf1;
    color: #0c5460;
}

.notif-info {
    flex: 1;
    min-width: 0;
}

.notif-name {
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 2px;
}

.notif-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

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

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}
