/**
 * PT. SBC Asia Sertifikasi - Sistem Manajemen Keuangan
 * Custom CSS - Tema Alam Elegan
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Root Variables */
:root {
    --primary-color: #2d5f3f;
    --secondary-color: #7fa99b;
    --accent-color: #d4a574;
    --bg-color: #f8f9fa;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: #333;
}

/* Login Page */
.login-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #2d5f3f 0%, #7fa99b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
    width: 100%;
    max-width: 450px;
}

.login-logo {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    padding: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-logo .logo-img {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    object-fit: contain !important;
    border-radius: 50%;
    display: block;
}

.login-title {
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

.login-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.btn-primary-custom {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 12px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    width: 100%;
}

.btn-primary-custom:hover {
    background: #1e3f2a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 95, 63, 0.3);
}

/* Dashboard Layout */
.wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, var(--primary-color) 0%, #1e3f2a 100%);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: var(--transition);
    z-index: 1000;
}

/* Sidebar collapsed (desktop) */
.sidebar.collapsed {
    width: 70px;
}

.sidebar.collapsed .sidebar-logo h4,
.sidebar.collapsed .sidebar-logo small,
.sidebar.collapsed .sidebar-menu a span {
    display: none;
}

.sidebar.collapsed .sidebar-menu a {
    padding-left: 20px;
    padding-right: 20px;
    justify-content: center;
}

.sidebar-logo {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sidebar-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.sidebar-logo h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.sidebar-menu {
    list-style: none;
    padding: 20px 0;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: var(--accent-color);
}

.sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-left-color: var(--accent-color);
}

.sidebar-menu i {
    width: 25px;
    margin-right: 15px;
    font-size: 18px;
}

/* Main Content */
.main-content {
    margin-left: 260px;
    flex: 1;
    background: #f8f9fa;
    min-height: 100vh;
}

.main-content.collapsed {
    margin-left: 70px;
}

/* Header */
.header {
    background: white;
    padding: 25px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #e5e7eb;
}

.header-title h2 {
    color: var(--primary-color);
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-notifications {
    position: relative;
}

/* Notification icon and badge styles moved to enhanced styles below */

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.user-details h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Content Area */
.content {
    padding: 35px 40px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: #f8f9fa;
    min-height: calc(100vh - 80px);
}

/* Section spacing */
.content > .row {
    margin-bottom: 30px;
}

.content > div[id] {
    margin-bottom: 40px;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for sticky header */
}

/* Cards */
.card-custom {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-custom:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

/* Form Cards */
.form-card {
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    height: 100%;
}

.form-card:hover {
    border-color: var(--primary-color);
}

.form-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.icon-green { background: linear-gradient(135deg, #28a745, #20c997); }
.icon-blue { background: linear-gradient(135deg, #007bff, #17a2b8); }
.icon-orange { background: linear-gradient(135deg, #fd7e14, #ffc107); }
.icon-purple { background: linear-gradient(135deg, #6f42c1, #e83e8c); }

.form-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
}

.form-card p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Statistics Cards */
.stat-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
    border-color: rgba(45, 95, 63, 0.2);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.stat-info {
    flex: 1;
    min-width: 0;
}

.stat-info h3 {
    margin: 0 0 8px 0;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.stat-info p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Table */
.table-custom {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.table-custom table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.table-custom thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3f2a 100%);
    color: white;
}

.table-custom thead th {
    padding: 18px 20px;
    font-weight: 600;
    text-align: left;
    border: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.table-custom tbody td {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    color: #374151;
    font-size: 14px;
}

.table-custom tbody tr {
    transition: all 0.2s ease;
}

.table-custom tbody tr:last-child td {
    border-bottom: none;
}

.table-custom tbody tr:hover {
    background: #f9fafb;
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Responsive table wrapper */
@media (max-width: 1200px) {
    .table-custom {
        overflow-x: auto;
    }
    
    .table-custom table {
        min-width: 900px;
    }
}

/* Buttons */
.btn-custom {
    padding: 10px 20px;
    border-radius: var(--border-radius);
    border: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-success-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3f2a 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(45, 95, 63, 0.3);
}

.btn-success-custom:hover {
    background: linear-gradient(135deg, #1e3f2a 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 95, 63, 0.4);
    color: white;
}

.btn-info-custom {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-info-custom:hover {
    background: #138496;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.3);
    color: white;
}

.btn-warning-custom {
    background: #ffc107;
    color: #333;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-warning-custom:hover {
    background: #e0a800;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
    color: #333;
}

.btn-danger-custom {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-danger-custom:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
    color: white;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-control-custom {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 95, 63, 0.1);
}

/* Modal */
.modal-custom .modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-custom .modal-header {
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    border: none;
}

.modal-custom .modal-header .btn-close {
    filter: brightness(0) invert(1);
}

/* Loading Spinner */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Alert Messages */
.alert-custom {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        margin-left: -260px;
    }
    
    .sidebar.active {
        margin-left: 0;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .header {
        padding: 15px;
    }
    
    .content {
        padding: 15px;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Footer */
.footer {
    background: white;
    padding: 20px 30px;
    text-align: center;
    color: #666;
    font-size: 14px;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
}

/* File Upload Preview */
.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.file-preview-item {
    position: relative;
    padding: 10px 15px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-preview-remove {
    cursor: pointer;
    color: #dc3545;
    font-weight: bold;
}

/* Dynamic Item Rows */
.dynamic-items {
    margin-bottom: 15px;
}

.item-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: start;
}

.item-row .form-control-custom {
    flex: 1;
}

.lampiran-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.lampiran-row .form-control-custom {
    flex: 1;
}

.item-remove {
    padding: 12px 15px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.item-add {
    background: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.item-add:hover {
    background: var(--primary-color);
}

/* Anchor target offset for sticky header */
[id] {
    scroll-margin-top: 100px;
}

/* Ensure sections have proper spacing */
.mb-4 {
    margin-bottom: 2rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

/* Fix row spacing */
.row {
    margin-left: -15px;
    margin-right: -15px;
}

.row > * {
    padding-left: 15px;
    padding-right: 15px;
}

/* Section headings */
h4 {
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content h4 i {
    font-size: 20px;
    opacity: 0.9;
}

/* Ensure proper Bootstrap grid */
.col-md-3, .col-md-4, .col-md-6, .col-md-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Timeline styles for form review modals */
.timeline {
    padding: 20px 0;
}

.timeline-item {
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: #e9ecef;
    transform: translateX(3px);
}

.timeline-item i {
    margin-right: 10px;
}

.timeline-item small {
    display: block;
    margin-top: 5px;
    color: #6c757d;
    font-size: 12px;
}

/* ============================================
   NOTIFICATION POPUP STYLES - Enhanced Design
   ============================================ */

/* Notification Icon Animation */
.notification-icon {
    font-size: 22px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    padding: 8px;
    border-radius: 50%;
}

.notification-icon:hover {
    color: var(--primary-color);
    background: rgba(45, 95, 63, 0.1);
    transform: scale(1.1);
}

.notification-icon.active {
    animation: bellShake 0.5s ease;
}

@keyframes bellShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: linear-gradient(135deg, #dc3545, #ff6b7a);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Enhanced Dropdown Menu */
.header-notifications .dropdown-menu {
    min-width: 380px !important;
    max-width: calc(100vw - 40px) !important;
    max-height: 500px !important;
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
    padding: 0 !important;
    margin-top: 15px !important;
    margin-right: 20px !important;
    right: 0 !important;
    left: auto !important;
    transform: translateX(0) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: none !important;
    flex-direction: column !important;
    position: absolute !important;
}

.header-notifications .dropdown-menu.show {
    display: flex !important;
    animation: slideDown 0.3s ease;
}

.btn-close-notif:hover {
    opacity: 1 !important;
}

/* Ensure dropdown stays within viewport on mobile */
@media (max-width: 768px) {
    .header-notifications .dropdown-menu {
        right: 20px !important;
        left: 20px !important;
        max-width: calc(100vw - 40px) !important;
        min-width: auto !important;
        transform: none !important;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-notifications .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 30px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

/* Dropdown Header */
.header-notifications .dropdown-header {
    background: linear-gradient(135deg, var(--primary-color), #1e3f2a);
    color: white !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border: none !important;
}

.header-notifications .dropdown-header i {
    font-size: 18px;
    margin-right: 10px;
}

/* Notification Items Container */
.header-notifications .dropdown-menu > li:not(:first-child):not(:last-child) {
    padding: 0 !important;
}

.header-notifications .dropdown-divider {
    margin: 0 !important;
    border-top: 1px solid #e9ecef !important;
}

/* Individual Notification Item */
.header-notifications .dropdown-item {
    padding: 15px 20px !important;
    border-bottom: 1px solid #f5f5f5 !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
    position: relative;
}

.header-notifications .dropdown-item:last-child {
    border-bottom: none !important;
}

.header-notifications .dropdown-item:hover {
    background: linear-gradient(90deg, rgba(45, 95, 63, 0.05), rgba(45, 95, 63, 0.02)) !important;
    padding-left: 25px !important;
    transform: translateX(3px);
}

.header-notifications .dropdown-item.fw-bold {
    background: linear-gradient(90deg, rgba(45, 95, 63, 0.08), rgba(45, 95, 63, 0.03));
}

.header-notifications .dropdown-item.fw-bold::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
}

.header-notifications .dropdown-item p {
    margin: 0 !important;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.header-notifications .dropdown-item small {
    display: block;
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

/* Empty State */
.header-notifications .dropdown-item.text-muted {
    text-align: center !important;
    padding: 30px 20px !important;
    color: #999 !important;
    font-style: italic;
}

.header-notifications .dropdown-item.text-muted:hover {
    background: none !important;
    padding-left: 20px !important;
    transform: none;
}

/* Footer Actions */
.header-notifications .dropdown-menu > li:last-child {
    border-top: 1px solid #e9ecef !important;
    margin-top: auto !important;
    position: sticky !important;
    bottom: 0 !important;
    background: white !important;
    z-index: 10 !important;
}

.header-notifications .dropdown-item.text-danger {
    text-align: center !important;
    font-weight: 600 !important;
    color: #dc3545 !important;
    padding: 12px 20px !important;
    position: sticky !important;
    bottom: 0 !important;
}

.header-notifications .dropdown-item.text-danger:hover {
    background: rgba(220, 53, 69, 0.05) !important;
    color: #c82333 !important;
}

.header-notifications .dropdown-item.text-danger i {
    margin-right: 8px;
}

/* Notification Type Icons */
.notification-item-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 16px;
    flex-shrink: 0;
}

.notification-item-icon.chat {
    background: linear-gradient(135deg, #007bff, #17a2b8);
    color: white;
}

.notification-item-icon.form {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.notification-item-icon.approval {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
}

/* Remove duplicate responsive rules - already defined above */
@media (max-width: 576px) {
    .header-notifications .dropdown-menu {
        min-width: calc(100vw - 40px) !important;
        max-width: calc(100vw - 40px) !important;
    }
}

