/* ==========================================================
   ADINDA SALON - Customer App Stylesheet
   Tema: Pink elegant, cute, girly
   ========================================================== */

:root {
  --pink-deepest: #880E4F;
  --pink-deep: #C2185B;
  --pink-main: #EC407A;
  --pink-soft: #F8BBD0;
  --pink-pale: #FCE4EC;
  --pink-blush: #FFF0F5;
  --cream: #FFFBF9;
  --gold: #D4A24C;
  --text-dark: #3A2233;
  --text-muted: #8A6B78;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(194, 24, 91, 0.10);
  --shadow-hover: 0 8px 28px rgba(194, 24, 91, 0.18);
  --radius: 18px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--pink-blush);
  color: var(--text-dark);
  padding-bottom: 76px; /* space for bottom nav on mobile */
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, .heading-font {
  font-family: var(--font-heading);
  color: var(--pink-deepest);
  font-weight: 700;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ---------------- Top Bar / Header ---------------- */
.topbar {
  background: linear-gradient(135deg, var(--pink-deep), var(--pink-main));
  color: var(--white);
  padding: 14px 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-placeholder {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--pink-soft);
}

.logo-placeholder img { width: 100%; height: 100%; object-fit: cover; }

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.3px;
}

.brand-tag {
  font-size: 0.68rem;
  color: var(--pink-pale);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.header-icons { display: flex; gap: 14px; align-items: center; }
.header-icons a { color: var(--white); font-size: 1.2rem; }

.search-bar {
  background: var(--white);
  border-radius: 30px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.search-bar input {
  border: none;
  outline: none;
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: transparent;
}

.search-bar .icon { color: var(--pink-main); }

/* ---------------- Bottom Nav (mobile) ---------------- */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0 8px;
  box-shadow: 0 -2px 16px rgba(194,24,91,0.12);
  z-index: 200;
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
  flex: 1;
}

.bottom-nav a .nav-icon { font-size: 1.25rem; }
.bottom-nav a.active { color: var(--pink-deep); }

/* ---------------- Desktop Nav ---------------- */
.desktop-nav {
  display: none;
}

@media (min-width: 860px) {
  .desktop-nav {
    display: flex;
    gap: 26px;
  }
  .desktop-nav a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.94rem;
    opacity: 0.92;
  }
  .desktop-nav a:hover, .desktop-nav a.active { opacity: 1; border-bottom: 2px solid var(--white); padding-bottom: 4px; }
  .bottom-nav { display: none; }
  body { padding-bottom: 0; }
}

/* ---------------- Hero ---------------- */
.hero {
  background: linear-gradient(160deg, var(--pink-pale), var(--pink-blush));
  padding: 34px 0 28px;
  text-align: center;
}

.hero h1 { font-size: 1.7rem; margin-bottom: 8px; }
.hero p { color: var(--text-muted); font-size: 0.92rem; max-width: 480px; margin: 0 auto; }

.hero .btn-cta { margin-top: 18px; display: inline-block; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary { background: linear-gradient(135deg, var(--pink-deep), var(--pink-main)); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid var(--pink-deep); color: var(--pink-deep); }
.btn-block { display: block; width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------------- Section ---------------- */
.section{
    padding:40px 0;
}

.section-title{
    font-size:2rem;
    margin-top:18px;
    margin-bottom:12px;
    line-height:1.3;
}

.section-sub{
    color:var(--text-muted);
    font-size:1rem;
    line-height:1.7;
    margin-bottom:32px;
}

/* ---------------- Category Chips ---------------- */
.chip-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 10px;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }

.chip {
  flex-shrink: 0;
  background: var(--white);
  border: 1.5px solid var(--pink-soft);
  color: var(--pink-deep);
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.chip.active { background: var(--pink-deep); color: var(--white); border-color: var(--pink-deep); }

/* ---------------- Treatment Cards ---------------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .card-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.treatment-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow 0.2s ease;
  position: relative;
}
.treatment-card:hover { box-shadow: var(--shadow-hover); }

.treatment-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--pink-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.treatment-info { flex: 1; min-width: 0; }
.treatment-info h3 { font-size: 1rem; margin-bottom: 4px; }
.treatment-info p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; margin-bottom: 8px; }

.price-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price-now { font-weight: 700; color: var(--pink-deep); font-size: 0.95rem; }
.price-old { text-decoration: line-through; color: #bbb; font-size: 0.8rem; }
.badge-promo {
  background: var(--gold); color: white; font-size: 0.65rem; font-weight: 700;
  padding: 2px 9px; border-radius: 12px; text-transform: uppercase; letter-spacing: 0.4px;
}
.duration-tag { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }

/* ---------------- Forms ---------------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pink-deepest);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--pink-soft);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--pink-blush);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--pink-deep); background: var(--white); }

.price-display {
  background: var(--pink-pale);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.price-display span:first-child { font-size: 0.82rem; color: var(--text-muted); }
.price-display span:last-child { font-weight: 700; color: var(--pink-deepest); font-size: 1.05rem; }

/* ---------------- Receipt / Struk ---------------- */
.receipt-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
}

.receipt-header {
  background: linear-gradient(135deg, var(--pink-deep), var(--pink-main));
  color: white;
  text-align: center;
  padding: 26px 20px 20px;
}

.receipt-status-icon { font-size: 2.6rem; margin-bottom: 6px; }
.receipt-body { padding: 20px; }
.receipt-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.86rem; border-bottom: 1px dashed var(--pink-soft); }
.receipt-row:last-child { border-bottom: none; }
.receipt-row .label { color: var(--text-muted); }
.receipt-row .value { font-weight: 600; text-align: right; }
.receipt-total { display: flex; justify-content: space-between; padding-top: 14px; margin-top: 6px; border-top: 2px solid var(--pink-soft); font-size: 1rem; }
.receipt-total .value { color: var(--pink-deep); font-weight: 700; }

.receipt-code-box {
  text-align: center;
  background: var(--pink-blush);
  border: 1.5px dashed var(--pink-main);
  border-radius: 12px;
  padding: 10px;
  margin: 14px 0;
  font-family: monospace;
  font-weight: 700;
  color: var(--pink-deepest);
  letter-spacing: 1px;
}

.status-pill {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-pending { background: #FFF3CD; color: #997404; }
.status-completed { background: #D1F2E1; color: #157A4B; }
.status-cancelled { background: #FADBD8; color: #A93226; }

/* ---------------- Voucher ---------------- */
.voucher-progress-card {
  background: linear-gradient(135deg, var(--pink-deepest), var(--pink-deep));
  border-radius: var(--radius);
  padding: 22px;
  color: white;
  text-align: center;
}

.stamp-row { display: flex; justify-content: center; gap: 8px; margin: 16px 0 6px; flex-wrap: wrap; }
.stamp {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.stamp.filled { background: var(--gold); border-color: var(--gold); }

.voucher-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  border: 1.5px dashed var(--pink-main);
}
.voucher-card .voucher-icon { font-size: 2rem; }
.voucher-card h4 { font-size: 0.95rem; color: var(--pink-deepest); }
.voucher-card p { font-size: 0.78rem; color: var(--text-muted); }

/* ---------------- QnA Accordion ---------------- */
.qna-item {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 10px;
  overflow: hidden;
}
.qna-question {
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--pink-deepest);
}
.qna-answer {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.25s ease;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.qna-item.open .qna-answer { padding: 0 18px 16px; max-height: 300px; }
.qna-item .arrow { transition: transform 0.25s ease; color: var(--pink-main); }
.qna-item.open .arrow { transform: rotate(180deg); }

/* ---------------- Footer ---------------- */
.footer {
  background: var(--pink-deepest);
  color: var(--pink-pale);
  padding: 28px 0 90px;
  margin-top: 30px;
  text-align: center;
}
.footer .brand-name { color: white; }
.footer-contact { margin-top: 10px; font-size: 0.85rem; }
.footer-contact a { color: var(--pink-pale); font-weight: 600; }
.footer small { display: block; margin-top: 14px; opacity: 0.65; font-size: 0.72rem; }

@media (min-width: 860px) { .footer { padding-bottom: 28px; } }

/* ---------------- Alerts ---------------- */
.alert { padding: 12px 16px; border-radius: 12px; font-size: 0.85rem; margin-bottom: 16px; }
.alert-error { background: #FADBD8; color: #A93226; }
.alert-success { background: #D1F2E1; color: #157A4B; }

/* ---------------- Empty state ---------------- */
.empty-state { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.empty-state .icon { font-size: 2.4rem; margin-bottom: 10px; }
/* ==============================
   PROFILE HEADER
============================== */

.profile-link{
    display:flex;
    align-items:center;
    gap:8px;
    color:#fff;
    text-decoration:none;
    font-weight:600;
    padding:10px 16px;
    border-radius:999px;
    transition:.25s;
}

.profile-link:hover{
    background:rgba(255,255,255,.18);
}

.profile-link.active-profile{
    background:#fff;
    color:#C2185B;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.profile-link.active-profile .profile-icon,
.profile-link.active-profile .profile-text{
    color:#C2185B;
}

/* ==============================
   MOBILE / PWA
============================== */

@media screen and (max-width:768px){

    /* Sembunyikan menu Profile di header */
    .profile-link{
        display:none !important;
    }

}
/* =======================================
   PROFILE APP
======================================= */

.profile-app{
    max-width:420px;
    margin:25px auto 90px;
}

.profile-header-card{
    background:linear-gradient(135deg,#e63674,#c2185b);
    border-radius:26px;
    padding:35px 25px;
    text-align:center;
    color:#fff;
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.profile-avatar{
    width:95px;
    height:95px;
    border-radius:50%;
    background:#fff;
    color:#c2185b;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 18px;
    font-size:38px;
    font-weight:bold;
}

.profile-header-card h2{
    margin:0;
    font-size:28px;
}

.profile-header-card p{
    margin:8px 0;
    opacity:.9;
}

.member-badge{
    display:inline-block;
    margin-top:14px;
    background:#fff;
    color:#c2185b;
    padding:8px 18px;
    border-radius:40px;
    font-weight:600;
    font-size:.85rem;
}

.profile-menu{
    margin-top:22px;
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.profile-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 22px;
    text-decoration:none;
    color:#333;
    border-bottom:1px solid #f2f2f2;
    transition:.25s;
}

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

.profile-item:hover{
    background:#fff6fa;
}

.profile-left{
    display:flex;
    align-items:center;
    gap:14px;
}

.menu-icon{
    font-size:22px;
}

.logout-button{
    margin-top:25px;
    display:block;
    text-align:center;
    background:#e63674;
    color:#fff;
    padding:15px;
    border-radius:18px;
    text-decoration:none;
    font-weight:bold;
    transition:.25s;
}

.logout-button:hover{
    background:#c2185b;
}
/* ==========================
   MY BOOKING PAGE
========================== */

.booking-page{
    max-width:700px;
    margin:0 auto;
    text-align:center;
}

.booking-page .section-title{
    margin-bottom:25px;
}

.empty-card{

    background:#fff;

    border-radius:26px;

    padding:55px 35px;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

}

.empty-icon{

    font-size:60px;

    margin-bottom:18px;

}

.empty-card h3{

    color:var(--maroon);

    font-size:30px;

    margin-bottom:15px;

}

.empty-card p{

    color:#666;

    line-height:1.8;

    max-width:420px;

    margin:0 auto 28px;

}

.empty-card .btn{

    display:inline-flex;

    padding:14px 42px;

}
/* ===========================
   BOOKING SAYA APP STYLE
===========================*/

.booking-card{

    background:#fff;

    border-radius:24px;

    padding:24px;

    margin:25px auto;

    max-width:520px;

    box-shadow:0 8px 28px rgba(0,0,0,.08);

}

.booking-status{

    display:inline-block;

    padding:8px 16px;

    border-radius:40px;

    font-size:.82rem;

    font-weight:700;

    margin-bottom:18px;

}

.booking-status.pending{

    background:#FFF4CC;

    color:#8C6A00;

}

.booking-status.accepted{

    background:#DCFCE7;

    color:#166534;

}

.booking-status.completed{

    background:#DBEAFE;

    color:#1D4ED8;

}

.booking-status.cancelled{

    background:#FEE2E2;

    color:#B91C1C;

}

.booking-treatment{

    font-size:1.35rem;

    margin-bottom:18px;

    color:var(--pink-deep);

}

.booking-detail{

    display:flex;

    flex-direction:column;

    gap:14px;

}

.booking-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    font-size:.95rem;

}

.booking-row.total{

    border-top:1px dashed #ddd;

    padding-top:14px;

    font-size:1.05rem;

}

.booking-save{

    margin-top:10px;

    background:#FFF0F6;

    color:#E91E63;

    padding:10px;

    border-radius:12px;

    text-align:center;

    font-weight:600;

}

.booking-info-text{

    margin-top:18px;

    text-align:center;

    background:#F5F5F5;

    padding:14px;

    border-radius:12px;

    color:#666;

    font-size:.9rem;

}
/* ==========================
   BOOKING KOSONG
========================== */

.booking-empty-card{
    max-width:600px;
    margin:50px auto;
    background:#fff;
    border-radius:26px;
    padding:50px 40px;
    text-align:center;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

.booking-empty-icon{
    font-size:55px;
    margin-bottom:25px;
}

.booking-empty-card h2{
    margin-bottom:18px;
    color:var(--maroon);
}

.booking-empty-card p{
    margin-bottom:32px;
    color:#666;
    line-height:1.8;
    max-width:420px;
    margin-left:auto;
    margin-right:auto;
}

.booking-empty-card .btn{
    min-width:220px;
}
/* =====================================================
   MY BOOKING - APP STYLE
===================================================== */

.booking-page{
    max-width:520px;
    margin:0 auto;
    padding:10px 15px 60px;
}

.booking-page .section-title{
    text-align:center;
    margin-bottom:28px;
}

.booking-card{
    background:#fff;
    border-radius:28px;
    padding:28px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    margin-bottom:30px;
}

.booking-status{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 18px;
    border-radius:999px;
    font-size:.9rem;
    font-weight:700;
    margin:0 auto 22px;
}

.booking-status.pending{
    background:#FFF5D8;
    color:#9A6A00;
}

.booking-status.accepted{
    background:#DDF8E8;
    color:#17824F;
}

.booking-status.completed{
    background:#E4F0FF;
    color:#1B63D0;
}

.booking-treatment{
    text-align:center;
    color:var(--maroon);
    font-size:1.8rem;
    font-weight:700;
    margin-bottom:25px;
}

.booking-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.booking-item{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
}

.booking-label{
    color:#666;
    font-size:.95rem;
}

.booking-value{
    text-align:right;
    font-weight:700;
    color:#222;
}

.booking-divider{
    border-top:1px dashed #ddd;
    margin:20px 0;
}

.booking-total{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:1.18rem;
    font-weight:700;
    color:var(--maroon);
}

.booking-note{
    margin-top:22px;
    background:#FFF6FB;
    border-radius:16px;
    padding:16px;
    text-align:center;
    color:#666;
    font-size:.92rem;
}

.booking-card .btn{
    margin-top:22px;
    width:100%;
    border-radius:999px;
    padding:14px;
    font-weight:700;
}

/* Empty Booking */

.booking-empty-card{
    background:#fff;
    border-radius:28px;
    padding:45px 35px;
    text-align:center;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
}

.booking-empty-icon{
    font-size:58px;
    margin-bottom:18px;
}

.booking-empty-card h2{
    color:var(--maroon);
    margin-bottom:16px;
}

.booking-empty-card p{
    color:#666;
    line-height:1.8;
    margin-bottom:28px;
}

.booking-empty-card .btn{
    min-width:230px;
    border-radius:999px;
}

@media(max-width:768px){

.booking-page{
    max-width:100%;
    padding:0 16px 40px;
}

.booking-card{
    padding:22px;
}

.booking-treatment{
    font-size:1.45rem;
}

.booking-item{
    gap:15px;
}

.booking-value{
    text-align:right;
}

}


.booking-treatment{
    text-align:center;
    font-size:2rem;
    color:var(--maroon);
    margin-bottom:25px;
}

.booking-box{
    border:2px solid #F6A8C5;
    border-radius:22px;
    overflow:hidden;
    margin-bottom:18px;
}

.booking-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 24px;
}

.booking-item:not(:last-child){
    border-bottom:1px dashed #F6A8C5;
}

.booking-left{
    display:flex;
    gap:14px;
    align-items:center;
    color:#444;
}

.booking-right{
    font-weight:700;
    text-align:right;
}

.booking-total{
    border:2px solid #F6A8C5;
    border-radius:18px;
    padding:18px 24px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
    font-size:1.2rem;
    font-weight:700;
}

.booking-note{
    border:2px solid #F6A8C5;
    border-radius:18px;
    padding:16px;
    text-align:center;
    margin-bottom:18px;
    color:#666;
}

.booking-card .btn{
    width:100%;
    border-radius:999px;
}
.booking-app-card{
    width:100%;
    max-width:700px;
    margin:35px auto;
    background:#fff;
    border:2px solid #F7C9D8;
    border-radius:28px;
    padding:35px;
    box-shadow:0 12px 30px rgba(233,30,99,.08);
}

.booking-top{
    text-align:center;
}

.booking-status{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 22px;
    background:#FFF4CC;
    color:#8A6800;
    border-radius:999px;
    font-weight:700;
    margin-bottom:25px;
}

.booking-treatment{
    font-size:2rem;
    color:#C2185B;
    margin:0;
    font-weight:700;
}

.booking-divider{
    margin:28px 0;
    border-top:1px dashed #E6E6E6;
}

.booking-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:18px 0;
    font-size:18px;
}

.booking-row span{
    color:#555;
}

.booking-row strong{
    color:#2B1B37;
    font-weight:700;
}

.booking-total{
    margin-top:28px;
    padding:20px;
    border:2px solid #F6B4C8;
    border-radius:18px;
    background:#FFF8FB;
    font-size:24px;
}

.booking-note{
    margin-top:24px;
    padding:18px;
    border:2px solid #F6D3DE;
    background:#FFFDFE;
    border-radius:18px;
    text-align:center;
    color:#666;
}

.booking-app-card .btn{
    margin-top:22px;
    width:100%;
    border-radius:18px;
}


/* =====================================================
   HISTORY BOOKING - NEW APP STYLE
===================================================== */

.history-page{
    max-width:420px;
    margin:0 auto;
    padding:15px;
}

.history-page .section-title{
    text-align:center;
    font-size:30px;
    color:#C2185B;
    margin-bottom:6px;
}

.history-page .section-sub{
    text-align:center;
    color:#777;
    margin-bottom:25px;
}

.history-app-card{
    background:#fff;
    border:1px solid #F6D3DE;
    border-radius:22px;
    padding:18px;
    margin-bottom:18px;
    box-shadow:0 8px 22px rgba(0,0,0,.08);
}

.history-top{
    text-align:center;
}

.history-status{
    display:inline-block;
    padding:8px 18px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
    margin-bottom:15px;
}

.history-status.pending{
    background:#FFF6CC;
    color:#9C7600;
}

.history-status.accepted{
    background:#DCFCE7;
    color:#15803D;
}

.history-status.completed{
    background:#DCFCE7;
    color:#15803D;
}

.history-status.cancelled{
    background:#FFE4E6;
    color:#DC2626;
}

.history-treatment{
    text-align:center;
    font-size:23px;
    color:#C2185B;
    margin-bottom:18px;
    line-height:1.4;
}

.history-divider{
    border-top:1px dashed #E8E8E8;
    margin:18px 0;
}

.history-row{
    display:flex;
    justify-content:space-between;
    margin:12px 0;
    font-size:15px;
}

.history-row span{
    color:#666;
}

.history-row strong{
    color:#222;
}

.history-total{
    background:#FFF5F9;
    border:1px solid #F5C2D5;
    border-radius:16px;
    padding:15px;
    margin-top:18px;
}

.history-total .history-row{
    margin:0;
    font-size:18px;
    font-weight:bold;
}

.history-note{
    margin-top:18px;
    background:#FFF8FA;
    border:1px solid #F5C2D5;
    border-radius:16px;
    padding:14px;
    text-align:center;
    line-height:1.6;
}

.history-note.cancel{
    background:#FFF0F1;
    color:#D92D20;
}

.history-note.success{
    background:#F1FFF5;
    color:#15803D;
}

.history-action-center{
    margin-top:18px;
    text-align:center;
}

.history-action-center .btn{
    width:180px;
    border-radius:14px;
}

.history-app-card{
    border-radius:18px;
    padding:18px;
}

.history-treatment{
    font-size:23px;
}

.history-row{
    font-size:16px;
}

.history-total .history-row{
    font-size:19px;
}
/*======================================
RIWAYAT BOOKING - APP STYLE
======================================*/

.history-page{

    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:20px;

}









/*======================================
RIWAYAT BOOKING - APP STYLE (REVISI)
======================================*/

.history-list-card{
    background:#fff;
    border-radius:20px;
    padding:18px;
    margin-bottom:16px;
    box-shadow:0 8px 20px rgba(0,0,0,.05);
    display:flex;
    flex-direction:column;
    gap:14px;
}

.history-list-top{
    display:flex;
    align-items:flex-start;
    gap:14px;
}

.history-list-icon{
    width:48px;
    height:48px;
    border-radius:14px;
    background:var(--pink-pale);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.35rem;
    flex-shrink:0;
}

.history-list-info{
    flex:1;
    min-width:0;
}

.history-list-treatment{
    font-size:1.05rem;
    color:#C2185B;
    font-weight:700;
    line-height:1.3;
    margin-bottom:6px;
}

.history-list-date{
    font-size:.85rem;
    color:#666;
    margin-bottom:10px;
}

.history-list-status{
    display:inline-block;
    padding:5px 14px;
    border-radius:999px;
    font-size:.72rem;
    font-weight:700;
}

.history-list-status.pending{
    background:#FFF7D6;
    color:#A87900;
}

.history-list-status.accepted{
    background:#E6F7EA;
    color:#168A45;
}

.history-list-status.completed{
    background:#E8F6FF;
    color:#0077B6;
}

.history-list-status.cancelled{
    background:#FFE8EC;
    color:#D81B60;
}

.history-receipt-btn{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    height:46px;
    background:linear-gradient(135deg, var(--pink-deep), var(--pink-main));
    color:#fff;
    border-radius:14px;
    font-weight:700;
    font-size:.9rem;
    text-decoration:none;
    transition:.2s;
}

.history-receipt-btn:active{
    transform:scale(0.98);
    opacity:0.9;
}

/* Hapus/jangan pakai lagi kelas lama .history-list-left/.history-list-right,
   sudah digantikan oleh .history-list-top + .history-list-info di atas */


/* ==========================
   MOBILE
========================== */

@media (max-width:768px){

.history-page{

    max-width:420px;

    padding:16px;

}

.history-list-card{

    padding:18px;

}

.history-list-treatment{

    font-size:17px;

}

.history-receipt-btn{

    width:140px;

    text-align:center;

}

}
/* ======================================
   DESKTOP NAV APP STYLE
====================================== */

@media (min-width:860px){

.desktop-nav{
    display:flex;
    align-items:center;
    gap:12px;
}

.desktop-nav .nav-item{

    color:#fff;
    padding:10px 18px;
    border-radius:999px;
    font-weight:600;
    transition:.25s;
}

.desktop-nav .nav-item:hover{

    background:rgba(255,255,255,.15);

}

.desktop-nav .nav-item.active{

    background:#fff;
    color:#C2185B;
    box-shadow:0 6px 18px rgba(0,0,0,.08);

}

.profile-link.active-profile{

    background:#fff;
    color:#C2185B;
    border-radius:999px;
    box-shadow:0 6px 18px rgba(0,0,0,.08);

}

.profile-link.active-profile .profile-icon,
.profile-link.active-profile .profile-text{

    color:#C2185B;

}

}
.receipt-total{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:12px 18px;

    margin-top:18px;

    border:1px solid #F6B4C8;
    border-radius:16px;

    background:#FFF9FB;

}
/* =====================================
   MOBILE SPACING
===================================== */

@media (max-width:768px){

    .section{
        padding:36px 0;
    }

    .section-title{
        font-size:2rem;
        margin-top:24px;
        margin-bottom:14px;
        padding:0 16px;
        line-height:1.3;
    }

    .section-sub{
        font-size:.98rem;
        line-height:1.8;
        padding:0 16px;
        margin-bottom:30px;
    }

}
/* =====================================
   JUDUL HALAMAN CUSTOMER
===================================== */

.section-title{
    text-align:center !important;
    font-size:1.75rem !important;
    line-height:1.3 !important;
    margin:18px 0 12px !important;
}

.section-sub{
    text-align:center !important;
    font-size:.96rem !important;
    line-height:1.7 !important;
    max-width:650px;
    margin:0 auto 30px auto !important;
    color:#76606D !important;
}

@media(max-width:768px){

    .section-title{
        font-size:1.55rem !important;
        margin-top:22px !important;
        margin-bottom:10px !important;
        padding:0 18px;
    }

    .section-sub{
        font-size:.95rem !important;
        padding:0 22px;
        margin-bottom:26px !important;
    }

}