/* === INITIAL LOADER STYLES === */
#initial-loader-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    gap: 20px;
    transition: opacity 0.5s ease-out;
}

#initial-loader-container p {
    font-size: 1.1em;
    font-weight: 500;
    font-family: 'Myanmar3', 'Padauk', sans-serif;
}

#initial-loader-container.fade-out {
    opacity: 0;
    pointer-events: none;
}

:root {
    --card-background: #ffffff;
    --text-color-dark: #343a40;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --border-radius: 12px;
    --shadow-strong: 0 10px 30px rgba(0, 0, 0, 0.09);
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.06);
}
.theme-1 { --theme-gradient: linear-gradient(to top, #a8edea 0%, #fed6e3 100%); --theme-text-color: var(--text-color-dark); }
.theme-2 { --theme-gradient: linear-gradient(to right, #434343 0%, black 100%); --theme-text-color: #FFFFFF; }
.theme-3 { --theme-gradient: linear-gradient(120deg, #f6d365 0%, #fda085 100%); --theme-text-color: var(--text-color-dark); }
.theme-4 { --theme-gradient: linear-gradient(to right, #834d9b, #d04ed6); --theme-text-color: #FFFFFF; }

* { box-sizing: border-box; margin: 0; padding: 0; }
.hidden { display: none !important; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* ========================================= */
body { font-family: 'Myanmar3', 'Padauk', sans-serif; transition: background 0.5s ease; }

/* === AUTH PAGE STYLES === */
body.auth-active { background: linear-gradient(135deg, #232526 0%, #414345 100%); background-attachment: fixed; color: #fff; }
#auth-container { display: flex; justify-content: center; align-items: center; width: 100vw; height: 100vh; padding: 20px; }
.auth-box { position: relative; width: 100%; max-width: 400px; padding: 40px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: var(--border-radius); border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 15px 35px rgba(0,0,0,0.3); }
.auth-box h2 { text-align: center; margin-bottom: 30px; font-weight: 600; }
#auth-loader { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 10; display: flex; justify-content: center; align-items: center; border-radius: var(--border-radius); }
.spinner { width: 50px; height: 50px; border: 5px solid rgba(255, 255, 255, 0.3); border-top-color: #21D4FD; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.auth-box .input-group { position: relative; margin-bottom: 25px; }
.auth-box .input-group input { width: 100%; padding: 15px; background: transparent; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 8px; color: #fff; font-size: 16px; }
.auth-box .input-group input::placeholder { color: rgba(255, 255, 255, 0.7); }
.form-instruction { font-size: 14px; text-align: center; margin-bottom: 25px; line-height: 1.5; }
.auth-box .form-instruction { color: rgba(255, 255, 255, 0.8); }
.forgot-password-link { text-align: right; margin-top: -15px; margin-bottom: 20px; }
.forgot-password-link a { color: rgba(255, 255, 255, 0.8); font-size: 13px; text-decoration: none; }
.auth-btn { width: 100%; padding: 15px; border: none; border-radius: 8px; background: linear-gradient(45deg, #21D4FD 0%, #B721FF 100%); color: #fff; font-size: 18px; font-weight: bold; cursor: pointer; }
.auth-toggle { margin-top: 20px; text-align: center; font-size: 14px; }
.auth-toggle a { color: #21D4FD; text-decoration: none; font-weight: bold; }
.form-message { text-align: center; margin-bottom: 20px; padding: 12px; border-radius: 8px; font-weight: 500; font-size: 15px; display: none; }
.form-message.success { background-color: rgba(46, 204, 113, 0.2); color: #2ecc71; display: block; }
.form-message.error { background-color: rgba(231, 76, 60, 0.2); color: #e74c3c; display: block; }

/* === MAIN APP STYLES === */
body.app-active { 
    padding: 10px; 
    color: var(--text-color-dark); 
    background: linear-gradient(135deg, #a8e6cf 0%, #a2d2ff 50%, #ffb3de 100%); 
    background-attachment: fixed; 
}

/* --- PC View အတွက် အချိုးကျစေရန် ပြင်ဆင်ခြင်း --- */
@media (min-width: 768px) {
    body.app-active {
        display: flex;
        justify-content: center;
        padding: 20px; /* အပေါ်အောက်၊ ဘေးဘောင် အနည်းငယ်ခွာမည် */
    }
    #app-container {
        width: 100%;
        max-width: 1200px; /* အရင်က 900px ထက် ပိုကျယ်အောင်ထားမည် */
        margin: 0 auto;
    }
    .dashboard-grid {
        gap: 25px; /* အပေါ်ကွက်နှစ်ခုကြား အကွာအဝေးပိုခွာမည် */
    }
    .list-item {
        margin-bottom: 20px; /* ကတ်တစ်ခုနဲ့တစ်ခုကြား ပိုခွာမည် */
    }
    .accordion-header {
       padding: 20px 25px; /* ကတ်ခေါင်းစဉ်အပိုင်းကို ပိုကျယ်အောင်လုပ်မည် */
    }
}

#app-container header { 
    position: relative; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(8px); 
    padding: 10px 15px; 
    border-radius: var(--border-radius); 
    box-shadow: var(--shadow-light); 
    margin: 10px 0; 
    border: 1px solid rgba(255, 255, 255, 0.2); 
}

/* === SHEETS DROPDOWN STYLES === */
#sheets-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
    margin-right: 15px;
}

#sheets-dropdown {
    width: 100%;
    max-width: 250px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #fff;
    font-family: inherit;
    font-size: 1em;
    font-weight: 600;
    color: var(--text-color-dark);
    -webkit-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007AFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px;
    padding-right: 30px;
}

#add-sheet-btn {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: #fff;
    color: #007AFF;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 2px;
}
#add-sheet-btn:hover {
    background-color: #f8f9fa;
}

.menu-button { 
    background: #ffffff; 
    color: #A60000; 
    border: 1px solid var(--border-color); 
    border-radius: 25px; 
    padding: 8px 16px; 
    font-size: 1em; 
    font-weight: 600; 
    font-family: inherit; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    transition: background-color 0.2s, box-shadow 0.2s; 
    flex-shrink: 0;
}

.menu-button:hover { background-color: #f8f9fa; box-shadow: var(--shadow-light); }
.menu-button span { margin-top: 2px; }
.menu-button svg { stroke: currentColor; width: 16px; height: 16px; }
.header-spacer { display: none; }
.dashboard-grid, .list-container, #modal-overlay .form-container, .list-item { color: var(--text-color-dark); }
.dashboard-grid { display: flex; flex-direction: row; gap: 15px; margin: 20px 0; }
.main-controls, .summary-container { flex: 1; background: var(--card-background); border-radius: var(--border-radius); box-shadow: var(--shadow-light); border: 1px solid var(--border-color); padding: 15px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
#show-form-btn { background: var(--card-background); border: 1px solid transparent; width: 100%; height: 100%; padding: 10px; border-radius: 12px; cursor: pointer; display: flex; justify-content: center; align-items: center; text-align: center; }
#show-form-btn .btn-text { font-size: 1.1em; font-weight: 700; background: linear-gradient(45deg, #ff6a00 0%, #ee0979 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.summary-container { text-align: center; gap: 5px; }
.summary-container h3 { margin: 0; color: #005A9C; font-weight: 600; font-size: 0.9em; }
#total-amount {
    margin: 0;
    font-size: 1.4em;
    font-weight: 700;
    background: linear-gradient(45deg, #ff6a00 0%, #27ae60 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}
#modal-overlay { position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(30, 41, 59, 0.6); backdrop-filter: blur(5px); display: flex; justify-content: center; align-items: flex-start; animation: fadeIn 0.3s ease; padding: 5vh 0; box-sizing: border-box; }
.form-container { background: linear-gradient(160deg, #fdfbfb 0%, #ebedee 100%); border-radius: var(--border-radius); border: 1px solid rgba(255, 255, 255, 0.5); box-shadow: 0 20px 40px rgba(0,0,0,0.15); padding: 30px; max-height: 90vh; overflow-y: auto; }
#data-form, #set-pin-form, #verify-pin-form { display: flex; flex-direction: column; gap: 15px; }
.form-group { width: 100%; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 14px; color: var(--text-muted); }
.form-container .input-group { margin-bottom: 15px; }
#data-form .input-group input, #data-form input[type="text"], #data-form input[type="number"], #data-form input[type="tel"] { width: 100%; box-sizing: border-box; background: #ffffff; border: 1px solid #dcdfe6; border-radius: 8px; padding: 12px 15px; font-size: 16px; }
#data-form input::placeholder { color: #aaa; }
#data-form input:focus { outline: none; border-color: #5a67d8; box-shadow: 0 0 0 3px rgba(90, 103, 216, 0.2); }
.date-group { width: 100%; box-sizing: border-box; display: flex; align-items: center; gap: 10px; }
.date-group label { font-weight: 500; white-space: nowrap; flex-shrink: 0; color: var(--text-muted); }
.date-group input[type="date"] { flex-grow: 1; min-width: 120px; background: #ffffff; border: 1px solid #dcdfe6; border-radius: 8px; padding: 11px; font-size: 16px; }
.color-picker-container { width: 100%; margin-top: 10px; }
.color-picker-container label { display: block; font-weight: 500; color: var(--text-muted); margin-bottom: 10px; }
.color-swatches { display: flex; gap: 15px; }
.color-swatch { width: 30px; height: 30px; border-radius: 50%; cursor: pointer; border: 2px solid rgba(0,0,0,0.1); }
.color-swatch.selected { border-color: #ffffff; box-shadow: 0 0 0 3px #007aff; }
.color-swatch.theme-1, .color-swatch.theme-2, .color-swatch.theme-3, .color-swatch.theme-4 { background: var(--theme-gradient); }
#custom-color-swatch { background: conic-gradient(red, yellow, lime, aqua, blue, magenta, red); }
.form-buttons { width: 100%; display: flex; gap: 15px; justify-content: flex-end; margin-top: 20px; }
.form-buttons button { padding: 12px 25px; font-size: 1em; font-weight: bold; border: none; border-radius: 8px; cursor: pointer; }
.form-buttons .primary-btn { background-color: #5a67d8; color: white; }
.form-buttons .secondary-btn { background-color: transparent; color: var(--text-muted); border: 1px solid var(--border-color); }
.list-container { background: transparent; box-shadow: none; margin-top: 40px; }
.list-container h2 { font-size: 1.5em; font-weight: 600; padding-bottom: 15px; border-bottom: 2px solid rgba(0,0,0,0.1); margin-bottom: 25px; color: #005A9C; }
.list-item { border: 3px solid var(--warning-yellow); border-radius: var(--border-radius); margin-bottom: 15px; overflow: hidden; box-shadow: var(--shadow-strong); }
.accordion-header { width: 100%; background: var(--theme-gradient, #f1f1f1); padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border: none; font-family: inherit; text-align: left; cursor: pointer; }
.header-text-group { display: flex; flex-direction: row; align-items: baseline; gap: 15px; flex-wrap: wrap; }
.item-name {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--theme-text-color, var(--text-color-dark));
}
.item-subject {
    font-size: 0.8em;
    font-weight: 500;
    color: var(--theme-text-color, var(--text-color-dark));
    opacity: 0.9;
}
@keyframes pulse-warning { 0% { box-shadow: 0 0 0 0 rgba(254, 203, 67, 0.7), var(--shadow-strong); } 70% { box-shadow: 0 0 0 10px rgba(254, 203, 67, 0), var(--shadow-strong); } 100% { box-shadow: 0 0 0 0 rgba(254, 203, 67, 0), var(--shadow-strong); } }
.list-item.expiring-soon, .list-item.expired { animation: pulse-warning 2s infinite; }
.accordion-content { padding: 0 20px; max-height: 0; overflow: hidden; background-color: rgba(255, 255, 255, 0.7); transition: max-height 0.4s ease-in-out; border-top: 1px solid rgba(0,0,0,0.05); }

/* --- စာသားများ ရှင်းလင်းစေရန် --- */
.accordion-content p { margin: 16px 0; line-height: 1.8; font-size: 16px; color: #333; }
.accordion-content strong { color: #000; font-size: 17px; }

.accordion-content .action-buttons { padding-top: 5px; padding-bottom: 15px; display: flex; justify-content: flex-end; gap: 10px; }
.action-buttons button { padding: 8px 16px; border-radius: 8px; border: none; cursor: pointer; font-weight: bold; font-family: inherit; transition: opacity 0.2s; }
.action-buttons button:hover { opacity: 0.85; }
.action-buttons .edit-btn { background-color: #5a67d8; color: white; }
.action-buttons .delete-btn { background-color: #e74c3c; color: white; }
.accordion-header::after { content: '▾'; font-size: 1.8em; color: var(--theme-text-color, var(--text-color-dark)); transition: transform 0.4s ease-in-out; }
.accordion-header.active::after { transform: rotate(180deg); }

/* === MODAL STYLES (PIN & LOCK) === */
#pin-modal-overlay, #lock-modal-overlay, #verify-pin-modal-overlay { position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(30, 41, 59, 0.8); backdrop-filter: blur(8px); display: flex; justify-content: center; align-items: center; animation: fadeIn 0.3s ease; }
#pin-form-container, #lock-form-container, #verify-pin-form-container { max-width: 420px; }
.form-container h2 { text-align: center; color: var(--text-color-dark); margin-bottom: 10px; }
.form-container p.form-instruction { text-align: center; color: var(--text-muted); margin-bottom: 30px; line-height: 1.6; }
#pin-form-container .input-group input, #lock-form-container .input-group input, #verify-pin-form-container .input-group input { width: 100%; box-sizing: border-box; background-color: #f0f2f5; border: 1px solid #f0f2f5; padding: 15px; border-radius: 10px; color: var(--text-color-dark); font-size: 16px; text-align: center; }
#pin-form-container .input-group input::placeholder, #lock-form-container .input-group input::placeholder, #verify-pin-form-container .input-group input::placeholder { color: #aaa; }
#pin-form-container .input-group input:focus, #lock-form-container .input-group input:focus, #verify-pin-form-container .input-group input:focus { outline: none; border-color: #5a67d8; background-color: #fff; box-shadow: 0 0 0 3px rgba(90, 103, 216, 0.2); }

/* === Dropdown Menu Styles === */
.dropdown-menu { position: absolute; top: 75px; right: 20px; width: 280px; background: rgba(20, 20, 30, 0.75); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--border-radius); z-index: 3000; overflow: hidden; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out; }
.dropdown-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.dropdown-menu ul { list-style: none; padding: 10px; margin: 0; }
.dropdown-menu ul li button { width: 100%; padding: 12px 15px; margin-bottom: 5px; background: transparent; border: none; border-radius: 8px; text-align: left; font-size: 1em; font-family: inherit; color: #f0f0f0; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 15px; transition: background-color 0.2s, color 0.2s; }
.dropdown-menu ul li button:hover { background-color: rgba(255, 255, 255, 0.1); color: #ffffff; }
.dropdown-menu ul li button svg { width: 20px; height: 20px; stroke: currentColor; flex-shrink: 0; }
#delete-sheet-btn:hover {
    background-color: rgba(231, 76, 60, 0.2) !important;
    color: #e74c3c !important;
}

/* === Lock Screen Specific Styles === */
.or-divider { text-align: center; margin: 25px 0; color: var(--text-muted); }
.faceid-btn { width: 100%; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 15px; font-size: 1em; }
.faceid-btn svg { width: 20px; height: 20px; }

/* === Glass Modal Styles === */
#add-sheet-modal-overlay, #confirm-delete-modal-overlay {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}
#custom-confirm-modal-overlay {
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

#custom-confirm-modal-overlay .glass-modal { max-width: 400px; text-align: center; }
#custom-confirm-title { background: -webkit-linear-gradient(45deg, #ff6a00, #ee0979); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 15px; }
#custom-confirm-message { color: #f0f0f0 !important; font-size: 1.1em; line-height: 1.6; margin-bottom: 30px; }
#custom-confirm-ok-btn { background: linear-gradient(to right, #e74c3c, #c0392b); transition: all 0.3s ease; }
#custom-confirm-ok-btn:hover { box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4); transform: translateY(-2px); }

.glass-modal {
    width: 100%;
    max-width: 420px;
    background: rgba(35, 37, 38, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    color: #fff;
    border-radius: var(--border-radius);
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.glass-modal #add-sheet-form { width: 100%; margin-top: 20px; }
.glass-modal h2 { color: #fff; font-weight: 600; margin: 0; }
#sheet-modal-title { color: #21D4FD; }
.glass-modal #delete-confirm-title { color: #fff; }
.glass-modal .form-instruction { color: #FFD700 !important; margin-top: 10px; margin-bottom: 0; max-width: 90%; }
.glass-modal .input-group { margin-bottom: 25px; }
.glass-modal .input-group input { width: 100%; background: transparent; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 8px; color: #fff; font-size: 16px; padding: 15px; text-align: center; }
.glass-modal .input-group input::placeholder { color: rgba(255, 255, 255, 0.7); text-align: center; }
.glass-modal .form-buttons { justify-content: center; }
.glass-modal .form-buttons .primary-btn { background: linear-gradient(45deg, #21D4FD 0%, #B721FF 100%); color: #fff; border: none; }
.glass-modal .form-buttons .secondary-btn { background-color: transparent; color: rgba(255, 255, 255, 0.8); border: 1px solid rgba(255, 255, 255, 0.25); }
.glass-modal .form-buttons .danger-btn { background-color: #e74c3c; color: white; border: none; }
.glass-modal .form-buttons .danger-btn:hover { background-color: #c0392b; }
#delete-warning-message { color: #FFD700 !important; font-size: 1.1em; line-height: 1.6; }

/* === PWA Update Notification Styles === */
#update-notification {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    background-color: var(--text-color-dark); color: white; padding: 12px 20px;
    border-radius: 8px; box-shadow: 0 4px 15px rgba(19, 19, 19, 0.3); z-index: 9999;
    display: flex; align-items: center; gap: 15px; opacity: 0;
    transition: opacity 0.3s ease-in-out; pointer-events: none;
}
#update-notification:not(.hidden) { opacity: 1; pointer-events: auto; }
#reload-button { background-color: #4CAF50; color: white; border: none; padding: 8px 15px; border-radius: 5px; font-weight: bold; cursor: pointer; }

/* === Added Styles for Optional Fields Toggle === */
.optional-toggle-container {
    display: flex; align-items: center; margin: 15px 0; padding: 10px;
    background-color: rgba(19, 18, 18, 0.03); border-radius: 8px; border: 1px dashed #ccc;
}
.optional-toggle-container input[type="checkbox"] { width: 20px; height: 20px; margin-right: 10px; cursor: pointer; }
.optional-toggle-container label { font-size: 0.95rem; color: var(--text-color-dark, #333); cursor: pointer; font-weight: 500; }
.form-scroll-container { max-height: 90vh; overflow-y: auto; }
#optional-fields { transition: all 0.3s ease-in-out; width: 100%; display: flex; flex-direction: column; gap: 15px;}
#optional-fields.hidden { display: none !important; }

/* --- Footer Styles --- */
.app-footer {
    text-align: center;
    padding: 25px 10px;
    margin-top: 40px;
    color: var(--text-color-dark, #333);
    font-size: 0.95em;
    font-weight: 500;
    opacity: 0.8;
    border-top: 2px dashed rgba(255, 255, 255, 0.5);
}
.app-footer p { margin: 6px 0; }

/* --- Pagination Styles --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
}
.page-btn {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-color-dark, #333);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(21, 20, 20, 0.05);
}
.page-btn:hover {
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(23, 23, 23, 0.1);
}
.page-btn.active {
    background: #5a67d8;
    color: #fff;
    border-color: #5a67d8;
}
.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.5);
}