/* ============================================================
   FONT IMPORT
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600&family=DM+Sans:wght@400;500&display=swap');


/* ============================================================
   GLOBAL
   ============================================================ */

body {
  font-family: 'DM Sans', sans-serif;
  background: #fff5f8;
}


/* ============================================================
   REUSABLE — badge, button, section label
   ============================================================ */

.section__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: #c0527a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section__title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 500;
  color: #3d1428;
  margin-bottom: 14px;
}

.section__desc {
  color: #a06080;
  font-size: 15px;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

.badge-cat {
  display: inline-block;
  background: #fde8f2;
  color: #c0527a;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
}

.badge-shape {
  display: inline-block;
  background: rgba(112, 96, 176, 0.1);
  color: #7060b0;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #c0527a;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 30px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(192, 82, 122, 0.35);
  transition: all 0.2s ease;
}

.btn-hero:hover {
  background: #a8436a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192, 82, 122, 0.45);
}

.form-group {
    margin-bottom: 18px;
}

.input-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-field {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e8c7d4;
    border-radius: 12px;
    box-sizing: border-box;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar{
    max-width:1200px;
    margin:20px auto 0;

    background:rgba(255,255,255,.75);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);

    border-radius:20px;

    position:fixed; 
    top:0; 
    left:0; 
    right:0;

    width:calc(100% - 40px);
    z-index:1000;
}

.navbar-container{
    width:100%;
    padding:0 24px;
  
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.navbar-menu{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex:1;
}

.navbar-links{
    list-style:none;
    display:flex;
    gap:10px;
    margin:0 0 0 30px;
    padding:0;
}

.navbar-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 22px;
  color: #c0527a !important;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: #a06080 !important;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 16px !important;
  border-radius: 999px;
  transition: all 0.18s ease;
}

.nav-link:hover {
  color: #c0527a !important;
  background: #fde8f2;
}

.nav-link.active {
  color: #c0527a !important;
  background: #fde8f2;
  font-weight: 600;
}

.btn-outline-light {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff !important;
  background: linear-gradient(135deg, #e8739f, #c0527a) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 9px 20px !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(192, 82, 122, 0.3);
}

.btn-outline-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(192, 82, 122, 0.4);
}

.btn-outline-danger {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-color: #e8739f !important;
  border-radius: 999px !important;
  padding: 9px 20px !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(192, 82, 122, 0.3);
}

.text-white.fs-4 {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fde8f2;
  border: 1.5px solid #f5b8d4;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.text-white.fs-4:hover {
  background: #f9d0e6;
  border-color: #e8739f;
}

.text-white.fs-4 i {
  font-size: 17px;
  color: #c0527a;
}

.navbar-toggler {
  border-color: #f5b8d4 !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

/* Hamburger icon — selalu pink, tidak hilang */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23c0527a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* Paksa tombol toggler selalu terlihat di mobile */
.navbar-toggler {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* Overlay gelap — pakai opacity+pointer-events agar transisi smooth */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(40, 10, 25, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1045;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.nav-overlay.show {
  opacity: 1;
  pointer-events: all;
}


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: #fff;
  border-top: 1px solid #f5d6e4;
  padding: 48px 0 24px;
}

.footer__brand {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: #c0527a;
  display: block;
  margin-bottom: 10px;
}

.footer__tagline {
  font-size: 13px;
  color: #b08090;
  line-height: 1.6;
  max-width: 220px;
}

.footer__col-title {
  font-size: 12px;
  font-weight: 500;
  color: #c0527a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__nav a {
  font-size: 14px;
  color: #a06080;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer__nav a:hover {
  color: #c0527a;
}

.footer__copy {
  font-size: 13px;
  color: #c0a0b0;
}


/* ============================================================
   HOME — hero, about, feature card, how it works
   ============================================================ */

.hero{
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top:100px;
    background: linear-gradient(
        160deg,
        rgba(249,208,230,.85) 0%,
        rgba(252,228,239,.75) 50%,
        rgba(253,240,245,.60) 100%
    );
}

/* isi hero */
.hero-content{
    position: relative;
    z-index: 3;
    text-align: center;
}


.hero-badge {
  display: inline-block;
  background: rgba(192, 82, 122, 0.12);
  color: #c0527a;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 16px;
  border-radius: 999px;
  border: 1px solid rgba(192, 82, 122, 0.2);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 600;
  color: #7a2048;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-content h1 em {
  font-style: italic;
  color: #c0527a;
}

.hero-content p {
  color: #a06080;
  font-size: 17px;
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-content .btn-light {
  background: #c0527a;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 6px 20px rgba(192, 82, 122, 0.35);
  transition: all 0.2s;
}

.hero-content .btn-light:hover {
  background: #a8436a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192, 82, 122, 0.45);
}

/* ── Body Types Section ─────────────────────────────── */
.body-types {
  padding: 80px 0;
  background: linear-gradient(
        160deg,
        rgba(249,208,230,.85) 0%,
        rgba(252,228,239,.75) 50%,
        rgba(253,240,245,.60) 100%
    );
  min-height: 100vh;
}

.bodytype-card {
  background: #fff5f8;
  border: 1px solid #f5d6e4;
  border-radius: 16px;
  padding: 25px 18px;
  height: 100%;
  transition: transform 0.2s ease;
  color: #fff;
  margin-top: -20px;
}

.bodytype-card:hover {
  transform: translateY(-4px);
}

.bodytype-card_img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.bodytype-card--accent .bodytype-card__desc,
.bodytype-card--accent .bodytype-card__traits li {
  color: #ccc;
}

.bodytype-card__icon {
  font-size: 2rem;
  color: #b89c7a;
}

.bodytype-card--accent .bodytype-card__icon {
  color: #e0c898;
}

.bodytype-card__title {
  color: #7a2048;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
  margin-top: 10px;
}

/*.bodytype-card__desc {
  font-size: 13px;
  color: #b08090;
  margin-bottom: 8x;
  line-height: 1.6;
}*/

.bodytype-card__traits {
  list-style: none;
  padding: 0;
  margin: 0;
  padding: 12px;
  border-top: 3px solid #ede9e3;
}

.bodytype-card--accent .bodytype-card__traits {
  border-top-color: #b08090;
}

.bodytype-card__traits li {
  font-size: 0.8rem;
  color: #b08090;
  padding: 4px 0;
  text-align: center;
}

.bodytype-card__traits li::before {
  content: "✓ ";
  color: #b89c7a;
}

.bodytype-card--accent .bodytype-card__traits li::before {
  color: #e0c898;
}

.how-it-works {
  background: linear-gradient(
        160deg,
        rgba(249,208,230,.85) 0%,
        rgba(252,228,239,.75) 50%,
        rgba(253,240,245,.60) 100%
    );
  padding: 80px 0;
}

.step-card {
  background: #fff5f8;
  border: 1px solid #f5d6e4;
  border-radius: 16px;
  padding: 36px 28px;
  height: 100%;
  transition: transform 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-card--accent {
  background: #c0527a;
  border-color: #c0527a;
}

.step-card--accent .step-card__number,
.step-card--accent .step-card__title,
.step-card--accent .step-card__desc {
  color: #fff;
}

.step-card--accent .step-card__number {
  opacity: 0.5;
}

.step-card__number {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 600;
  color: #f5d6e4;
  line-height: 1;
  margin-bottom: 16px;
}

.step-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 500;
  color: #7a2048;
  margin-bottom: 10px;
}

.step-card__desc {
  font-size: 13px;
  color: #b08090;
  line-height: 1.7;
  margin: 0;
}


/* ============================================================
   INPUT PAGE
   ============================================================ */

.input-section {
  background: #fff5f8;
  padding-top:100px;
  min-height: 100vh;
  
}

.input-card {
  background: #fff;
  border: 1px solid #f5d6e4;
  border-radius: 20px;
  padding: 40px 36px;
  margin-top: 40px;
}

.input-card__badge {
  display: inline-block;
  background: rgba(192, 82, 122, 0.1);
  color: #c0527a;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(192, 82, 122, 0.2);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.input-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  color: #7a2048;
  margin-bottom: 6px;
}

.input-card__desc {
  font-size: 13px;
  color: #b08090;
  line-height: 1.6;
  margin-bottom: 0;
}

.input-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #7a2048;
  margin-bottom: 6px;
}

.input-icon {
  background: #fde8f2;
  border: 1.5px solid #f5d6e4;
  border-right: none;
  color: #c0527a;
  font-size: 14px;
}

.input-field {
  width: 100%;
  padding: 11px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #3d1428;
  background: #fff5f8;
  border: 1.5px solid #f5d6e4;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.input-field:focus {
  border-color: #c0527a;
  background: #fff;
}

.input-field::placeholder {
  color: #c0a0b0;
}

.btn-submit {
  background: #c0527a;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(192, 82, 122, 0.3);
  transition: all 0.2s ease;
}

.btn-submit:hover {
  background: #a8436a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192, 82, 122, 0.4);
}


/* ============================================================
   HASIL PAGE
   ============================================================ */

.hasil-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 24px;
  align-items: start;
}

.sticky-sidebar {
  position: sticky;
  top: 90px;
  margin-bottom: 40px;
}

.shape-card {
  background: #fff;
  border: 1px solid #f5d6e4;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 100px;
}

.shape-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.shape-card__body {
  padding: 18px;
}

.shape-card__badge {
  display: inline-block;
  background: rgba(192, 82, 122, 0.1);
  color: #c0527a;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(192, 82, 122, 0.2);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.shape-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: #7a2048;
  margin-bottom: 6px;
}

.shape-card__desc {
  font-size: 13px;
  color: #b08090;
  line-height: 1.6;
  margin-bottom: 16px;
}

.btn-back {
  display: block;
  text-align: center;
  background: #fff;
  color: #c0527a;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  border: 1.5px solid #f5d6e4;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-back:hover {
  border-color: #c0527a;
  color: #a8436a;
}

.rec-header__tag {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #c0527a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  margin-top: 100px;
}

.rec-header__title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  color: #7a2048;
  margin-bottom: 6px;
}

.rec-header__desc {
  font-size: 13px;
  color: #b08090;
  line-height: 1;
}

.rec-card {
  background: #fff;
  border: 1px solid #f5d6e4;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.rec-card:hover {
  transform: translateY(-4px);
}

.rec-card__img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.rec-card__body {
  padding: 12px;
  max-height: 120px;
}

.rec-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 500;
  color: #7a2048;
  margin-bottom: 4px;
}

.rec-card__desc {
  font-size: 12px;
  color: #b08090;
  line-height: 1.5;
  margin: 0 0 8px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-detail {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #c0527a;
  background: #fde8f2;
  border: none;
  border-radius: 999px;
  padding: 7px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-detail:hover {
  background: #f9d0e6;
  color: #a8436a;
}


/* ============================================================
   DETAIL PAGE
   ============================================================ */

.detail-page {
  background: #fff5f8;
  margin-top: 60px;
}

.detail-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: #fde8f2;
  aspect-ratio: 4 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-img {
  width: 100%;
  height: 400px;
  object-fit: contain;
}

.detail-badge {
  display: inline-block;
  background: rgba(192, 82, 122, 0.1);
  color: #c0527a;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(192, 82, 122, 0.2);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.detail-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 600;
  color: #7a2048;
  line-height: 1.2;
  margin-bottom: 12px;
}

.detail-desc {
  font-size: 14px;
  color: #b08090;
  line-height: 1.8;
  margin-bottom: 20px;
}

.detail-meta {
  background: #fff;
  border: 1px solid #f5d6e4;
  border-radius: 14px;
  padding: 4px 16px;
  margin-bottom: 20px;
}

.detail-meta__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f5d6e4;
}

.detail-meta__item:last-child {
  border-bottom: none;
}

.detail-meta__label {
  font-size: 13px;
  color: #b08090;
}

.btn-fav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #c0527a;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 13px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(192, 82, 122, 0.3);
  transition: all 0.2s ease;
  margin-bottom: 10px;
}

.btn-fav:hover {
  background: #a8436a;
  color: #fff;
  transform: translateY(-1px);
}

.btn-back-detail {
  display: block;
  text-align: center;
  color: #c0527a;
  font-size: 13px;
  font-weight: 500;
  padding: 11px;
  border: 1.5px solid #f5d6e4;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-back-detail:hover {
  border-color: #c0527a;
  color: #a8436a;
}


/* ============================================================
   FAVORITE PAGE
   ============================================================ */

.fav-page {
  padding: 48px 0;
  min-height: 100vh;
  margin-top: 60px;
}

.fav-header {
  margin-bottom: 28px;
  
}

.fav-header__tag {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #c0527a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.fav-header__title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: #7a2048;
  margin-bottom: 6px;
}

.fav-header__desc {
  font-size: 13px;
  color: #b08090;
}

.fav-empty {
  text-align: center;
  padding: 64px 20px;
  background: #fff;
  border: 1px solid #f5d6e4;
  border-radius: 16px;
}

.fav-empty__icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.fav-empty__title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #7a2048;
  margin-bottom: 8px;
}

.fav-empty__desc {
  font-size: 13px;
  color: #b08090;
  margin-bottom: 24px;
}

.fav-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.fav-tab {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.5px solid #f5d6e4;
  background: #fff;
  color: #a06080;
  text-decoration: none;
  transition: all 0.18s ease;
}

.fav-tab:hover {
  border-color: #c0527a;
  color: #c0527a;
}

.fav-tab.active {
  background: #c0527a;
  border-color: #c0527a;
  color: #fff;
}

.fav-count {
  font-size: 13px;
  color: #b08090;
  margin-bottom: 20px;
}

.fav-count span {
  color: #c0527a;
  font-weight: 500;
}

.fav-card {
  background: #fff;
  border: 1px solid #f5d6e4;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.fav-card:hover {
  transform: translateY(-4px);
}

.fav-card__img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}

.fav-card__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fav-card__category {
  font-size: 10px;
  font-weight: 500;
  color: #c0527a;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.fav-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 500;
  color: #7a2048;
  margin-bottom: 4px;
}

.fav-card__desc {
  font-size: 12px;
  color: #b08090;
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.fav-card__actions {
  display: flex;
  gap: 8px;
}

.btn-hapus {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: #c0527a;
  border: none;
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-hapus:hover {
  background: #a8436a;
  color: #fff;
}


/* ============================================================
   AUTH PAGE — login & register
   ============================================================ */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.auth-card {
  background: #fff;
  border: 1px solid #f5d6e4;
  border-radius: 20px;
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
}

.auth-card__badge {
  display: inline-block;
  background: rgba(192, 82, 122, 0.1);
  color: #c0527a;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(192, 82, 122, 0.2);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.auth-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  color: #7a2048;
  margin-bottom: 6px;
}

.auth-card__desc {
  font-size: 13px;
  color: #b08090;
  line-height: 1.6;
  margin-bottom: 24px;
}

.auth-alert {
  background: #fde8f2;
  border: 1px solid #f5b8d4;
  color: #7a2048;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 18px;
}

.auth-alert--success {
  background: #f0faf4;
  border-color: #a8d5b5;
  color: #2d6a4f;
}

.auth-alert--success a {
  color: #2d6a4f;
  font-weight: 500;
  margin-left: 6px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.auth-divider hr {
  flex: 1;
  border: none;
  border-top: 1px solid #f5d6e4;
}

.auth-divider span {
  font-size: 12px;
  color: #c0a0b0;
}

.auth-register {
  text-align: center;
  font-size: 13px;
  color: #b08090;
  margin: 0;
}

.auth-register a {
  color: #c0527a;
  font-weight: 500;
  text-decoration: none;
}

.auth-register a:hover {
  text-decoration: underline;
}


/* ============================================================
   PROFILE PAGE
   ============================================================ */

.profile-hero {
  background: linear-gradient(160deg, #c0527a, #e8739f);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  color: #fff;
  margin-top: 80px;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 14px;
}

.profile-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
}

.profile-email {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 14px;
}

.profile-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.sidebar-nav {
  background: #fff;
  border: 1px solid #f5d6e4;
  border-radius: 16px;
  overflow: hidden;
}

.sidebar-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #a06080;
  text-decoration: none;
  border-bottom: 1px solid #f5d6e4;
  transition: all 0.18s ease;
}

.sidebar-nav__item:last-child {
  border-bottom: none;
}

.sidebar-nav__item:hover {
  background: #fff5f8;
  color: #c0527a;
}

.sidebar-nav__item.active {
  background: #fde8f2;
  color: #c0527a;
  font-weight: 600;
}

.sidebar-nav__item--danger:hover {
  background: #fff0f0;
  color: #e05050;
}

.sidebar-nav__icon {
  font-size: 15px;
}

.content-card {
  background: #fff;
  border: 1px solid #f5d6e4;
  border-radius: 16px;
  padding: 24px;
  margin-top: 80px;
}

.content-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}

.content-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 500;
  color: #7a2048;
}

.content-card__tag {
  font-size: 11px;
  font-weight: 500;
  color: #c0527a;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shape-banner {
  background: linear-gradient(135deg, #fde8f2, #fff5f8);
  border: 1px solid #f5d6e4;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.shape-banner__icon {
  font-size: 36px;
}

.shape-banner__name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: #7a2048;
  margin-bottom: 4px;
}

.shape-banner__desc {
  font-size: 12px;
  color: #b08090;
}

.stat-box {
  background: #fff5f8;
  border: 1px solid #f5d6e4;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.stat-box__label {
  font-size: 10px;
  color: #b08090;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.stat-box__value {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: #c0527a;
  line-height: 1;
}

.stat-box__unit {
  font-size: 11px;
  color: #b08090;
  margin-top: 2px;
}

.btn-recheck {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #c0527a;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border: 1.5px solid #f5d6e4;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-recheck:hover {
  border-color: #c0527a;
  color: #a8436a;
}

.btn-recommend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #c0527a;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border: 1.5px solid #f5d6e4;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-recommend:hover {
  border-color: #c0527a;
  color: #fff;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Navbar mobile — drawer dari kanan */
@media (max-width: 991.98px) {
  .navbar {
    width: 100%;
    max-width: 100%;

    margin: 0;
    border-radius: 0;

    z-index: 1050;
    height: 68px;
  }

  .navbar-container{
    height: 68px;
    padding: 0 16px;
  }

  .navbar-collapse {
    position: fixed;
    top: 68px;
    right: -290px;

    width: 270px;
    height: calc(100dvh - 68px);

    background: #fff;
    border-left: 1px solid #f5d6e4;
    box-shadow: -8px 0 32px rgba(192, 82, 122, 0.14);

    z-index: 1060;

    padding: 1.5rem 1.25rem;
    transition: right .28s ease;
    overflow-y: auto;

    display: block !important;
  }

  .navbar-collapse.show {
    right: 0;
  }

  .drawer-close {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.25rem;
  }

  .drawer-close button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fde8f2;
    border: 1px solid #f5b8d4;
    color: #c0527a;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar-nav { flex-direction: column; gap: 4px; }
  .nav-link { border-radius: 12px !important; font-size: 15px; padding: 10px 14px !important; }

  .btn-outline-light {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    border-radius: 14px !important;
    padding: 11px 20px !important;
  }

  /* Hasil page: sidebar ke atas */
  .hasil-layout {
    grid-template-columns: 1fr;
  }

  .sticky-sidebar {
    position: static;
  }

  .shape-card__img {
    height: 180px;
  }
}

@media (min-width: 992px) {
  .navbar-toggler { display: none !important; }
  .drawer-close { display: none !important; }
}

/* Tablet & mobile kecil */
@media (max-width: 576px) {
  .hero-content h1   { font-size: 32px; }
  .detail-title      { font-size: 24px; }
  .input-card        { padding: 28px 20px; }
  .auth-card         { padding: 28px 20px; }
  .auth-card__title  { font-size: 22px; }
  .fav-header__title { font-size: 22px; }
  .fav-card__img     { height: 130px; }
}
