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

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

body {
    font-family: 'Mitr', sans-serif;
    font-weight: 300;
    background: white;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

/* Font Size Classes - Apply to entire website */
body.font-normal {
    font-size: 12px;
}

body.font-large {
    font-size: 16px;
}

/* Scale all text elements proportionally */
body.font-normal h1 { font-size: 24px; }
body.font-large h1 { font-size: 32px; }

body.font-normal h2 { font-size: 20px; }
body.font-large h2 { font-size: 28px; }

body.font-normal h3 { font-size: 18px; }
body.font-large h3 { font-size: 24px; }

body.font-normal p,
body.font-normal label,
body.font-normal span,
body.font-normal button,
body.font-normal input,
body.font-normal textarea,
body.font-normal select { font-size: 14px; }

body.font-large p,
body.font-large label,
body.font-large span,
body.font-large button,
body.font-large input,
body.font-large textarea,
body.font-large select { font-size: 18px; }

/* Specific adjustments for larger elements */
body.font-normal .choice-text { font-size: 24px; }
body.font-large .choice-text { font-size: 32px; }

body.font-normal .btn-next,
body.font-normal .btn-primary,
body.font-normal .btn-secondary { font-size: 18px; }

body.font-large .btn-next,
body.font-large .btn-primary,
body.font-large .btn-secondary { font-size: 25px; }

body.font-normal .header-title h1 { font-size: 20px; }
body.font-large .header-title h1 { font-size: 28px; }

/* Question page font sizes */
body.font-normal .question-title { font-size: 24px; }
body.font-large .question-title { font-size: 32px; }

/* Notice page font sizes */
body.font-normal .notice-title { font-size: 22px; }
body.font-large .notice-title { font-size: 28px; }

body.font-normal .notice-text { font-size: 24px; }
body.font-large .notice-text { font-size: 32px; }

body.font-normal .btn-understand { font-size: 16px; }
body.font-large .btn-understand { font-size: 18px; }

/* ==================== Tab System - Simple Show/Hide ==================== */
.tab-wrapper {
    width: 100%;
    position: relative;
}

.tab-container {
    width: 100%;
    position: relative;
}

.tab-content {
    display: none;
    width: 100%;
    padding: 0;
}

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

/* Initial state - show first tab */
#recordTab {
    display: block;
}

/* ==================== Custom Modal System ==================== */
.modal-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;
    opacity: 0;
    transition: opacity 0.2s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.show {
    opacity: 1;
}

.modal-box {
    background: white;
    border-radius: 16px;
    padding: 24px;
    width: 90%;
    max-width: 380px;
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: center;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 20px 40px rgba(0, 0, 0, 0.1);
    transform: scale(0.9);
    transition: transform 0.2s ease;
    border: 1px solid #e5e7eb;
    -webkit-overflow-scrolling: touch;
}

/* Scrollbar styling for modal */
.modal-box::-webkit-scrollbar {
    width: 8px;
}

.modal-box::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.modal-box::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.modal-box::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.modal-overlay.show .modal-box {
    transform: scale(1);
}

.modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
}

.modal-icon svg {
    width: 100%;
    height: 100%;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #2572a2;
    margin-bottom: 8px;
}

.modal-message {
    font-size: 14px;
    color: #2572a2;
    margin-bottom: 20px;
    line-height: 1.5;
}

.modal-html {
    margin-bottom: 20px;
}

.modal-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Mitr', sans-serif;
    margin-bottom: 20px;
    transition: border-color 0.2s;
}

.modal-input:focus {
    outline: none;
    border-color: #2572a2;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.modal-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Mitr', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    min-width: 100px;
}

.modal-btn-confirm {
    background: #CBDDE9;
    color: #2572a2;
}

.modal-btn-confirm:hover {
    background: #CBDDE9;
}

.modal-btn-cancel {
    background: #f3f4f6;
    color: #2572a2;
}

.modal-btn-cancel:hover {
    background: #e5e7eb;
}

.modal-loading {
    padding: 32px;
}

.modal-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top-color: #2572a2;
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Typing Cursor Animation */
.typing-cursor {
    display: inline;
    color: #2572a2;
    font-weight: 400;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: white;
    padding: 14px 24px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    color: #2572a2;
    z-index: 10000;
    transition: transform 0.3s ease;
    border-left: 4px solid #CBDDE9;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
}

/* Preset buttons in modal */
.preset-btn {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #2572a2;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Mitr', sans-serif;
    transition: all 0.2s;
}

.preset-btn:hover {
    background: #CBDDE9;
    color: #2572a2;
    border-color: #2572a2;
}

/* ==================== End Modal System ==================== */

.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 20px 20px;
    margin: 0 20px;
    position: relative;
    z-index: 100;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: 60px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    color: #2572a2;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
}

.landing-nav .nav-link {
    color: #2572a2;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    border: 2px solid #CBDDE9;
    border-radius: 25px;
    transition: all 0.3s;
}

.landing-nav .nav-link:hover {
    background: #CBDDE9;
    color: #2572a2;
    text-decoration: none;
}

.landing-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    margin: 20px 20px 30px 20px;
    background-image: url('images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
}

.btn-register {
    background: #CBDDE9;
    color: #2572a2;
    border: none;
    padding: 38px 104px;
    font-size: 38px;
    font-weight: 500;
    border-radius: 17px;
    cursor: pointer;
    font-family: 'Mitr', sans-serif;
    transition: all 0.3s;
    display: block;
    text-decoration: none;
}

.btn-register:hover {
    background: #729cb8;
    transform: translateY(-2px);
}

.register-cat {
    font-size: 24px;
    position: absolute;
    margin-left: 280px;
    margin-top: -45px;
}

.login-link {
    color: #2572a2;
    text-decoration: none;
    font-size: 35px;
    margin-top: 20px;
    display: block;
}

.login-link:hover {
    text-decoration: underline;
}

/* Guest User Button */
.btn-guest {
    background: transparent;
    color: #2572a2;
    border: 2px dashed #d1d5db;
    padding: 31px 86px;
    font-size: 32px;
    font-weight: 400;
    border-radius: 17px;
    cursor: pointer;
    font-family: 'Mitr', sans-serif;
    transition: all 0.3s;
    margin-top: 15px;
}

.btn-guest:hover {
    border-color: #2572a2;
    color: #2572a2;
    background: rgba(101, 200, 255, 0.05);
}

/* Guest Badge */
.guest-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 10px;
}

.chatbot-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2572a2;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 114, 162, 0.4);
    border: none;
}

.chatbot-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 114, 162, 0.6);
    background: #729cb8;
}

.chatbot-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.chatbot-text {
    display: none;
}

.modal {
    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: 1000;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    color: #2572a2;
    text-align: center;
    margin-bottom: 25px;
}

.modal-content input {
    width: 100%;
    padding: 12px;
    border: 2px solid #CBDDE9;
    border-radius: 25px;
    margin-bottom: 15px;
    font-size: 14px;
    font-family: 'Mitr', sans-serif;
}

.modal-content input:focus {
    outline: none;
    border-color: #2572a2;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 48px;
    font-weight: 300;
    cursor: pointer;
    color: #2572a2;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    line-height: 1;
}

.close-btn:hover {
    color: #2572a2;
    background: #f3f4f6;
    transform: scale(1.1);
}

.modal-switch {
    text-align: center;
    margin-top: 15px;
    color: #2572a2;
}

.modal-switch a {
    color: #2572a2;
    text-decoration: none;
}

.modal-switch a:hover {
    text-decoration: underline;
}

#mainApp {
    padding: 20px;
    min-height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border: 1px solid rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.header-logo {
    width: 60px;
    height: auto;
    margin-right: 10px;
}

.header-title {
    display: flex;
    align-items: center;
}

.header h1 {
    color: #2572a2;
    font-size: 28px;
    margin-bottom: 5px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: #CBDDE9;
    color: #2572a2;
}

.btn-primary:hover {
    background: #729cb8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #f5f5f5;
    color: #2572a2;
}

.btn-secondary:hover {
    background: #d1d1d1;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin: 10px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.1),
        0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    width: calc(100% - 20px);
    height: fit-content;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(122, 164, 73, 0.1), transparent);
}

.card h2 {
    color: #2572a2;
    margin-bottom: 20px;
    font-size: 22px;
}

.record-card {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 30px !important;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.record-header {
    text-align: center;
    margin-bottom: 30px;
}

.record-header h2 {
    font-size: 36px;
    color: #2572a2;
    margin-bottom: 8px;
}

.record-date {
    color: #2572a2;
    font-size: 24px;
}

.btn-start {
    display: inline-block;
    padding: 20px 100px;
    font-size: 32px;
    font-weight: 500;
    color: #2572a2;
    background: white;
    border: 2px solid #CBDDE9;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Mitr', sans-serif;
    transition: all 0.3s;
    margin-top: 30px;
}

.btn-start:hover:not(:disabled) {
    background: #CBDDE9;
    color: #2572a2;
}

.btn-start.btn-completed {
    background: #f0fdf4;
    border-color: #2572a2;
    color: #2572a2;
    cursor: not-allowed;
    padding: 20px 70px;
}

/* .btn-start.btn-completed::before {
    content: '✓ ';
    font-weight: bold;
} */

.dev-badge {
    display: inline-flex;
    align-items: center;
    background: red;
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 8px;
    border: 1px solid #e5e7eb;
}

.dev-badge::after {
    content: 'DEV';
}

/* Dev Skip Button Container */
.dev-skip-container {
    display: block;
    margin-top: 12px;
    text-align: center;
}

/* Dev Skip Button - Simple Design */
.btn-dev-skip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #2572a2;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Mitr', sans-serif;
    transition: all 0.2s ease;
}

.btn-dev-skip:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #2572a2;
}

.btn-dev-skip:active {
    transform: scale(0.98);
}

.dev-skip-icon {
    font-size: 14px;
}

/* Calendar Badge for completed days */
.calendar-day.has-entry {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.calendar-day.has-entry:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(122, 164, 73, 0.3);
}

.calendar-day .mood-badge {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
    color: #2572a2;
    white-space: nowrap;
}

.mood-badge.mood-blue { background: #3B82F6; }
.mood-badge.mood-green { background: #CBDDE9; }
.mood-badge.mood-yellow { background: #F59E0B; }
.mood-badge.mood-orange { background: #F97316; }
.mood-badge.mood-red { background: #EF4444; }

/* Calendar Today Highlight */
.calendar-day.today {
    border: 2px solid #CBDDE9 !important;
    font-weight: 700;
    position: relative;
    background: rgba(101, 200, 255, 0.08) !important;
}

/* Missed Day - Red Strikethrough */
.calendar-day.missed-day {
    position: relative;
    background: #fef2f2 !important;
    color: #2572a2;
}

.calendar-day.missed-day::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 2px;
    background: #ef4444;
    transform: rotate(-45deg);
}

.calendar-day.missed-day .day-number {
    color: #2572a2;
}

/* Dev Edit Score Button - Clean Design */
.dev-edit-score-btn {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #2572a2;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Mitr', sans-serif;
    transition: all 0.2s ease;
    z-index: 10;
}

.dev-edit-score-btn:hover {
    background: #e5e7eb;
    color: #2572a2;
}

/* Dev Score Preset Buttons in Modal */
.dev-preset-btn {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #2572a2;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Mitr', sans-serif;
    transition: all 0.2s ease;
    min-width: 50px;
}

.dev-preset-btn:hover {
    background: #CBDDE9;
    color: #2572a2;
    border-color: #2572a2;
}

.mood-selector {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.mood-btn {
    width: 70px;
    height: 70px;
    padding: 10px;
    border: 3px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.mood-btn:hover {
    transform: scale(1.1);
}

.mood-btn.active {
    border-color: #2572a2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.mood-blue { background: #60A5FA; color: #2572a2; }
.mood-green { background: #34D399; color: #2572a2; }
.mood-yellow { background: #FBBF24; color: #2572a2; }
.mood-orange { background: #FB923C; color: #2572a2; }
.mood-red { background: #F87171; color: #2572a2; }

.behavior-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.behavior-item {
    background: #f9fafb;
    padding: 12px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.behavior-item:hover {
    background: #f3f4f6;
}

.note-section {
    margin-bottom: 20px;
}

.note-section textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    resize: none;
    min-height: 80px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.note-section textarea:focus {
    outline: none;
    border-color: #2572a2;
}

.upload-section {
    text-align: center;
    margin-bottom: 25px;
}

.upload-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #f3f4f6;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    color: #2572a2;
    transition: all 0.3s;
}

.upload-btn:hover {
    background: #e5e7eb;
}

.save-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 12px;
}

.behavior-tracking {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.checkbox-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #9ca3af;
    border-radius: 6px;
    position: relative;
    transition: all 0.25s ease;
}

.checkbox-wrapper:hover .checkmark {
border-color: #006421;
}


.checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
background-color: #006421;
border-color: #006421;
animation: pop 0.25s ease;
}


.checkmark::after {
content: "";
position: absolute;
left: 6px;
top: 2px;
width: 5px;
height: 10px;
border: solid white;
border-width: 0 2px 2px 0;
transform: scale(0) rotate(45deg);
transition: transform 0.2s ease;
}


.checkbox-wrapper input[type="checkbox"]:checked + .checkmark::after {
transform: scale(1) rotate(45deg);
}


@keyframes pop {
0% { transform: scale(0.8); }
70% { transform: scale(1.15); }
100% { transform: scale(1); }
}



.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2572a2;
}

.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #CBDDE9;
    border-radius: 25px;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.input-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.input-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    cursor: pointer;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-top: 20px;
}

.calendar-day {
    aspect-ratio: 1;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8fafc;
    position: relative;
    border: 2px solid transparent;
}

.calendar-day:hover {
    transform: scale(1.08);
    border-color: #2572a2;
}

.calendar-day.has-entry {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
}

.calendar-header button {
    background: #CBDDE9;
    color: #2572a2;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Mitr', sans-serif;
    font-size: 14px;
    transition: all 0.3s;
}

.calendar-header button:hover {
    background: #CBDDE9;
    transform: translateY(-2px);
}

.calendar-header h3 {
    color: #2572a2;
    font-size: 20px;
}

.calendar-hint {
    text-align: center;
    color: #2572a2;
    font-size: 13px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e5e7eb;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stats-title {
    font-size: 28px;
    font-weight: 600;
    color: #2572a2;
    text-align: center;
    margin-bottom: 25px;
}

.chart-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 25px;
}

.chart-section h2 {
    margin-bottom: 20px;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #2572a2;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-red {
    background-color: #ef4444;
}

.legend-green {
    background-color: #2572a2;
}

.legend-yellow {
    background-color: #eab308;
}

.stat-card {
    background: white;
    border: 2px solid #1f2937;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #2572a2;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    position: relative;
}

.stat-card h3 {
    font-size: 36px;
    margin-bottom: 5px;
    color: #2572a2;
}

#healthLevelText {
    color: #fff !important;
}

#healthLevelCard p {
    color: #fff !important;
}

.stat-card p {
    font-size: 14px;
    color: #2572a2;
    margin-bottom: 5px;
}

.stat-card-red {
    background: #ef4444;
    border-color: #ef4444;
    color: #2572a2;
}

.stat-card-red p,
.stat-card-red h3 {
    color: #2572a2;
}

.stat-card-green {
    background: #CBDDE9;
    border-color: #2572a2;
    color: #2572a2;
}

.stat-card-green p,
.stat-card-green h3 {
    color: #2572a2;
}

.stat-card-yellow {
    background: #eab308;
    border-color: #eab308;
    color: #2572a2;
}

.stat-card-yellow p,
.stat-card-yellow h3 {
    color: #2572a2;
}

.stat-card-orange {
    background: #f97316;
    border-color: #f97316;
    color: #2572a2;
}

.stat-card-orange p,
.stat-card-orange h3 {
    color: #2572a2;
}

.stat-card-gray {
    background: #9ca3af;
    border-color: #2572a2;
    color: #2572a2;
}

.stat-card-gray p,
.stat-card-gray h3 {
    color: #2572a2;
}

.stat-card-green .info-icon,
.stat-card-yellow .info-icon,
.stat-card-orange .info-icon,
.stat-card-red .info-icon,
.stat-card-gray .info-icon {
    color: #2572a2;
}

.info-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 16px;
    color: #2572a2;
    cursor: pointer;
}

.info-icon.has-tooltip {
    position: relative;
    display: inline-block;
}

.stat-card .info-icon.has-tooltip {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.tooltip-content {
    display: none;
    position: absolute;
    bottom: 30px;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px;
    width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.info-icon.has-tooltip:hover .tooltip-content {
    display: block;
}

.tooltip-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.tooltip-row:last-child {
    margin-bottom: 0;
}

.tooltip-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

.tooltip-dot.green {
    background-color: #22c55e;
}

.tooltip-dot.yellow {
    background-color: #eab308;
}

.tooltip-dot.orange {
    background-color: #f97316;
}

.tooltip-dot.red {
    background-color: #ef4444;
}

.tooltip-dot.white {
    background-color: #e5e7eb;
    border: 1px solid #9ca3af;
}

.tooltip-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.tooltip-text strong {
    font-size: 13px;
    color: #2572a2;
    font-weight: 600;
}

.tooltip-text span {
    font-size: 12px;
    color: #2572a2;
}

.tooltip-text small {
    font-size: 11px;
    color: #2572a2;
    margin-top: 2px;
}

.stat-card-red .info-icon {
    color: #2572a2;
}



.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
    justify-content: center;
    flex-wrap: nowrap;
}

.tab {
    padding: 16px 24px;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 600;
    color: #474747;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
    min-width: 120px;
    border-radius: 12px;
    text-align: center;
}

.tab.active {
    color: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-color: #2572a2;
}

.tab:hover:not(.active) {
    background-color: #f3f4f6;
    color: #2572a2;
}


.image-preview {
    margin-top: 10px;
    max-width: 100%;
    border-radius: 8px;
}

.image-preview img {
    max-width: 100%;
    border-radius: 8px;
}

.entry-list {
    max-height: 400px;
    overflow-y: auto;
}

.entry-item {
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid;
}

.entry-item h4 {
    margin-bottom: 8px;
    color: #2572a2;
}

.entry-item p {
    color: #2572a2;
    font-size: 14px;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
        border-radius: 16px; 
    }
    
    .mood-selector {
        grid-template-columns: 1fr 1fr;
    }

    .calendar-grid {
        gap: 5px;
    }

    .calendar-day {
        font-size: 12px;
    }
    
    /* Modal responsive styling */
    .modal-box {
        width: 95%;
        max-width: 95vw;
        max-height: 90vh;
        padding: 20px;
    }
    
    .modal-title {
        font-size: 16px;
    }
    
    .modal-message {
        font-size: 13px;
    }
    
    .modal-html {
        font-size: 13px;
    }
}

.week-labels {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2572a2;
    text-align: center;
    font-size: 13px;
}

.week-labels div {
    padding: 8px 0;
    background: #f8fafc;
    border-radius: 8px;
}


.register-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.register-content {
    flex: 1;
    padding: 30px 40px;
    margin: 20px 20px 30px 20px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register-content.question-content {
    justify-content: space-between;
}

.progress-section {
    margin-bottom: 15px;
}

.progress-section-top {
    padding: 15px 40px;
    margin: 0 20px;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #2572a2;
}

.progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #CBDDE9, #16a34a);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.register-form {
    padding: 30px 0;
}

/* Register form - responsive to font size */
body.font-normal .register-form .form-group label {
    font-size: 18px !important;
}

body.font-large .register-form .form-group label {
    font-size: 24px !important;
}

body.font-normal .register-form .form-group input[type="text"],
body.font-normal .register-form .form-group input[type="email"],
body.font-normal .register-form .form-group input[type="password"],
body.font-normal .register-form .form-group input[type="number"],
body.font-normal .register-form .form-group input[type="date"] {
    padding: 14px !important;
    font-size: 16px !important;
}

body.font-large .register-form .form-group input[type="text"],
body.font-large .register-form .form-group input[type="email"],
body.font-large .register-form .form-group input[type="password"],
body.font-large .register-form .form-group input[type="number"],
body.font-large .register-form .form-group input[type="date"] {
    padding: 19px !important;
    font-size: 24px !important;
}

body.font-normal .register-form .radio-wrapper,
body.font-normal .register-form .checkbox-item {
    font-size: 16px;
}

body.font-large .register-form .radio-wrapper,
body.font-large .register-form .checkbox-item {
    font-size: 23px;
}

body.font-normal .register-form .radio-wrapper input[type="radio"] {
    width: 20px;
    height: 20px;
}

body.font-large .register-form .radio-wrapper input[type="radio"] {
    width: 26px;
    height: 26px;
}

body.font-normal .register-form .checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

body.font-large .register-form .checkbox-item input[type="checkbox"] {
    width: 24px;
    height: 24px;
}

body.font-normal .register-form .radio-wrapper,
body.font-normal .register-form .checkbox-item {
    font-size: 16px;
}

body.font-large .register-form .radio-wrapper,
body.font-large .register-form .checkbox-item {
    font-size: 23px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

body.font-normal .form-group label {
    display: block;
    font-weight: 600;
    color: #2572a2;
    margin-bottom: 8px;
    font-size: 18px;
}

body.font-large .form-group label {
    display: block;
    font-weight: 600;
    color: #2572a2;
    margin-bottom: 8px;
    font-size: 24px;
}

body.font-normal .form-group input[type="text"],
body.font-normal .form-group input[type="email"],
body.font-normal .form-group input[type="password"],
body.font-normal .form-group input[type="number"],
body.font-normal .form-group input[type="date"] {
    max-width: 100%;
    width: 100%;
    padding: 14px;
    border: 2px solid #CBDDE9;
    border-radius: 25px;
    font-size: 16px;
    font-family: 'Mitr', sans-serif;
}

body.font-large .form-group input[type="text"],
body.font-large .form-group input[type="email"],
body.font-large .form-group input[type="password"],
body.font-large .form-group input[type="number"],
body.font-large .form-group input[type="date"] {
    max-width: 100%;
    width: 100%;
    padding: 18px;
    border: 2px solid #CBDDE9;
    border-radius: 25px;
    font-size: 23px;
    font-family: 'Mitr', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: #2572a2;
}

.form-row {
    display: flex;
    gap: 30px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-wrapper input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #2572a2;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #2572a2;
}

.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.font-size-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.font-size-selector label {
    font-size: 18px;
    color: #2572a2;
    font-weight: 500;
}

.size-options {
    display: flex;
    gap: 15px;
}

.size-btn {
    background: white;
    color: #2572a2;
    border: 2px solid #CBDDE9;
    padding: 10px 50px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Mitr', sans-serif;
    transition: all 0.3s;
    min-width: 180px;
}

.size-btn:hover {
    background: #CBDDE9;
    border-color: #2572a2;
}

.size-btn.active {
    background: #2572a2;
    color: white;
    border-color: #2572a2;
}

.btn-next {
    background: #CBDDE9;
    color: #2572a2;
    border: none;
    padding: 22px 63px;
    font-size: 25px;
    font-weight: 500;
    border-radius: 11px;
    cursor: pointer;
    font-family: 'Mitr', sans-serif;
    transition: all 0.3s;
}

.btn-next {
    background: #CBDDE9;
    color: #2572a2;
    border: none;
    padding: 22px 63px;
    font-size: 25px;
    font-weight: 500;
    border-radius: 11px;
    cursor: pointer;
    font-family: 'Mitr', sans-serif;
    transition: all 0.3s;
}

.btn-next:hover {
    background: #CBDDE9;
}


.questions-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.question-item {
    margin-bottom: 25px;
    width: 100%;
}

.question-label {
    display: block;
    font-weight: 600;
    color: #2572a2;
    margin-bottom: 12px;
    text-align: center;
    font-size: 18px;
}

.question-options {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.question-options .radio-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.question-options .radio-wrapper input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #2572a2;
}


.about-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.about-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    margin: 20px 20px 30px 20px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
}

.about-title {
    color: #2572a2;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 60px;
    text-align: center;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 120px;
}

.contact-icon {
    color: #2572a2;
    transition: all 0.3s;
}

.contact-icon:hover {
    color: #2572a2;
    transform: scale(1.1);
}

.notice-card {
    text-align: center;
    padding: 40px;
}

.notice-text {
    color: #2572a2;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-understand {
    display: inline-block;
    padding: 14px 60px;
    border: 2px solid #CBDDE9;
    border-radius: 25px;
    color: #2572a2;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Mitr', sans-serif;
}

.btn-understand:hover {
    background: #CBDDE9;
    color: #2572a2;
}

.question-single {
    text-align: center;
    padding: 20px;
    width: 100%;
}

.question-title {
    color: #2572a2;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    line-height: 1.5;
}

.question-choices {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 20px;
    transition: transform 0.2s;
    font-family: 'Mitr', sans-serif;
}

.choice-btn:hover {
    transform: scale(1.05);
}

.choice-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid #d1d5db;
    background: white;
    transition: all 0.3s;
}

.choice-btn:hover .choice-circle {
    transform: scale(1.05);
    border-color: #2572a2;
}

.choice-text {
    font-size: 32px;
    color: #2572a2;
    font-weight: 500;
}

.choice-btn.selected .choice-circle {
    transform: scale(1.05);
    border-color: #2572a2;
    border-width: 4px;
    position: relative;
}

.choice-btn.selected .choice-circle::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #10b981;
    border-radius: 50%;
}

.choice-btn.selected .choice-text {
    color: #2572a2;
    font-weight: 600;
}

.question-hint {
    color: #2572a2;
    font-size: 15px;
    margin-top: 20px;
}

.question-hint-bottom {
    color: #2572a2;
    font-size: 13px;
    text-align: center;
    padding: 15px 20px;
    margin-top: auto;
}

.question-btn-wrapper {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    margin-top: 10px;
}

.question-btn-wrapper .btn-next {
    min-width: 140px;
}


.pro-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 50px;
}

.pro-form .form-group label {
    font-size: 16px;
    font-weight: 600;
    color: #2572a2;
    margin-bottom: 10px;
    display: block;
}

.pro-form .form-group input[type="text"],
.pro-form .form-group input[type="number"],
.pro-form .form-group input[type="date"] {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    border: 2px solid #CBDDE9;
    border-radius: 25px;
    font-size: 16px;
    font-family: 'Mitr', sans-serif;
    transition: all 0.3s;
}

/* Custom placeholder for date input */
.pro-form .form-group input[type="date"]:not(:focus):invalid {
    color: transparent;
}

.pro-form .form-group input[type="date"]:not(:focus):invalid:before {
    content: 'วว/ดด/ปปปป';
    color: #9ca3af;
    position: absolute;
}

.pro-form .form-group input:focus {
    border-color: #2572a2;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.pro-form .form-group input::placeholder {
    color: #2572a2;
}

.gender-options {
    display: flex;
    gap: 15px;
}

.gender-option {
    flex: 1;
    cursor: pointer;
}

.gender-option input {
    display: none;
}

.gender-box {
    display: block;
    padding: 14px 20px;
    text-align: center;
    border: 2px solid #CBDDE9;
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.3s;
}

.gender-option input:checked + .gender-box {
    border-color: #2572a2;
    background: #eff6ff;
    color: #2572a2;
    font-weight: 500;
}

.gender-option:hover .gender-box {
    border-color: #2572a2;
}

/* Responsive styles for register page */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .register-content {
        padding: 20px;
    }
    
    .size-options {
        flex-direction: column;
        width: 100%;
    }
    
    .size-btn {
        width: 100%;
        min-width: auto;
    }
    
    .btn-next {
        width: 100%;
        padding: 18px 40px;
    }
    
    .font-size-description {
        font-size: 14px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body.font-normal .register-form .form-group label,
    body.font-large .register-form .form-group label {
        font-size: 18px !important;
    }
    
    body.font-normal .register-form .form-group input,
    body.font-large .register-form .form-group input {
        font-size: 16px !important;
        padding: 12px !important;
    }
    
    .btn-next {
        font-size: 18px;
        padding: 15px 30px;
    }
    
    .progress-section-top {
        padding: 15px;
    }
    
    .landing-header {
        padding: 15px 20px;
    }
}


.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    margin: 20px 20px 30px 20px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
}

.login-form {
    width: 100%;
    max-width: 400px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form .form-group label {
    display: block;
    font-weight: 600;
    color: #2572a2;
    margin-bottom: 8px;
}

.login-form .form-group input {
    width: 100%;
    max-width: 100%;
    padding: 12px 16px;
    border: 2px solid #CBDDE9;
    border-radius: 25px;
    font-size: 16px;
    font-family: 'Mitr', sans-serif;
}

.login-form .form-group input:focus {
    outline: none;
    border-color: #2572a2;
}

.login-form .form-group .password-wrapper {
    position: relative;
    width: 100% !important;
    display: block !important;
}

.login-form .form-group .password-wrapper input {
    width: 100% !important;
    padding-right: 50px;
    box-sizing: border-box;
}

.login-form .form-group .toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #2572a2;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form .form-group .toggle-password:hover {
    color: #2572a2;
}

.login-form .form-group .toggle-password.showing {
    color: #3b82f6;
}

.login-form .form-group .toggle-password .eye-icon {
    width: 20px;
    height: 20px;
}

.login-form .form-group .toggle-password .eye-on {
    display: none;
}

.login-form .form-group .toggle-password .eye-off {
    display: block;
}

.login-form .form-group .toggle-password.showing .eye-on {
    display: block;
}

.login-form .form-group .toggle-password.showing .eye-off {
    display: none;
}

.login-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.btn-login {
    background: #CBDDE9;
    color: #2572a2;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Mitr', sans-serif;
    transition: all 0.3s;
}

.btn-login:hover {
    background: #CBDDE9;
}

.forgot-link {
    color: #2572a2;
    text-decoration: none;
    font-size: 14px;
}

.forgot-link:hover {
    color: #2572a2;
    text-decoration: underline;
}


.signup-full {
    max-width: 600px;
    margin: 0 auto;
}

.signup-title {
    color: #2572a2;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.signup-full .form-group {
    margin-bottom: 25px;
}

.signup-full .form-group label {
    display: block;
    font-weight: 600;
    color: #2572a2;
    margin-bottom: 10px;
    font-size: 16px;
}

.signup-full .form-group input {
    width: 50%;
    padding: 14px 16px;
    border: 2px solid #CBDDE9;
    border-radius: 25px;
    font-size: 16px;
    font-family: 'Mitr', sans-serif;
    transition: all 0.3s;
    box-sizing: border-box;
}

.signup-full .form-group .password-wrapper input {
    width: 100%;
    padding-right: 50px;
}

.center-input {
    text-align: center;
}

.center-input label {
    display: block;
    text-align: center;
}

.center-input input {
    display: inline-block;
}

.center-input .password-wrapper {
    text-align: left;
}

.center-input .input-status {
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.signup-full .form-group input:focus {
    outline: none;
    border-color: #2572a2;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.signup-full .form-group input::placeholder {
    color: #2572a2;
}

.input-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    min-height: 22px;
    width: fit-content;
    transition: all 0.3s ease;
    animation: fadeIn 0.3s ease;
}

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

.input-status.success {
    color: #15803d;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 1px solid #86efac;
    box-shadow: 0 1px 4px rgba(34, 197, 94, 0.15);
}

.input-status.success::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    background: #CBDDE9;
    color: #2572a2;
    border-radius: 50%;
    font-size: 9px;
    font-weight: bold;
}

.input-status.error {
    color: #b91c1c;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 1px solid #fca5a5;
    box-shadow: 0 1px 4px rgba(239, 68, 68, 0.15);
}

.input-status.error::before {
    content: '✕';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    background: #ef4444;
    color: #2572a2;
    border-radius: 50%;
    font-size: 9px;
    font-weight: bold;
}

.input-status.checking {
    color: #2572a2;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 1px solid #d1d5db;
}

.input-status.checking::before {
    content: '';
    width: 12px;
    height: 12px;
    border: 2px solid #9ca3af;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


.signup-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.signup-card {
    background: transparent;
    padding: 20px 40px;
    width: 100%;
    max-width: 500px;
}

.signup-header {
    text-align: center;
    margin-bottom: 20px;
}

.signup-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #CBDDE9 0%, #CBDDE9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #2572a2;
}

.signup-header h2 {
    color: #2572a2;
    font-size: 22px;
    margin-bottom: 4px;
}

.signup-subtitle {
    color: #2572a2;
    font-size: 14px;
}

.progress-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 0;
}

.progress-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #2572a2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.progress-step.completed {
    background: #CBDDE9;
    color: #2572a2;
}

.progress-step.active {
    background: #CBDDE9;
    color: #2572a2;
}

.progress-line {
    width: 40px;
    height: 3px;
    background: #e5e7eb;
}

.progress-line.completed {
    background: #CBDDE9;
}

.signup-form .form-group {
    margin-bottom: 12px;
}

.signup-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #2572a2;
    margin-bottom: 6px;
    font-size: 14px;
}

.signup-form .form-group label svg {
    color: #2572a2;
}

.signup-form .form-group input {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    border: 2px solid #CBDDE9;
    border-radius: 25px;
    font-size: 16px;
    font-family: 'Mitr', sans-serif;
    transition: all 0.3s;
    box-sizing: border-box;
}

.signup-form .form-group input:focus {
    outline: none;
    border-color: #2572a2;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.signup-form .form-group input::placeholder {
    color: #2572a2;
}

.signup-form .form-group .password-wrapper {
    position: relative;
    width: 100% !important;
    display: block !important;
}

.signup-form .form-group .password-wrapper input {
    width: 100% !important;
    padding-right: 50px;
    box-sizing: border-box;
}

.signup-form .form-group .toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #2572a2;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-form .form-group .toggle-password:hover {
    color: #2572a2;
}

.signup-form .form-group .toggle-password.showing {
    color: #3b82f6;
}

.signup-form .form-group .toggle-password .eye-icon {
    width: 20px;
    height: 20px;
}

.signup-form .form-group .toggle-password .eye-on {
    display: none;
}

.signup-form .form-group .toggle-password .eye-off {
    display: block;
}

.signup-form .form-group .toggle-password.showing .eye-on {
    display: block;
}

.signup-form .form-group .toggle-password.showing .eye-off {
    display: none;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-signup {
    width: 100%;
    padding: 14px;
    background: #CBDDE9;
    color: #2572a2;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Mitr', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-top: 8px;
}

.btn-signup:hover {
    background: #CBDDE9;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(101, 200, 255, 0.3);
}

.login-redirect {
    text-align: center;
    margin-top: 12px;
    color: #2572a2;
    font-size: 14px;
}

.login-redirect a {
    color: #2572a2;
    text-decoration: none;
    font-weight: 500;
}

.login-redirect a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .signup-card {
        padding: 30px 20px;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

.password-wrapper {
    position: relative !important;
    display: inline-block !important;
    width: 50% !important;
}

.password-wrapper input {
    width: 100% !important;
    padding-right: 50px !important;
    box-sizing: border-box !important;
}

.signup-full .form-group .password-wrapper .toggle-password {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    color: #2572a2 !important;
    transition: color 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}

.toggle-password:hover {
    color: #2572a2 !important;
}

.toggle-password.showing {
    color: #3b82f6 !important;
}

.eye-icon {
    width: 20px;
    height: 20px;
}

.toggle-password .eye-on {
    display: none;
}

.toggle-password .eye-off {
    display: block;
}

.toggle-password.showing .eye-on {
    display: block;
}

.toggle-password.showing .eye-off {
    display: none;
}

.signup-card {
    background: transparent;
    border-radius: 24px;
    padding: 40px;
    max-width: 420px;
    margin: 0 auto;
    animation: slideUp 0.5s ease;
}

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

.signup-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #CBDDE9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.3);
}

.signup-icon svg {
    width: 26px;
    height: 26px;
    color: #2572a2;
}

.signup-card .signup-title {
    font-size: 20px;
    font-weight: 600;
    color: #2572a2;
    margin: 0 0 8px;
}

.signup-subtitle {
    color: #2572a2;
    font-size: 14px;
    margin: 0;
}

.signup-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #2572a2;
    margin-bottom: 6px;
}

.signup-form label svg {
    width: 16px;
    height: 16px;
    color: #2572a2;
}

.signup-form input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #CBDDE9;
    border-radius: 25px;
    font-size: 14px;
    font-family: 'Mitr', sans-serif;
    transition: all 0.3s;
    box-sizing: border-box;
    background: #f9fafb;
}

.signup-form input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.signup-form input::placeholder {
    color: #2572a2;
}

.btn-signup {
    width: 100%;
    padding: 16px;
    background: #CBDDE9;
    color: #2572a2;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Mitr', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    margin-top: 24px;
    box-shadow: 0 4px 15px rgba(101, 200, 255, 0.3);
}

.btn-signup:hover {
    background: #CBDDE9;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(101, 200, 255, 0.4);
}

.btn-signup:active {
    transform: translateY(0);
}

.btn-signup svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.btn-signup:hover svg {
    transform: translateX(4px);
}

.signup-form .login-redirect {
    text-align: center;
    margin-top: 12px;
    color: #2572a2;
    font-size: 14px;
}

.signup-form .login-redirect a {
    color: #3b82f6;
    font-weight: 500;
    text-decoration: none;
}

.signup-form .login-redirect a:hover {
    text-decoration: underline;
}

.signup-form .input-status {
    margin-top: 8px;
}

.chat-modal {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    overflow: hidden;
}

.chat-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-header {
    background: linear-gradient(135deg, #CBDDE9 0%, #CBDDE9 100%);
    color: #2572a2;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-avatar svg {
    width: 22px;
    height: 22px;
}

.chat-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-status {
    font-size: 12px;
    opacity: 0.9;
}

.chat-close {
    background: none;
    border: none;
    color: #2572a2;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s;
}

.chat-close:hover {
    background: rgba(255,255,255,0.2);
}

.chat-close svg {
    width: 20px;
    height: 20px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8fafc;
}

.chat-welcome {
    background: white;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #e5e7eb;
}

.chat-welcome p {
    margin: 4px 0;
    color: #2572a2;
    font-size: 14px;
}

.suggested-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggest-btn {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #2572a2;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Mitr', sans-serif;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.suggest-btn:hover {
    background: #CBDDE9;
    color: #2572a2;
    border-color: #2572a2;
}

.chat-message {
    margin-bottom: 12px;
    display: flex;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.bot {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-message.user .message-bubble {
    background: linear-gradient(135deg, #CBDDE9 0%, #CBDDE9 100%);
    color: #2572a2;
    border-bottom-right-radius: 4px;
}

.chat-message.bot .message-bubble {
    background: white;
    color: #2572a2;
    border-bottom-left-radius: 4px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #e5e7eb;
}

.message-bubble.typing {
    display: flex;
    gap: 4px;
    padding: 16px 20px;
}

.message-bubble.typing span {
    width: 8px;
    height: 8px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.message-bubble.typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.message-bubble.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

.chat-input-area {
    padding: 16px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #CBDDE9;
    border-radius: 25px;
    font-size: 14px;
    font-family: 'Mitr', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.chat-input-area input:focus {
    border-color: #2572a2;
}

.chat-send {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #CBDDE9 0%, #CBDDE9 100%);
    border: none;
    border-radius: 50%;
    color: #2572a2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.chat-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(122, 164, 73, 0.4);
}

.chat-send svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 480px) {
    .chat-modal {
        width: calc(100% - 20px);
        height: calc(100% - 120px);
        right: 10px;
        bottom: 90px;
        border-radius: 16px;
    }
}

@media (max-width: 768px) {
    
    .landing-header {
        padding: 12px 15px;
        margin: 0 10px;
        border-radius: 0 0 15px 15px;
    }
    
    .landing-logo {
        gap: 8px;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .logo-text span {
        font-size: 14px;
    }
    
    .landing-nav .nav-link {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .logo-text span {
        font-size: 18px;
    }
    
    .landing-content {
        padding: 20px;
        margin: 15px 10px 20px 10px;
    }
    
    .btn-register {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    
    .register-content {
        padding: 20px 15px;
        margin: 15px 10px 20px 10px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .register-form {
        padding: 20px;
    }
    
    
    .signup-card {
        padding: 20px 15px;
        max-width: 100%;
    }
    
    .signup-form input {
        font-size: 16px;
        padding: 12px;
    }
    
    .signup-icon {
        width: 50px;
        height: 50px;
    }
    
    .signup-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .signup-title {
        font-size: 20px;
    }
    
    
    .login-form {
        padding: 20px;
        max-width: 100%;
    }
    
    
    .question-item {
        padding: 15px;
    }
    
    .question-label {
        font-size: 14px;
    }
    
    .question-options {
        gap: 8px;
    }
    
    .radio-wrapper {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    
    .container {
        padding: 15px;
    }
    
    .tabs {
        gap: 1px;
        padding: 6px;
        background: #f3f4f6;
        border-radius: 12px;
        border-bottom: none;
    }
    
    .tab {
        padding: 10px 4px;
        font-size: 11px;
        border-radius: 8px;
        border-bottom: none;
        flex: 1;
        text-align: center;
        min-width: 0;
        overflow: visible;
        white-space: nowrap;
        max-width: none;
    }
    
    .tab.active {
        background: #CBDDE9;
        color: #2572a2;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(101, 200, 255, 0.3);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    
    .chatbot-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .chatbot-icon {
        width: 50px;
        height: 50px;
    }
    
    .chat-modal {
        width: calc(100% - 20px);
        height: calc(100% - 100px);
        right: 10px;
        bottom: 80px;
        border-radius: 16px;
    }
}


@media (max-width: 480px) {
    
    .landing-header {
        padding: 10px 12px;
        margin: 0 8px;
        border-radius: 0 0 12px 12px;
        gap: 8px;
    }
    
    .tabs {
        gap: 4px;
        margin-bottom: 15px;
        padding: 5px;
        background: #f3f4f6;
        border-radius: 12px;
        border-bottom: none;
    }
    
    .tab {
        padding: 8px 3px;
        font-size: 10px;
        border-radius: 8px;
        border-bottom: none;
        flex: 1;
        text-align: center;
        min-width: 0;
        overflow: visible;
        white-space: nowrap;
        max-width: none;
    }
    
    .tab.active {
        background: #CBDDE9;
        color: #2572a2;
        box-shadow: 0 2px 8px rgba(101, 200, 255, 0.3);
    }
    
    .landing-logo {
        gap: 6px;
    }
    
    .logo-img {
        width: 30px;
        height: 30px;
    }
    
    .logo-text span {
        font-size: 12px;
    }
    
    .landing-nav .nav-link {
        padding: 6px 12px;
        font-size: 12px;
        border-width: 1.5px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .logo-text span {
        font-size: 16px;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    
    .btn-register {
        padding: 12px 25px;
        font-size: 14px;
        width: 90%;
        text-align: center;
    }
    
    .login-link {
        font-size: 14px;
    }
    
    
    .register-content {
        padding: 15px 12px;
        margin: 10px 8px 15px 8px;
    }
    
    .progress-section {
        margin-bottom: 10px;
    }
    
    .progress-text {
        font-size: 12px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group select {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .gender-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .gender-box {
        padding: 12px;
    }
    
    .btn-next,
    .btn-signup,
    .btn-login {
        padding: 12px;
        font-size: 14px;
    }
    
    
    .signup-header {
        margin-bottom: 15px;
    }
    
    .signup-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 8px;
    }
    
    .signup-title {
        font-size: 18px;
    }
    
    .signup-subtitle {
        font-size: 13px;
    }
    
    .signup-form .form-group {
        margin-bottom: 10px;
    }
    
    .signup-form label {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .signup-form label svg {
        width: 14px;
        height: 14px;
    }
    
    
    .questions-form {
        padding: 15px;
    }
    
    .question-item {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .question-label {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .radio-wrapper {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    
    .header-title h1 {
        font-size: 18px;
    }
    
    .header-logo {
        width: 35px;
        height: 35px;
    }
    
    .tabs {
        gap: 4px;
        padding: 4px;
    }
    
    .tab {
        padding: 6px 8px;
        font-size: 10px;
    }
    
    .mood-selector {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .mood-btn {
        padding: 10px 5px;
        font-size: 12px;
    }
    
    .behavior-tracking {
        flex-direction: column;
        gap: 10px;
    }
    
    .card {
        padding: 15px;
    }
    
    .card h2 {
        font-size: 16px;
    }
    
    
    .calendar-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .calendar-header button {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .week-labels {
        font-size: 12px;
        gap: 5px;
    }
    
    .calendar-grid {
        gap: 3px;
    }
    
    .calendar-day {
        font-size: 11px;
        padding: 5px;
    }
    
    
    .stat-card h3 {
        font-size: 24px;
    }
    
    .stat-card p {
        font-size: 12px;
    }
    
    
    .about-title {
        font-size: 20px;
    }
    
    .contact-icons {
        gap: 15px;
    }
    
    .contact-icon svg {
        width: 36px;
        height: 36px;
    }
    
    
    .input-status {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    
    .chatbot-btn {
        bottom: 15px;
        right: 15px;
    }
    
    .chatbot-icon {
        width: 45px;
        height: 45px;
    }
    
    .chat-modal {
        width: calc(100% - 16px);
        height: calc(100% - 80px);
        right: 8px;
        bottom: 70px;
    }
    
    .chat-header {
        padding: 12px 15px;
    }
    
    .chat-header h3 {
        font-size: 14px;
    }
    
    .chat-avatar {
        width: 35px;
        height: 35px;
    }
    
    .chat-messages {
        padding: 15px;
    }
    
    .chat-welcome p {
        font-size: 13px;
    }
    
    .suggest-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .message-bubble {
        font-size: 13px;
        padding: 10px 14px;
    }
    
    .chat-input-area {
        padding: 12px;
    }
    
    .chat-input-area input {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .chat-send {
        width: 40px;
        height: 40px;
    }
}


@media (max-width: 360px) {
    .landing-header {
        padding: 8px 10px;
        margin: 0 5px;
    }
    
    .logo-img {
        width: 25px;
        height: 25px;
    }
    
    .logo-text span {
        font-size: 11px;
    }
    
    .landing-nav .nav-link {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .btn-register {
        font-size: 13px;
        padding: 10px 20px;
    }
    
    .signup-title {
        font-size: 16px;
    }
    
    .mood-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab {
        padding: 6px 2px;
        font-size: 9px;
        min-width: 0;
        overflow: visible;
        white-space: nowrap;
        max-width: none;
        flex: 1;
    }
}

.notice-title {
    color: #2572a2;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.about-you-card {
    position: relative;
    text-align: center;
    padding: 40px 30px;
}

.about-you-score {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 14px;
    color: #2572a2;
}

.about-you-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.about-you-content h2 {
    font-size: 32px;
    font-weight: 600;
    color: #2572a2;
    margin: 0;
}

.about-you-content p {
    font-size: 16px;
    color: #2572a2;
    margin: 0;
}

.about-you-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 18px;
    font-weight: 500;
    color: #2572a2;
    margin: 10px 0;
}

#aboutBMI {
    font-size: 18px;
    font-weight: 500;
    color: #2572a2;
}

.radar-chart-container {
    width: 100%;
    height: 400px;
    margin: 0 auto;
    padding: 20px;
}

.radar-chart-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

#healthRadarChart {
    width: 100% !important;
    height: 100% !important;
}

.health-color-legend {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.color-legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #2572a2;
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.color-green {
    background-color: #22c55e;
}

.color-yellow {
    background-color: #fef08a;
}

.color-orange {
    background-color: #f97316;
}

.color-red {
    background-color: #ef4444;
}

@media (max-width: 768px) {
    .radar-chart-wrapper {
        flex-direction: column;
    }
    
    .health-color-legend {
        margin-top: 20px;
    }
}

.greeting-text {
    color: #2572a2;
    font-size: 16px;
    margin-top: 5px;
}

.user-name {
    color: #2572a2;
    font-weight: 600;
}

.bmi-section {
    margin: 20px 0;
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    text-align: center;
}

.bmi-gauge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.bmi-gauge {
    width: 100%;
    max-width: 300px;
}

.bmi-gauge-bar {
    height: 12px;
    background: linear-gradient(90deg, 
        #22c55e 0%, 
        #22c55e 25%, 
        #eab308 50%, 
        #f97316 75%, 
        #ef4444 100%
    );
    border-radius: 6px;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.bmi-gauge-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: transparent;
    border-radius: 6px;
}

.bmi-gauge-pointer {
    position: absolute;
    top: -6px;
    width: 24px;
    height: 24px;
    background: white;
    border: 3px solid #1e293b;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: left 0.5s ease;
}

.bmi-gauge-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.bmi-value-display {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.bmi-number {
    font-size: 56px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.bmi-unit {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}

.bmi-no-data .bmi-number {
    color: #94a3b8;
}

.bmi-category {
    font-size: 15px;
    font-weight: 600;
    margin: 15px 0 10px;
    padding: 10px 24px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bmi-status {
    font-weight: 600;
}

.bmi-normal {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.2);
}

.bmi-underweight {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.bmi-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    box-shadow: 0 4px 12px rgba(146, 64, 14, 0.2);
}

.bmi-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    box-shadow: 0 4px 12px rgba(153, 27, 27, 0.2);
}

.bmi-category.bmi-no-data {
    background: #f1f5f9;
    color: #64748b;
}

.bmi-description {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-top: 15px;
    padding: 12px 15px;
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== Daily Health Check Modal - World-Class Design ==================== */
.daily-modal-overlay {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.daily-modal-container {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    padding: 0;
    position: relative;
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.03),
        0 2px 4px rgba(0, 0, 0, 0.05),
        0 12px 24px rgba(0, 0, 0, 0.09),
        0 32px 64px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    animation: modalEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalEnter {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.daily-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.daily-close-btn:hover {
    background: #ffffff;
    color: #1e293b;
    transform: scale(1.05);
}

.daily-modal-header {
    background: linear-gradient(135deg, #CBDDE9 0%, #047857 100%);
    padding: 32px 32px 40px;
    text-align: center;
    color: #2572a2;
    position: relative;
    overflow: hidden;
}

.daily-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.daily-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.daily-icon-wrapper svg {
    stroke: white;
    width: 32px;
    height: 32px;
}

.daily-modal-header h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.daily-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.daily-progress-bar {
    position: relative;
    height: 3px;
    background: #f1f5f9;
    margin: 0;
    overflow: visible;
}

.daily-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #CBDDE9, #CBDDE9);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 2px 2px 0;
}

.daily-progress-text {
    position: absolute;
    right: 24px;
    top: 20px;
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    background: white;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.daily-modal-content {
    padding: 28px;
    background: #f8fafc;
}

.daily-question-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #e5e7eb;
}

.question-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #CBDDE9, #CBDDE9);
    color: #2572a2;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.daily-question-text {
    font-size: 17px;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    letter-spacing: -0.01em;
}

.daily-choices-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.daily-choice-btn {
    padding: 16px 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 15px;
    font-family: 'Mitr', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    color: #334155;
    position: relative;
    overflow: hidden;
}

.daily-choice-btn::before {
    display: none;
}

.daily-choice-btn::after {
    content: '';
    position: absolute;
    right: 16px;
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.daily-choice-btn:hover {
    border-color: #2572a2;
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.daily-choice-btn:hover::after {
    border-color: #2572a2;
}

.daily-choice-btn.selected {
    border-color: #2572a2;
    background: linear-gradient(135deg, #CBDDE9 0%, #CBDDE9 100%);
    color: #2572a2;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
}

.daily-choice-btn.selected::after {
    background: white;
    border-color: #2572a2;
    box-shadow: inset 0 0 0 3px #CBDDE9;
}

.choice-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.daily-choice-btn:hover .choice-icon {
    background: #dcfce7;
    transform: scale(1.05);
}

.daily-choice-btn.selected .choice-icon {
    background: rgba(255, 255, 255, 0.25);
}

.daily-modal-footer {
    padding: 0 28px 28px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.daily-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: #CBDDE9;
    transform: scale(1.2);
}

.progress-dot.completed {
    background: #CBDDE9;
}

.daily-next-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #CBDDE9 0%, #047857 100%);
    color: #2572a2;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Mitr', sans-serif;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.daily-next-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4);
}

.daily-next-btn:active:not(:disabled) {
    transform: translateY(0);
}

.daily-next-btn:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 480px) {
    .daily-modal-container {
        margin: 12px;
        max-width: calc(100% - 24px);
        border-radius: 20px;
    }
    
    .daily-modal-header {
        padding: 24px 24px 32px;
    }
    
    .daily-modal-header h2 {
        font-size: 20px;
    }
    
    .daily-modal-content {
        padding: 20px;
    }
    
    .daily-question-card {
        padding: 20px;
    }
    
    .daily-question-text {
        font-size: 16px;
    }
    
    .daily-choice-btn {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .choice-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .daily-modal-footer {
        padding: 0 20px 24px;
    }
}

.progress-dot.active {
    background: #CBDDE9;
    transform: scale(1.3);
}

.progress-dot.completed {
    background: #CBDDE9;
}

.btn-start.btn-health-green {
    color: #2572a2;
    border-color: #2572a2;
}

.btn-start.btn-health-green:hover:not(:disabled) {
    background: #CBDDE9;
    color: #2572a2;
}

.btn-start.btn-health-yellow {
    color: #eab308;
    border-color: #eab308;
}

.btn-start.btn-health-yellow:hover:not(:disabled) {
    background: #eab308;
    color: #2572a2;
}

.btn-start.btn-health-orange {
    color: #f97316;
    border-color: #f97316;
}

.btn-start.btn-health-orange:hover:not(:disabled) {
    background: #f97316;
    color: #2572a2;
}

.btn-start.btn-health-red {
    color: #ef4444;
    border-color: #ef4444;
}

.btn-start.btn-health-red:hover:not(:disabled) {
    background: #ef4444;
    color: #2572a2;
}

.btn-start.btn-health-gray {
    color: #2572a2;
    border-color: #2572a2;
}

.btn-start.btn-health-gray:hover:not(:disabled) {
    background: #9ca3af;
    color: #2572a2;
}

/* ==================== Weekly Health Check Modal - World-Class Design ==================== */
.weekly-modal-overlay {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.weekly-modal-container {
    background: #ffffff;
    border-radius: 24px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.weekly-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #2572a2;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weekly-close-btn:hover {
    background: #ffffff;
    color: #1e293b;
}

.weekly-modal-header {
    background: linear-gradient(135deg, #CBDDE9 0%, #047857 100%);
    padding: 32px 32px 40px;
    text-align: center;
    color: #2572a2;
    position: relative;
    overflow: hidden;
}

.weekly-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

.weekly-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.weekly-icon-wrapper svg {
    stroke: white;
    width: 32px;
    height: 32px;
}

.weekly-modal-header h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.weekly-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.weekly-progress-bar {
    position: relative;
    height: 3px;
    background: #e2e8f0;
    overflow: hidden;
}

.weekly-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #CBDDE9, #CBDDE9);
    transition: width 0.3s ease;
}

.weekly-progress-text {
    position: absolute;
    right: 24px;
    top: -35px;
    font-size: 14px;
    font-weight: 600;
    color: #2572a2;
    background: rgba(5, 150, 105, 0.9);
    padding: 6px 12px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.weekly-modal-content {
    padding: 28px;
    background: #f8fafc;
}

.weekly-question-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.question-badge {
    display: inline-block;
    background: linear-gradient(135deg, #CBDDE9, #CBDDE9);
    color: #2572a2;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.weekly-question-text {
    font-size: 17px;
    color: #1e293b;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

.weekly-choices-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.weekly-choice-btn {
    padding: 16px 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 400;
    color: #2572a2;
    position: relative;
    overflow: hidden;
}

.weekly-choice-btn::before {
    display: none;
}

.weekly-choice-btn::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.weekly-choice-btn:hover {
    border-color: #2572a2;
    background: #f0fdf4;
    transform: translateY(-1px);
}

.weekly-choice-btn:hover::after {
    border-color: #2572a2;
}

.weekly-choice-btn.selected {
    border-color: #2572a2;
    background: linear-gradient(135deg, #CBDDE9 0%, #CBDDE9 100%);
    color: #2572a2;
    transform: translateY(-2px);
}

.weekly-choice-btn.selected::after {
    background: transparent;
    border-color: #2572a2;
}

.choice-icon {
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.weekly-choice-btn:hover .choice-icon {
    background: #dcfce7;
    transform: scale(1.05);
}

.weekly-choice-btn.selected .choice-icon {
    background: rgba(255, 255, 255, 0.25);
}

.weekly-modal-footer {
    padding: 0 28px 28px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.weekly-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.progress-dot-small {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.2s ease;
}

.progress-dot-small.completed {
    background: #CBDDE9;
    transform: scale(1.2);
}

.progress-dot-small.active {
    background: #CBDDE9;
    transform: scale(1.4);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}

.weekly-next-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #CBDDE9 0%, #CBDDE9 100%);
    color: #2572a2;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.weekly-next-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4);
}

.weekly-next-btn:active:not(:disabled) {
    transform: translateY(0);
}

.weekly-next-btn:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 480px) {
    .weekly-modal-container {
        margin: 12px;
        max-width: calc(100% - 24px);
        max-height: calc(100vh - 24px);
    }
    
    .weekly-modal-header {
        padding: 24px 24px 32px;
    }
    
    .weekly-modal-header h2 {
        font-size: 20px;
    }
    
    .weekly-modal-content {
        padding: 20px;
    }
    
    .weekly-question-card {
        padding: 20px;
    }
    
    .weekly-question-text {
        font-size: 16px;
    }
    
    .weekly-choice-btn {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .choice-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .weekly-modal-footer {
        padding: 0 20px 24px;
    }
    
    .weekly-dots {
        gap: 4px;
    }
    
    .progress-dot-small {
        width: 5px;
        height: 5px;
    }
}


/* Question Review Section */
.question-review-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-left: 6px solid #ef4444;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.question-review-item.expanded {
    border-left-color: #CBDDE9;
}

.question-review-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.question-number {
    background: #f3f4f6;
    color: #2572a2;
    font-weight: 600;
    font-size: 16px;
    min-width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.question-text {
    flex: 1;
    color: #2572a2;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.question-review-item .question-choices {
    margin-top: 15px;
    padding-left: 50px;
    display: none;
}

.question-review-item.expanded .question-choices {
    display: block;
}

.choice-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 10px;
    background: #f9fafb;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.choice-option.selected {
    background: #d1fae5;
    border-color: #22c55e;
}

.choice-option .choice-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    flex-shrink: 0;
    position: relative;
}

.choice-option.selected .choice-circle {
    border-color: #22c55e;
    background: #22c55e;
}

.choice-option.selected .choice-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
}

.choice-label {
    color: #2572a2;
    font-size: 15px;
}

.expand-icon {
    margin-left: auto;
    color: #9ca3af;
    font-size: 18px;
    transition: transform 0.3s;
}

.question-review-item.expanded .expand-icon {
    transform: rotate(180deg);
}

/* Weekly Check Page Layout */
.question-section-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    padding: 60px 20px 40px 20px;
    text-align: center;
}

.form-navigation-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 20px 40px;
    margin-top: auto;
}

.question-content {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 120px);
}

/* Responsive */
@media (max-width: 768px) {
    .form-navigation-right {
        justify-content: center;
        padding: 20px;
    }
    
    .question-section-center {
        padding: 40px 20px 20px 20px;
    }
}

/* Guest Actions Buttons */
#guestActions {
    display: flex;
    gap: 10px;
    align-items: center;
}

#guestActions .btn {
    white-space: nowrap;
}
