* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fa;
}

.app {
    display: flex;
    min-height: 100vh;
}

/* ==================== SIDEBAR ==================== */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: #fff;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    transition: all 0.3s;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #8b5cf6;
    border-radius: 4px;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-text h1 {
    font-size: 16px;
    font-weight: 800;
}

.logo-text p {
    font-size: 9px;
    opacity: 0.6;
}

.sidebar-close {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}

.sidebar-close:hover {
    background: rgba(239, 68, 68, 0.3);
}

.profile {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar {
    position: relative;
    flex-shrink: 0;
}

.avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #8b5cf6;
}

.profile-info h3 {
    font-size: 14px;
    font-weight: 700;
}

.role-badge {
    font-size: 9px;
    background: rgba(139, 92, 246, 0.2);
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 4px;
    color: #a78bfa;
}

/* ==================== NAVIGASI ==================== */
.nav-menu {
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s;
    cursor: pointer;
}

.nav-item i:first-child {
    width: 20px;
    font-size: 16px;
}

.nav-item span {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
}

.nav-item:hover {
    background: rgba(139, 92, 246, 0.1);
    color: white;
}

.nav-item.active {
    background: linear-gradient(90deg, #8b5cf6, #0f172a);
    color: white;
    border-left: 3px solid #8b5cf6;
}

/* ==================== SIDEBAR FOOTER ==================== */
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    text-align: center;
}

.system-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 11px;
}

.system-status i {
    font-size: 8px;
    color: #10b981;
}

.btn-back-menu {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: #3b82f6;
    padding: 8px 16px;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-back-menu:hover {
    background: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.sidebar-footer p {
    font-size: 9px;
    opacity: 0.4;
}

/* ==================== MAIN CONTENT ==================== */
.main {
    flex: 1;
    margin-left: 280px;
    min-height: 100vh;
    background: #f5f7fa;
}

.header {
    background: #ffffff;
    padding: 0 28px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e8edf4;
    position: sticky;
    top: 0;
    z-index: 99;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #1e293b;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

.menu-toggle:hover {
    background: #f1f5f9;
}

.title-section h1 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

.title-section p {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.date-display {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 13px;
}

.notification-icon {
    position: relative;
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
}

.notification-icon:hover {
    background: #f1f5f9;
    color: #8b5cf6;
}

.notif-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    display: none;
    border: 2px solid #ffffff;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ==================== PAGES ==================== */
.pages-container {
    padding: 28px 32px;
    background: #f5f7fa;
    min-height: calc(100vh - 70px);
}

.page {
    display: none;
    animation: fadeIn 0.3s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== WELCOME BANNER ==================== */
.welcome-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #d1d9e6;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.1), transparent 70%);
    pointer-events: none;
}

.welcome-text {
    flex: 1;
    z-index: 1;
}

.greeting {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.greeting i {
    font-size: 32px;
    color: #fbbf24;
    animation: wave 2s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

.greeting h2 {
    font-size: 24px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
}

.user-name {
    color: #a78bfa;
}

.welcome-message {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 20px;
}

.motivation-quote {
    background: rgba(139, 92, 246, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
    border-left: 4px solid #8b5cf6;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.motivation-quote i {
    color: #8b5cf6;
    font-size: 14px;
    opacity: 0.7;
}

.motivation-quote i:first-child {
    align-self: flex-start;
}

.motivation-quote i:last-child {
    align-self: flex-end;
}

.motivation-quote span {
    color: #cbd5e1;
    font-size: 13px;
    font-style: italic;
    flex: 1;
    text-align: center;
}

.welcome-illustration {
    background: linear-gradient(135deg, #1e3a5f, #0f172a);
    width: 100px;
    height: 100px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #334155;
}

.welcome-illustration i {
    font-size: 50px;
    color: #8b5cf6;
}

/* ==================== STATS GRID ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.25s;
    border: 1px solid #d1d9e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: #b8c4d4;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-card.primary .stat-icon { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.stat-card.warning .stat-icon { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.stat-card.info .stat-icon { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.stat-card.success .stat-icon { background: rgba(16, 185, 129, 0.15); color: #10b981; }

.stat-info h3 {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
}

.stat-info p {
    font-size: 10px;
    color: #64748b;
    margin-top: 4px;
}

/* ==================== CARDS ==================== */
.card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #d1d9e6;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.card-header {
    padding: 18px 24px;
    border-bottom: 1px solid #d1d9e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: #fafbfc;
}

.card-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 i {
    color: #8b5cf6;
}

.card-body {
    padding: 20px 24px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ==================== BADGES ==================== */
.badge-count {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-count.edit-mode {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.badge-count.view-mode {
    background: linear-gradient(135deg, #64748b, #475569);
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ==================== FORMS ==================== */
.form-group {
    margin-bottom: 18px;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.form-group label .required {
    color: #ef4444;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #d1d9e6;
    border-radius: 8px;
    color: #1e293b;
    font-size: 13px;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.08);
}

.form-input:read-only {
    background: #f1f5f9;
    opacity: 0.8;
}

.form-input:disabled {
    background: #f1f5f9;
    cursor: not-allowed;
    opacity: 0.7;
    color: #64748b;
}

.form-input:enabled {
    background: #ffffff;
    border-color: #8b5cf6;
    opacity: 1;
    color: #1e293b;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
}

.form-row .form-group {
    margin-bottom: 0;
}

textarea.form-input {
    resize: vertical;
    font-family: inherit;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    justify-content: flex-end;
}

/* ==================== BUTTONS ==================== */
.btn-save {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-cancel {
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #d1d9e6;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cancel:hover {
    background: #e8edf4;
}

.btn-filter {
    background: none;
    border: 1px solid #d1d9e6;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-filter:hover {
    background: #f1f5f9;
    border-color: #8b5cf6;
    color: #8b5cf6;
}

/* ==================== TOMBOL EDIT TOGGLE ==================== */
.btn-edit-toggle {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-edit-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-edit-toggle.edit-mode {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.btn-edit-toggle.edit-mode:hover {
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ==================== PROFILE ==================== */
.profile-flex {
    display: flex;
    gap: 40px;
    padding: 8px 0;
    flex-wrap: wrap;
    align-items: flex-start;
}

.profile-avatar-area {
    text-align: center;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-avatar-area img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #8b5cf6;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.profile-avatar-area img:hover {
    transform: scale(1.02);
    border-color: #7c3aed;
}

.btn-upload {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 14px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.btn-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.btn-upload:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-upload:enabled {
    opacity: 1;
    cursor: pointer;
}

.profile-info-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.profile-info-grid div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-info-grid label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-info-grid label i {
    color: #8b5cf6;
    font-size: 13px;
}

.profile-info-grid .form-input {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.profile-info-grid .form-input:disabled {
    background: #f1f5f9;
    cursor: not-allowed;
    opacity: 0.7;
    color: #64748b;
}

.profile-info-grid .form-input:enabled {
    background: #ffffff;
    border-color: #8b5cf6;
    opacity: 1;
    color: #1e293b;
}

.profile-info-grid .form-input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.08);
}

/* ==================== STATUS ITEMS ==================== */
.status-item {
    display: grid;
    grid-template-columns: 14px 1fr 40px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.status-item:last-child {
    border-bottom: none;
}

.status-item span {
    font-size: 14px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.pending { background: #f59e0b; }
.dot.proses { background: #8b5cf6; }
.dot.selesai { background: #22c55e; }
.dot.ditolak { background: #ef4444; }

.status-item .count {
    color: #1e293b;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
}

.bar {
    height: 6px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s ease;
}
.pending-fill { background: #f59e0b; }
.proses-fill { background: #8b5cf6; }
.selesai-fill { background: #22c55e; }
.ditolak-fill { background: #ef4444; }

/* ==================== ACTIVITY ITEMS ==================== */
.activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: #ede9fe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b5cf6;
    font-size: 18px;
}

.activity-info {
    flex: 1;
}

.activity-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.activity-info p {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.activity-date {
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
}

/* ==================== QUICK ACTIONS ==================== */
.quick-actions {
    margin-top: 8px;
}

.quick-actions h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 18px;
}

.quick-actions h3 i {
    color: #8b5cf6;
    margin-right: 10px;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.action-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid #d1d9e6;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.action-item:hover {
    transform: translateY(-4px);
    border-color: #8b5cf6;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.1);
}

.action-item i {
    font-size: 28px;
    color: #8b5cf6;
    display: block;
    margin-bottom: 8px;
}

.action-item span {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

/* ==================== EMPTY STATE ==================== */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
}

.empty-state i {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 12px;
    display: block;
}

.empty-state p {
    font-size: 14px;
}

.empty-state small {
    font-size: 12px;
    opacity: 0.6;
}

/* ==================== REPORT ITEMS ==================== */
.report-item {
    background: #fafbfc;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    border: 1px solid #d1d9e6;
    transition: all 0.2s;
}

.report-item:hover {
    background: #f1f5f9;
}

.report-item.status-pending { border-left: 4px solid #f59e0b; }
.report-item.status-proses { border-left: 4px solid #8b5cf6; }
.report-item.status-selesai { border-left: 4px solid #22c55e; }
.report-item.status-ditolak { border-left: 4px solid #ef4444; }

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 8px;
}

.report-name {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
}

.report-status {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
}

.report-status.pending { background: #fef3c7; color: #b45309; }
.report-status.proses { background: #ede9fe; color: #6d28d9; }
.report-status.selesai { background: #d1fae5; color: #047857; }
.report-status.ditolak { background: #fee2e2; color: #b91c1c; }

.report-detail {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
}

.report-detail i {
    width: 16px;
    color: #94a3b8;
}

.report-catatan {
    margin-top: 10px;
    padding: 8px 14px;
    background: #ede9fe;
    border-radius: 6px;
    font-size: 13px;
    color: #5b21b6;
}

.report-catatan i {
    color: #8b5cf6;
    margin-right: 8px;
}

.report-actions {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-delete-report {
    background: #ffffff;
    color: #ef4444;
    border: 1px solid #ef4444;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-delete-report:hover {
    background: #ef4444;
    color: white;
}

/* ==================== TOAST NOTIFICATION ==================== */
#toastContainer {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 100%;
    max-width: 500px;
    pointer-events: none;
}

.toast-notification {
    background: #1e293b;
    color: #f1f5f9;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid #334155;
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-align: center;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast-notification.success {
    background: linear-gradient(135deg, #065f46, #047857);
    border-color: #10b981;
}

.toast-notification.error {
    background: linear-gradient(135deg, #7f1d1d, #991b1b);
    border-color: #ef4444;
}

.toast-notification .toast-icon {
    font-size: 20px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 1001;
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .main {
        margin-left: 0;
    }
    .menu-toggle {
        display: block;
    }
    .sidebar-close {
        display: block;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .welcome-banner {
        flex-direction: column;
        text-align: center;
    }
    .greeting {
        justify-content: center;
    }
    .motivation-quote {
        justify-content: center;
    }
    .welcome-illustration {
        margin-top: 20px;
    }
    .profile-flex {
        flex-direction: column;
        align-items: center;
    }
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
    .card-header .header-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .btn-edit-toggle {
        font-size: 12px;
        padding: 6px 14px;
    }
}

@media (max-width: 768px) {
    .pages-container {
        padding: 16px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-row .form-group {
        margin-bottom: 18px;
    }
    .welcome-banner {
        padding: 20px;
    }
    .greeting h2 {
        font-size: 18px;
    }
    .motivation-quote span {
        font-size: 11px;
    }
    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .header {
        padding: 0 16px;
    }
    .action-grid {
        grid-template-columns: 1fr 1fr;
    }
    .form-actions {
        flex-direction: column;
    }
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
    #toastContainer {
        max-width: 90%;
        top: 70px;
    }
    .report-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .header-left {
        flex-direction: column;
        gap: 8px;
    }
    .title-section h1 {
        font-size: 16px;
    }
    .date-display {
        display: none;
    }
    .pages-container {
        padding: 12px;
    }
    .action-grid {
        grid-template-columns: 1fr;
    }
    .profile-avatar-area img {
        width: 80px;
        height: 80px;
    }
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
    .btn-edit-toggle {
        font-size: 11px;
        padding: 5px 12px;
    }
    .badge-count {
        font-size: 10px;
        padding: 3px 10px;
    }
}