/*
 * cute-pages.css
 * ปรับหน้าฝั่งลูกค้าที่เหลือ (เลือกห้อง ข้อมูลน้อง ชำระเงิน โปรไฟล์ แพ็กเกจ กระเป๋า เข้าสู่ระบบ ฯลฯ)
 * ให้เข้าชุดกับธีมใหม่ใน cute.css โดยไม่แก้โครงสร้างของแต่ละหน้า
 * ลำดับการโหลด: <style> ของหน้า -> cute.css -> cute-pages.css -> responsive.css
 */
@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@400;500;600&family=Mali:wght@500;600&display=swap');

/* เมนูของหน้าที่กำลังเปิดอยู่ */
.nav-links a.current:not(.user-badge) { background: var(--peach); }

/* ---------- หัวหน้า (แถบบน) : เปลี่ยนจากรูปถ่ายเป็นแถบสีครีมมีวงกลมพาสเทล ---------- */
.hero-section {
    background: none !important; height: auto !important; min-height: 0 !important;
    padding: 34px 20px 92px; position: relative; overflow: hidden; display: block; text-align: center;
}
.hero-section::before, .hero-section::after { content: none; }   /* โทนคลีน: ไม่มีวงกลมสี */
.hero-overlay { display: none !important; }
.hero-content { position: relative; z-index: 1; color: var(--brown-dark) !important; margin-top: 0 !important; }
.hero-content h2 { font-size: 30px !important; color: var(--brown-dark) !important; text-shadow: none !important; font-weight: 600; }
.hero-content h2::before { content: '🐾 '; }
.hero-content p { color: var(--brown-soft) !important; text-shadow: none !important; }

/* ---------- กล่องเนื้อหา ---------- */
.booking-container, .card, .login-container, .register-container, .box, .success-card, .profile-sidebar {
    border: 2px solid var(--line) !important; border-radius: var(--radius) !important; box-shadow: var(--shadow) !important; background: #fff;
}
.booking-container { margin-top: -64px !important; }
.summary-card, .summary-banner, .payment-box, .pet-block, .room-card, .booking-item, .pet-card, .review-box, .consent-box, .pay-box {
    border-width: 2px !important; border-color: var(--line) !important; border-radius: 22px !important;
}
.summary-card, .summary-banner { background: var(--cream) !important; }
.new-pet-form, .watchlist-section { border-radius: 20px !important; border: 2px dashed #ecd9c2 !important; background: var(--cream) !important; }
.watchlist-section { margin-top: 18px; }

.card-title, .summary-section-title, .form-section-title, .watchlist-title, .pet-block-title, .section-title, .addon-title {
    font-family: 'Mitr', 'Kanit', 'KeepColor', 'Noto Emoji', sans-serif !important; color: var(--brown-dark);
}
.summary-section-title, .form-section-title { border-bottom: 2px dashed var(--line) !important; }

/* ---------- แถบขั้นตอน 1-4 ---------- */
.stepper::before { height: 0 !important; background: none !important; border-top: 3px dotted #e6d3bd; top: 18px !important; }
.step { background: transparent !important; }
.step-circle {
    width: 38px !important; height: 38px !important; background: var(--cream-deep) !important; color: var(--brown-soft) !important;
    border: 3px solid #fff !important; box-shadow: 0 0 0 2px var(--line);
}
.step.done .step-circle { background: #e3efe6 !important; color: #2f7a52 !important; box-shadow: 0 0 0 2px #bfe3cf; }
.step.active .step-circle { background: var(--brown) !important; color: #fff !important; box-shadow: 0 0 0 2px var(--brown), 0 6px 14px rgba(139, 94, 52, 0.3) !important; }

/* ---------- ช่องกรอก ---------- */
.form-control, .form-input, .form-select, .form-textarea, .opt-input, .review-box select, .review-box textarea, .inline-form input[type=text] {
    border: 2px solid var(--line) !important; border-radius: 16px !important; background-color: var(--cream) !important;
}
.form-control:focus, .form-input:focus, .form-select:focus, .form-textarea:focus, .opt-input:focus {
    border-color: var(--brown) !important; background-color: #fff !important; box-shadow: 0 0 0 4px rgba(139, 94, 52, 0.10) !important;
}
input[type="file"].form-control, input[type="file"].file, input[type="file"].file-input-sm { border-style: dashed !important; border-color: #d9bf9f !important; background: #fff !important; }
.form-control:disabled { background-color: #f6efe6 !important; }

/* ตัวเลือกแบบปุ่ม (เพศ ทำหมัน วัคซีน ฯลฯ) */
.radio-label { border: 2px solid var(--line) !important; border-radius: 16px !important; background: #fff !important; }
.radio-box input[type="radio"]:checked + .radio-label { border-color: var(--brown) !important; background: #fff3e3 !important; color: var(--brown) !important; box-shadow: 0 6px 12px rgba(139, 94, 52, 0.12); }
.addon-item, .item, .opt-check { border-radius: 16px !important; }
.addon-item, .item { border: 2px solid var(--line) !important; background: #fff !important; }
.addon-item:has(input:checked), .item:has(input:checked) { border-color: var(--brown) !important; background: #fff3e3 !important; }

/* ---------- ปุ่ม ---------- */
.btn, .submit-btn, .select-room-btn, .btn-waitlist, .opt-btn, .btn-mini, .back-edit-btn, .line-btn, .google-btn, .quick button {
    border-radius: 999px !important; font-family: 'Mitr', 'Kanit', 'KeepColor', 'Noto Emoji', sans-serif !important; font-weight: 500 !important;
}
.btn-primary, .submit-btn, .select-room-btn, .opt-btn, .btn-mini.primary,
.container > form > .btn, .container .card > .btn, form.card > .btn {
    background-color: var(--brown) !important; color: #fff !important; border: none !important;
    box-shadow: 0 4px 0 #6f4826, 0 10px 18px rgba(139, 94, 52, 0.22) !important; transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover, .submit-btn:hover, .select-room-btn:hover, .opt-btn:hover, .btn-mini.primary:hover {
    transform: translateY(-2px) !important; box-shadow: 0 6px 0 #6f4826, 0 14px 22px rgba(139, 94, 52, 0.26) !important;
}
.btn-primary:active, .submit-btn:active, .select-room-btn:active { transform: translateY(3px) !important; box-shadow: 0 1px 0 #6f4826 !important; }
.btn-secondary, .btn-outline { border: 2px solid var(--line) !important; background: #fff !important; }
.btn-waitlist { box-shadow: 0 4px 0 #b86f00 !important; }

/* ---------- หน้าเลือกห้อง ---------- */
.room-card { overflow: hidden; }
.room-details h3 { font-family: 'Mitr', 'Kanit', 'KeepColor', 'Noto Emoji', sans-serif; }
.room-price { font-family: 'Mitr', 'Kanit', 'KeepColor', 'Noto Emoji', sans-serif !important; }
.status-badge { border-radius: 999px !important; }

/* ---------- หน้าชำระเงิน ---------- */
.total-row { border-top: 2px dashed #e6d3bd !important; font-family: 'Mitr', 'Kanit', 'KeepColor', 'Noto Emoji', sans-serif; }
.qr-image { border-radius: 18px !important; border: 2px solid var(--line) !important; }
.success-box h3 { font-family: 'Mitr', 'Kanit', 'KeepColor', 'Noto Emoji', sans-serif; }

/* ---------- โปรไฟล์ ---------- */
.profile-header h2 { font-family: 'Mitr', 'Kanit', 'KeepColor', 'Noto Emoji', sans-serif; }
.member-id, .ref-code { border-radius: 999px !important; }
.pet-flag, .pet-age { border-radius: 999px !important; }
.balance .num { font-family: 'Mitr', 'Kanit', 'KeepColor', 'Noto Emoji', sans-serif; }

/* ---------- เข้าสู่ระบบ / สมัครสมาชิก / กรอกเบอร์ ---------- */
/* ใช้โลโก้จริงของร้านแทนไอคอนอุ้งเท้า */
.login-container .logo-icon, .register-container .logo-icon, .box .logo-icon {
    background: url('../../image/logo.jpg') center / cover no-repeat !important; font-size: 0 !important; width: 56px !important; height: 56px !important; border: 2px solid var(--line);
}

/* ---------- ข้อความแจ้งเตือน ---------- */
.error-box, .alert, .alert-box, .alert-error { border-radius: 16px !important; border-width: 2px !important; }

@media (max-width: 600px) {
    .hero-section { padding: 26px 16px 86px; }
    .hero-content h2 { font-size: 24px !important; }
    .booking-container { margin-top: -62px !important; }
    .step-circle { width: 34px !important; height: 34px !important; }
    .stepper::before { top: 16px !important; }
}
