:root {
  --bg: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
  --white: #ffffff;
  --primary: #e61d7d !important;
  --primary-600: #cd3e7f;
  --primary-50: #d94d8c;

  --blue: #3b82f6;
  --radius: 10px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: 'Inter', sans-serif; color: var(--text); background: #fafafa; }
a { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; gap: 24px; max-width: 1360px; min-height: 60px; }
.flex { display: flex; gap: 10px; }
.flex-align-center { align-items: center; }
.flex-justify-center { justify-content: center; }
.brand { text-decoration: none; color: inherit; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.brand-mark { background: var(--primary); color: #fff; font-weight: 700; width: 40px; height: 40px; margin-bottom: -15px; border-radius: 999px; display: grid ; place-items: center; }
.brand-name { font-weight: 700; line-height: 35px !important; }
.brand-tag { grid-column: 2; font-size: 12px; color: var(--muted); margin-top: -4px; }
.main-nav { display: flex ; gap: 18px; justify-content: space-between; margin: auto; }
.main-nav a { color: #252628; text-decoration: none; font-weight: 500; font-size: 14px; }
.main-nav a:hover { color: var(--text); }
.header-actions { display: flex; gap: 10px; align-items: center; height: 100%; }

/*Navigation CSS*/
/*.hamburger { font-size: 1.8rem; background: none; border: none; color: var(--primary); cursor: pointer; }*/

/* Hamburger */
.hamburger { width: 20px; height: 20px; position: relative; border: none; background: none; cursor: pointer; }
.hamburger span { position: absolute; left: 0; width: 100%; height: 3px; background: var(--primary); transition: 0.3s; }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

/* Cross animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* Mobile menu */
.header-actions .nav { display: none; flex-direction: column; background: #222; position: absolute; right: 2px; top: 54px; }
.header-actions .nav a { padding: 12px 16px; color: white; text-decoration: none; border-top: 1px solid #333; }
.header-actions .nav a:hover { background: #333; }

/* Show menu when active */
.header-actions .nav.active { display: flex; }

.hide-on-mobile { display: flex; }
.hide-on-desktop { display: none; }

/*Login page CSS*/
.login-error { color:red; text-align: center; }
.login-error a { color: blue; text-decoration: underline; display: block; font-weight: 600; }

/* Desktop */
@media (min-width: 768px) {
  .hamburger { display: none; }
  .nav { display: flex; flex-direction: row; background: none; }
  .nav a { border: none; padding: 0 12px; }  
}

/* Footer */
footer .container-fluid.main-footer { padding: 0 15%; }
.site-footer { border-top: 1px solid var(--border); background: var(--bg); padding: 24px 0; color: var(--muted); }
.footer-link { color: #6c757d; text-decoration: none; }
.footer-link:hover { text-decoration: underline; }
.w-100 { width: 100%; }
.user.hidden { display: none; }
.flex-align-center { align-items: center; }
.d-block { line-height: 1.2em; }
.small { font-size: 12px; }
.freedirect { font-weight: 500; }

/* Buttons */
.btn.btn-primary {border: 2px solid var(--primary); background-color: var(--primary); color: var(--white); padding: 10px 14px; border-radius: 10px; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; }
.btn:focus { outline-offset: 2px; }
.btn.btn-primary:hover, .btn.btn-primary:active, .btn.btn-primary:visited, .btn.btn-primary:focus { background-color: var(--primary-600); border-color: var(--primary); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-light { background: var(--bg); border-color: var(--border); color: var(--text); }
.btn-light:hover { background: #f9fafb; }
.btn-outline { background: var(--bg); border-color: var(--border); color: var(--text); border: 2px solid var(--primary); }
.btn-outline:hover { border-color: var(--text); }
.btn-full { width: 100%; }
.btn.login-btn { border: 2px solid var(--primary);border-radius: 10px; color: var(--primary); transition: all 0.3s ease-in-out;}
.join-btn{border-radius: 10px; }
.btn.login-btn i { color: var(--primary); margin: 0 12px 0 0; }
.btn-dark { color: #fff !important; }
.btn.login-btn,.join-btn {padding: 8px 14px; }

/* Page */
.page { padding: 24px 20px 60px; }
.back-link { display: inline-block; margin-bottom: 40px; margin-top: 20px; font-size: 13px; color: #2b2b2b; font-weight: 600; text-decoration: none; margin-left: 30px; padding: 15px 25px;
    border-radius: 12px; position: absolute; z-index: 9999; background-color: #dedede; }
.back-link:hover { color: var(--card); background-color: var(--primary); }
.back-link i { margin-right: 12px; }
.grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.col-left, .col-right { display: grid; gap: 16px;  }
.profile-meta { line-height: 32px; }
.card { background: var(--card); border: 1px solid #d4d8de; border-radius: var(--radius); /* box-shadow: var(--shadow); */ padding: 24px; }
.card-title { margin: 0 0 10px; font-size: 21px; }
.contact-btn { border: 2px solid var(--primary); padding: 12px; transition: all 0.3s ease-in-out; }
.contact-btn:hover { background: white; border: 2px solid var(--primary); color: var(--primary); }
.btn-text i { font-size: 14px; }
.badge i { margin-right: 5px; }
.card p { font-size: 15px; color: var(--muted); }
fieldset.stars-field i { color: #766d70; font-size: 26px; }
fieldset.stars-field i:hover { color: var(--primary); }

p.muted.small { margin: 16px 2px; font-size: 13px; }
.def { margin-bottom: 15px; font-size: 14px; }
.def-value { font-weight: 400; color: #77737b; }
.def-label { margin-bottom: 2px; }
a.btn.btn-outline.btn-full:hover { background: var(--primary); border: 2px solid var(--primary); color: white; }

.btn.login-btn:hover { background: var(--primary); border-color: var(--primary); }
.btn.form-btn:hover { background: white; border: 2px solid var(--primary); color: var(--primary); padding: 10px; }
.btn.login-btn:hover i, .btn.login-btn:hover .text { color: white; }
.btn.login-btn { display: flex ; }
.font-13 { font-size: 13px !important; }

/*Badge CSS*/
.badge-row { display: flex; gap: 8px; margin-bottom: 4px; }
.badge { display: inline-block; padding: 0px 15px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 8px; }
.badge-pink { background: var(--primary-600); color: white; }
.badge-blue { background: #2563eb; color: white; }
span.badge1 { background: var(--primary) !important; padding: 2px 13px; font-size: 12px; font-weight: 600; line-height: 18px; /*box-shadow: 0 6px 4px rgb(0 0 0 / 9%);*/ }  
.badge-soft { background: #0d6efd !important; padding: 2px 13px; font-size: 12px; font-weight: 600; line-height: 18px; }

/*Rating (show stars)*/
.rating { padding-bottom: 15px;  font-size: 16px; font-weight: 400;}
.rating i { color: var(--primary); }
.stars { color: var(--primary); letter-spacing: 2px; font-size: 18px; }
.rating-text { font-weight: 700; }

@media (max-width: 768px) {
  button.btn.btn-light.login-btn { display: flex ; }
  .header-inner { display: block; padding: 15px;}
  .main-nav { display: flex ; justify-content: center; margin: 12px auto; }
  .header-inner {text-align: center;}
  .header-actions { display: flex ; justify-content: center; }
  .brand { display: grid ; grid-template-columns: none; justify-content: center; }
  span.brand-name { text-align: left; }
  .col-left .profile-cards { grid-template-columns: 1fr; gap: 15px; padding: 10px 18px; }
  .main-footer div { text-align: center; }

  .hide-on-mobile { display: none; }
  .hide-on-desktop { display: flex; }
  .site-header { padding: 10px 0; }
  .site-header .col-md-6, .site-header .col-md-4.col-xs-6 { width: 50%; }
  .row.header-row { margin: 0 !important; }  
}