/* =====================
   CSS Reset & Base
   ===================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background: #F2F2F2;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1A1A1A;
    line-height: 1.5;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
}

ul, ol {
    list-style: none;
}

/* =====================
   App Container
   ===================== */
.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: #FFFFFF;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.12);
    overflow-x: hidden;
}

/* =====================
   Hero / Auth Section
   ===================== */
.hero-section {
    background: #F5B731;
    padding: 40px 24px 60px;
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-section .clinic-name {
    color: white;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-top: 12px;
    letter-spacing: 0.5px;
}

.hero-section .clinic-sub {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    text-align: center;
    margin-top: 4px;
}

.hero-section .doctor-name {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin-top: 8px;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctor-avatar-hero {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 0;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.6);
}

/* =====================
   Form Section
   ===================== */
.form-section {
    background: #F2F2F2;
    border-radius: 30px 30px 0 0;
    margin-top: -30px;
    padding: 30px 24px 40px;
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 220px);
}

.form-section h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 24px;
}

/* =====================
   Input Fields
   ===================== */
.input-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.input-wrapper .input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #888888;
    display: flex;
    align-items: center;
}

.input-field {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border-radius: 50px;
    border: none;
    background: #FFFFFF;
    font-size: 15px;
    color: #1A1A1A;
    outline: none;
    transition: box-shadow 0.2s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.input-field:focus {
    box-shadow: 0 0 0 2px #F5B731;
}

.input-field::placeholder {
    color: #AAAAAA;
}

.input-field.no-icon {
    padding-left: 20px;
}

.eye-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888888;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
}

.mobile-prefix {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #1A1A1A;
    font-weight: 600;
    font-size: 15px;
}

.input-field.with-prefix {
    padding-left: 55px;
}

/* =====================
   Buttons
   ===================== */
.btn-primary {
    width: 100%;
    padding: 16px;
    background: #F5B731;
    border: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    letter-spacing: 0.3px;
    display: block;
    text-align: center;
}

.btn-primary:hover {
    background: #D9A220;
}

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

.btn-outline {
    background: white;
    border: 2px solid #F5B731;
    color: #F5B731;
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
}

.btn-outline:hover {
    background: #F5B731;
    color: white;
}

.btn-white {
    background: white;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-white:hover {
    background: #f0f0f0;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
    width: auto;
}

/* =====================
   Auth Links
   ===================== */
.auth-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

.auth-links a {
    color: #888888;
    font-size: 14px;
    transition: color 0.2s;
}

.auth-links a:hover {
    color: #F5B731;
}

.auth-links .divider {
    color: #CCCCCC;
}

/* =====================
   Bottom Navigation
   ===================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: #F5B731;
    display: flex;
    justify-content: space-around;
    padding: 10px 0 16px;
    z-index: 1000;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: rgba(255,255,255,0.75);
    font-size: 10px;
    text-decoration: none;
    transition: color 0.2s ease;
    min-width: 48px;
}

.nav-item.active {
    color: white;
    font-weight: 700;
}

.nav-item svg {
    width: 22px;
    height: 22px;
}

/* =====================
   Card
   ===================== */
.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 16px;
}

/* =====================
   Page Header
   ===================== */
.page-header {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 12px;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.page-header .back-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F2F2F2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    color: #1A1A1A;
    flex-shrink: 0;
    transition: background 0.2s;
}

.page-header .back-btn:hover {
    background: #e0e0e0;
}

.page-header h1 {
    font-size: 18px;
    font-weight: 700;
    flex: 1;
}

.page-header .header-action {
    color: #1A1A1A;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* =====================
   Badge
   ===================== */
.badge-yellow {
    background: #F5B731;
    color: white;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.badge-count {
    background: #F5B731;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* =====================
   Star Rating
   ===================== */
.star-rating {
    color: #F5B731;
    font-size: 14px;
}

.rating-text {
    color: #888888;
    font-size: 13px;
    margin-left: 4px;
}

/* =====================
   Promo Banner
   ===================== */
.promo-banner {
    background: #F5B731;
    border-radius: 16px;
    padding: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promo-banner .promo-text h3 {
    font-size: 28px;
    font-weight: 800;
    color: white;
    line-height: 1.1;
}

.promo-banner .promo-text p {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    margin: 6px 0 14px;
}

.promo-banner .promo-deco {
    position: absolute;
    right: -20px;
    top: -20px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}

/* =====================
   Product Grid
   ===================== */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.product-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}

.product-card .product-img {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 8px;
}

.product-card .product-info {
    padding: 10px 12px 12px;
}

.product-card .product-name {
    font-size: 13px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card .product-price {
    font-size: 15px;
    font-weight: 700;
    color: #F5B731;
    margin-bottom: 8px;
}

.product-card .wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: color 0.2s;
}

.product-card .wishlist-btn.active,
.product-card .wishlist-btn:hover {
    color: #e74c3c;
}

/* =====================
   Treatment Cards
   ===================== */
.treatment-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.treatment-card .treatment-img {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    font-weight: 600;
    text-align: center;
}

.treatment-card .treatment-info {
    padding: 12px;
}

.treatment-card .treatment-name {
    font-size: 13px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 4px;
    line-height: 1.3;
}

.treatment-card .sessions-badge {
    background: #FFF8E7;
    color: #F5B731;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 6px;
}

/* =====================
   OTP Inputs
   ===================== */
.otp-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 20px 0;
}

.otp-box {
    width: 44px;
    height: 52px;
    text-align: center;
    border-radius: 10px;
    border: 2px solid #E0E0E0;
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
    background: white;
    outline: none;
    transition: border-color 0.2s ease;
}

.otp-box:focus {
    border-color: #F5B731;
    box-shadow: 0 0 0 3px rgba(245,183,49,0.2);
}

/* =====================
   Time Slots
   ===================== */
.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.time-slot {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1.5px solid #E0E0E0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    background: white;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.time-slot:hover {
    border-color: #F5B731;
    color: #F5B731;
}

.time-slot.selected {
    background: #F5B731;
    color: white;
    border-color: #F5B731;
    font-weight: 600;
}

/* =====================
   Date Selector
   ===================== */
.date-selector {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.date-selector::-webkit-scrollbar {
    display: none;
}

.date-item {
    min-width: 54px;
    padding: 10px 8px;
    text-align: center;
    border-radius: 10px;
    border: 1.5px solid #E0E0E0;
    cursor: pointer;
    flex-shrink: 0;
    background: white;
    transition: all 0.2s ease;
}

.date-item .date-num {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    display: block;
}

.date-item .date-day {
    font-size: 11px;
    color: #888888;
    display: block;
    margin-top: 2px;
}

.date-item.active,
.date-item:hover {
    background: #F5B731;
    border-color: #F5B731;
}

.date-item.active .date-num,
.date-item.active .date-day,
.date-item:hover .date-num,
.date-item:hover .date-day {
    color: white;
}

/* =====================
   Cart
   ===================== */
.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item .cart-img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    font-weight: 600;
    text-align: center;
}

.cart-item .cart-info {
    flex: 1;
    min-width: 0;
}

.cart-item .cart-name {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item .cart-sub {
    font-size: 12px;
    color: #888888;
    margin-top: 2px;
}

.cart-item .cart-price {
    font-size: 15px;
    font-weight: 700;
    color: #F5B731;
    margin-top: 4px;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid #E0E0E0;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #555;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.qty-btn:hover {
    border-color: #F5B731;
    color: #F5B731;
}

.qty-value {
    font-size: 16px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    padding: 4px;
    transition: color 0.2s;
}

.remove-btn:hover {
    color: #e74c3c;
}

/* =====================
   Order Summary
   ===================== */
.order-summary {
    background: #F9F9F9;
    border-radius: 12px;
    padding: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: #555;
}

.summary-row.total {
    border-top: 1px solid #E0E0E0;
    margin-top: 6px;
    padding-top: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
}

/* =====================
   Home Page
   ===================== */
.home-topbar {
    display: flex;
    align-items: center;
    padding: 16px;
    background: white;
    gap: 12px;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #F5B731;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    overflow: hidden;
}

.home-topbar .user-info {
    flex: 1;
}

.home-topbar .user-name {
    font-size: 15px;
    font-weight: 700;
    color: #1A1A1A;
}

.home-topbar .user-greeting {
    font-size: 12px;
    color: #888888;
}

.notification-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFF8E7;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F5B731;
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.section-title {
    font-size: 17px;
    font-weight: 700;
    color: #1A1A1A;
}

.see-all {
    font-size: 13px;
    color: #F5B731;
    font-weight: 600;
}

.home-section {
    padding: 0 16px;
    margin-bottom: 24px;
}

/* Horizontal scroll */
.h-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.h-scroll::-webkit-scrollbar {
    display: none;
}

.h-scroll .product-card {
    min-width: 160px;
    flex-shrink: 0;
}

/* =====================
   Schedule Card
   ===================== */
.schedule-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.schedule-icon {
    width: 48px;
    height: 48px;
    background: #FFF8E7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #F5B731;
}

.schedule-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1A1A1A;
}

.schedule-info p {
    font-size: 13px;
    color: #888888;
    margin-top: 3px;
}

.schedule-info .schedule-time {
    font-size: 12px;
    color: #F5B731;
    font-weight: 600;
    margin-top: 6px;
}

/* =====================
   Search Bar
   ===================== */
.search-bar {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.search-input {
    flex: 1;
    border: none;
    padding: 13px 16px 13px 20px;
    font-size: 14px;
    color: #1A1A1A;
    background: transparent;
    outline: none;
}

.search-input::placeholder {
    color: #AAAAAA;
}

.search-btn {
    background: #F5B731;
    border: none;
    padding: 11px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 4px;
    border-radius: 50px;
    transition: background 0.2s;
}

.search-btn:hover {
    background: #D9A220;
}

/* =====================
   Tab Selector
   ===================== */
.tab-selector {
    display: flex;
    background: #F2F2F2;
    border-radius: 50px;
    padding: 4px;
    gap: 4px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: #888888;
    transition: all 0.2s ease;
    text-align: center;
}

.tab-btn.active {
    background: #F5B731;
    color: white;
}

/* =====================
   Checkout Sheet
   ===================== */
.checkout-overlay {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    display: none;
}

.checkout-overlay.show {
    display: block;
}

.checkout-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #F5B731;
    border-radius: 24px 24px 0 0;
    padding: 20px 24px 40px;
}

.checkout-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkout-sheet h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.close-sheet {
    background: rgba(255,255,255,0.3);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.checkout-row:last-of-type {
    border-bottom: none;
}

.checkout-row .label {
    font-size: 15px;
    font-weight: 600;
    color: white;
}

.checkout-row .value {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkout-terms {
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    text-align: center;
    margin: 16px 0;
    line-height: 1.6;
}

/* =====================
   Success / Failed Pages
   ===================== */
.success-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: white;
}

.success-icon-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #E8F5E9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.success-icon-wrap::before,
.success-icon-wrap::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(76,175,80,0.1);
}

.success-icon-wrap::before {
    width: 130px;
    height: 130px;
}

.success-icon-wrap::after {
    width: 160px;
    height: 160px;
}

.confetti {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

/* =====================
   Profile Page
   ===================== */
.profile-header {
    background: #F5B731;
    padding: 32px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    overflow: hidden;
}

.profile-header .user-name {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.profile-header .user-contact {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-top: 4px;
}

.menu-list {
    padding: 8px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 14px;
    color: #1A1A1A;
    border-bottom: 1px solid #F5F5F5;
    transition: background 0.2s;
}

.menu-item:hover {
    background: #FAFAFA;
}

.menu-item .menu-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #FFF8E7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F5B731;
    flex-shrink: 0;
}

.menu-item .menu-label {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

.menu-item .menu-arrow {
    color: #CCCCCC;
}

/* =====================
   Appointment Page
   ===================== */
.section-label {
    font-size: 15px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 12px;
}

.select-field {
    width: 100%;
    padding: 14px 20px;
    border-radius: 50px;
    border: 1.5px solid #E0E0E0;
    background: white;
    font-size: 14px;
    color: #1A1A1A;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 40px;
    transition: border-color 0.2s;
}

.select-field:focus {
    border-color: #F5B731;
}

.gender-toggle {
    display: flex;
    gap: 12px;
}

.gender-option {
    flex: 1;
    padding: 12px;
    border: 1.5px solid #E0E0E0;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    background: white;
    transition: all 0.2s ease;
}

.gender-option.selected {
    background: #F5B731;
    color: white;
    border-color: #F5B731;
}

.textarea-field {
    width: 100%;
    padding: 14px 20px;
    border-radius: 16px;
    border: 1.5px solid #E0E0E0;
    background: white;
    font-size: 14px;
    color: #1A1A1A;
    outline: none;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.2s;
}

.textarea-field:focus {
    border-color: #F5B731;
}

/* =====================
   Article Cards
   ===================== */
.article-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    gap: 12px;
    padding: 12px;
    align-items: center;
}

.article-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    font-weight: 600;
    text-align: center;
}

.article-info .article-title {
    font-size: 14px;
    font-weight: 700;
    color: #1A2B6B;
    line-height: 1.3;
    margin-bottom: 6px;
}

.article-info .article-excerpt {
    font-size: 12px;
    color: #888888;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =====================
   Article Detail
   ===================== */
.article-hero {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    font-weight: 600;
}

.article-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #888888;
    padding: 12px 16px;
}

.article-content {
    padding: 0 16px 16px;
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 20px;
    color: #F5B731;
    font-weight: 700;
    margin-bottom: 12px;
}

/* =====================
   Accordion
   ===================== */
.accordion-item {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
}

.accordion-body {
    background: #FAFAFA;
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-body.open {
    max-height: 300px;
    padding: 12px 16px;
}

/* =====================
   Specialities Banner
   ===================== */
.speciality-banner {
    background: linear-gradient(135deg, #4A1520 0%, #7B2D3E 100%);
    border-radius: 16px;
    padding: 24px 20px;
    color: white;
    margin: 12px 16px;
    position: relative;
    overflow: hidden;
}

.speciality-banner::before {
    content: '';
    position: absolute;
    right: -30px;
    top: -30px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
}

.speciality-banner h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.speciality-banner .banner-actions {
    display: flex;
    gap: 10px;
}

.btn-banner-outline {
    padding: 8px 18px;
    border: 2px solid white;
    border-radius: 50px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-banner-outline:hover {
    background: white;
    color: #4A1520;
}

.btn-banner-filled {
    padding: 8px 18px;
    border: 2px solid white;
    border-radius: 50px;
    color: #4A1520;
    font-size: 13px;
    font-weight: 600;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

/* =====================
   Treatment Detail
   ===================== */
.treatment-hero {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    font-weight: 700;
}

.golden-divider {
    height: 4px;
    background: linear-gradient(90deg, #F5B731, #D9A220);
    width: 100%;
}

.sub-treatment-card {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    align-items: flex-start;
}

.sub-treatment-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    font-weight: 600;
    text-align: center;
}

/* =====================
   Order List
   ===================== */
.order-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.order-img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    font-weight: 600;
    text-align: center;
}

.order-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 4px;
}

.order-info .order-no {
    font-size: 12px;
    color: #888888;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-delivered { background: #E8F5E9; color: #2E7D32; }
.status-pending { background: #FFF8E7; color: #F57F17; }
.status-processing { background: #E3F2FD; color: #1565C0; }
.status-cancelled { background: #FFEBEE; color: #C62828; }
.status-confirmed { background: #E8F5E9; color: #2E7D32; }

/* =====================
   Social Links
   ===================== */
.social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(245,183,49,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F5B731;
    transition: background 0.2s;
}

.social-link:hover {
    background: #F5B731;
    color: white;
}

/* =====================
   Error / Alert
   ===================== */
.alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
}

.alert-error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

.alert-success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

/* =====================
   Utilities
   ===================== */
.pb-80 {
    padding-bottom: 80px;
}

.pb-24 {
    padding-bottom: 24px;
}

.mt-16 { margin-top: 16px; }
.mt-12 { margin-top: 12px; }
.mt-8 { margin-top: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-12 { margin-bottom: 12px; }
.mb-8 { margin-bottom: 8px; }
.p-16 { padding: 16px; }

.text-center { text-align: center; }
.text-gray { color: #888888; }
.text-yellow { color: #F5B731; }
.text-dark { color: #1A1A1A; }
.font-bold { font-weight: 700; }
.font-600 { font-weight: 600; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }

.divider {
    height: 1px;
    background: #F0F0F0;
    margin: 16px 0;
}

.empty-state {
    text-align: center;
    padding: 40px 24px;
    color: #888888;
}

.empty-state svg {
    margin: 0 auto 16px;
    opacity: 0.4;
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
}

/* =====================
   Success page golden
   ===================== */
.golden-page {
    min-height: 100vh;
    background: #F5B731;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    position: relative;
    overflow: hidden;
}

.golden-page .deco-line {
    position: absolute;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
}

.golden-page h1 {
    font-size: 26px;
    font-weight: 800;
    color: white;
    text-align: center;
    margin: 20px 0 10px;
}

.golden-page p {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    text-align: center;
    margin-bottom: 32px;
}

/* =====================
   Month/Year Selector
   ===================== */
.month-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: 50px;
    padding: 10px 16px;
    border: 1.5px solid #E0E0E0;
    cursor: pointer;
}

.month-selector span {
    font-size: 15px;
    font-weight: 600;
    color: #1A1A1A;
}

/* =====================
   Product Detail
   ===================== */
.product-detail-img {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    font-weight: 700;
}

.qty-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
}

.price-large {
    font-size: 24px;
    font-weight: 800;
    color: #1A1A1A;
}

/* =====================
   Scrollbar hidden for all
   ===================== */
.no-scrollbar {
    scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* =====================
   Responsive adjustments
   ===================== */
@media (max-width: 480px) {
    .app-container {
        box-shadow: none;
    }
}
