/* =========================================================
   SM Care & Craft - Theme for dynamic (ASP.NET) pages
   Self-contained: all classes use the "sm-" prefix so it
   does not clash with Bootstrap 3 on the master page.
========================================================= */

:root {
  --navy-950: #0c1c3a;
  --navy-800: #12285a;
  --navy-700: #1a3873;
  --gold-600: #b8892f;
  --gold-500: #cfa23f;
  --gold-300: #e6c877;
  --cream: #faf6ee;
  --ink: #1b2333;
  --ink-soft: #5b6172;
  --line: #e6e0d2;
}

.sm-wrap {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.sm-header,
.sm-header *,
.sm-login-hero,
.sm-login-hero * {
  box-sizing: border-box;
}

.sm-header {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

.sm-header a,
.sm-login-hero a {
  text-decoration: none;
}

/* =========================================================
   HEADER  (matches Index.aspx / style.css exactly)
   px units used because Bootstrap 3 sets html{font-size:10px}
========================================================= */

/* Bootstrap 5 .container equivalent */
.sm-wrap {
  width: 100%;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}
@media (min-width: 576px)  { .sm-wrap { max-width: 540px; } }
@media (min-width: 768px)  { .sm-wrap { max-width: 720px; } }
@media (min-width: 992px)  { .sm-wrap { max-width: 960px; } }
@media (min-width: 1200px) { .sm-wrap { max-width: 1140px; } }
@media (min-width: 1400px) { .sm-wrap { max-width: 1320px; } }

.sm-header,
.sm-header *,
.sm-login-hero,
.sm-login-hero * {
  box-sizing: border-box;
}

/* display:contents => nav ka sticky poore page par kaam karega (header wrapper ke andar band nahi hoga) */
.sm-header {
  display: contents;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.sm-header a,
.sm-login-hero a {
  text-decoration: none;
}

.sm-header a:hover,
.sm-header a:focus {
  text-decoration: none;
}

/* ---------- Top strip ---------- */
.sm-topstrip {
  background: var(--navy-950);
  color: #d9c896;
  font-size: 13.6px;               /* .85rem */
  line-height: 1.5;
}

.sm-topstrip .sm-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;                        /* gap-2 */
  padding-top: 8px;                /* py-2 */
  padding-bottom: 8px;
}

.sm-brand {
  display: flex;
  align-items: center;
  gap: 8.8px;                      /* .55rem */
  color: #f4ead0 !important;
  font-weight: 600;
}

.sm-brand img {
  width: 85px;
  height: auto;
  max-width: 100%;
}

.sm-topmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;                       /* gap-4 */
}

.sm-topmeta a {
  color: #d9c896 !important;
}

.sm-topmeta a:hover {
  color: var(--gold-300) !important;
}

.sm-topmeta i {
  margin: 0;
}

.sm-top-actions {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sm-top-actions li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* btn btn-sm */
.sm-btn {
  display: inline-block;
  padding: 4px 8px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.sm-btn-outline {
  border-color: var(--gold-500);
  color: var(--gold-300) !important;
  background: transparent;
  font-weight: 600;
}

.sm-btn-outline:hover {
  background: var(--gold-500);
  color: var(--navy-950) !important;
}

.sm-btn-solid {
  background: linear-gradient(120deg, var(--gold-600), var(--gold-300));
  color: var(--navy-950) !important;
  font-weight: 700;
  border: none;
  padding: 5px 9px;                /* border na hone ki wajah se same height */
}

.sm-btn-solid:hover {
  filter: brightness(1.05);
}

/* ---------- Navbar ---------- */
.sm-nav {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-700));
  position: sticky;
  top: 0;
  z-index: 1020;                   /* sticky-top */
}

.sm-nav .sm-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;                /* navbar padding .5rem */
  padding-bottom: 8px;
}

/* navbar-toggler */
.sm-nav-toggle {
  display: none;
  padding: 4px 12px;
  font-size: 20px;
  line-height: 1;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  cursor: pointer;
  transition: box-shadow .15s ease-in-out;
}

.sm-nav-toggle:focus {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .25);
}

.sm-toggler-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  vertical-align: middle;
  background: no-repeat center / 100%;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.sm-nav-collapse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-basis: 100%;
  flex-grow: 1;
  gap: 12px;
}

.sm-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;                        /* gap-lg-2 */
}

.sm-nav-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sm-nav-list a {
  display: block;
  padding: 8px;                    /* nav-link */
  color: #e8ecf7 !important;
  font-size: 14.88px;              /* .93rem */
  font-weight: 500;
  line-height: 1.5;
  transition: color .15s ease-in-out;
}

.sm-nav-list a:hover {
  color: var(--gold-300) !important;
}

.sm-nav-list a.active {
  color: #fff !important;          /* navbar-dark .nav-link.active */
}

/* Google Translate (functionality same, styled like .lang-btn) */
.sm-lang {
  display: flex;
  align-items: center;
}

.sm-lang #google_translate_element {
  display: inline-block;
  color: #e8ecf7;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13.6px;
  line-height: 1.5;
  min-height: 0;
height: 35px;
  transition: border-color .15s ease-in-out;
}

.sm-lang #google_translate_element:hover {
  border-color: var(--gold-500);
}

.sm-lang .goog-te-gadget {
  font-size: 13.6px !important;
  color: transparent !important;
  line-height: 1.5;
}

.sm-lang .goog-te-gadget span {
  display: none;
}

.sm-lang .goog-te-gadget .goog-te-combo {
  background: transparent;
  color: #e8ecf7;
  border: 0;
  outline: 0;
  margin: 0;
  padding: 0;
  font-size: 13.6px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  cursor: pointer;
}

.sm-lang .goog-te-gadget .goog-te-combo:hover {
  color: var(--gold-300);
}

.sm-lang .goog-te-gadget .goog-te-combo option {
  color: #1b2333;
  background: #fff;
}

/* navbar-expand-lg breakpoint */
@media (max-width: 991px) {
  .sm-nav-toggle {
    display: block;
  }

  .sm-nav-collapse {
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }

  .sm-nav-collapse.open {
    display: flex;
  }

  .sm-nav-list {
    flex-direction: column;
    gap: 0;
  }

  .sm-nav-list a {
    padding: 8px 0;
  }

  .sm-lang {
    align-items: flex-start;
  }
}
/* =========================================================
   LOGIN PAGE
========================================================= */

.sm-login-hero {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  padding: 4rem 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.sm-login-hero .sm-wrap {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 3rem 6rem;
  align-items: center;
}

.sm-kicker {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  color: var(--gold-600);
  margin: 0 0 .3rem;
font-size: 38px !important;
}

.sm-login-hero h1.sm-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;  
color: var(--ink);
  margin: 0 0 1rem;
  line-height: 1.25;
}

.sm-lead {
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

/* Card */
.sm-login-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold-500);
  border-radius: 6px;
  padding: 2.2rem 2rem;
  box-shadow: 0 24px 60px -30px rgba(12, 28, 58, .35);
  width: 100%;
}

.sm-card-head {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.4rem;
}

.sm-card-head h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;  color: var(--navy-800);
  margin: 0;
}

.sm-crest {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gold-500);
  color: var(--navy-800);  flex: none;
}

.sm-field {
  margin-bottom: 1rem;
}

.sm-field label {
  display: block;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.sm-login-card input.sm-input {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 16px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: none;
  outline: 0;
  transition: .2s;
}

.sm-login-card input.sm-input:focus {
  background: #fff;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(207, 162, 63, .18);
}

.sm-pass-group {
  display: flex;
  align-items: stretch;
  border-radius: 14px;
}

.sm-login-card .sm-pass-group input.sm-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  flex: 1;
}

.sm-pass-group:focus-within {
  box-shadow: 0 0 0 4px rgba(207, 162, 63, .18);
  border-radius: 14px;
}

.sm-login-card .sm-pass-group input.sm-input,
.sm-login-card .sm-pass-group input.sm-input:focus {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: none;
  flex: 1;
}

.sm-pass-group:focus-within input.sm-input,
.sm-pass-group:focus-within .sm-eye {
  background: #fff;
  border-color: var(--gold-500);
}

.sm-eye {
  width: 48px;
  height: 50px;
  border: 1px solid var(--line);
  border-left: none;
  background: var(--cream);
  color: var(--ink-soft);
  border-radius: 0 14px 14px 0;
  cursor: pointer;
  transition: .2s;
}

.sm-eye:hover {
  color: var(--gold-600);
}

.sm-login-card .sm-err {
  display: block;
  margin-top: 4px;
  color: #d9534f;
  font-size: .78rem;
}

.sm-forgot {
  text-align: right;
  margin: 0 0 1rem;
}

.sm-forgot a {
  color: var(--gold-600) !important;
  font-weight: 600;
}

.sm-forgot a:hover {
  text-decoration: underline;
}

.sm-login-card input.sm-submit {
  display: block;
  width: 100%;
  padding: 10px 12px;
  background: linear-gradient(120deg, var(--gold-600), var(--gold-300));
  color: var(--navy-950);
  font-weight: 700;  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: .2s;
}

.sm-login-card input.sm-submit:hover {
  filter: brightness(1.06);
}

.sm-login-card .sm-alert {
  margin-top: 1rem;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: .85rem;
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f5c2c7;
}

.sm-login-card .sm-alert .close {
  float: right;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  margin-left: 10px;
  color: #842029;
  opacity: .7;
}

.sm-divider {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 1.4rem 0 1rem;
  color: var(--ink-soft);
}

.sm-divider::before,
.sm-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.sm-join-line {
  text-align: center;
  font-size: .88rem;
  color: var(--ink-soft);
  margin: 0;
}

.sm-join-line a {
  color: var(--gold-600) !important;
  font-weight: 600;
}

.sm-join-line a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .sm-login-hero .sm-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sm-login-card {
    max-width: 460px;
  }
}


/* =========================================================
   FOOTER  (matches Index.aspx / style.css exactly)
   px units used because Bootstrap 3 sets html{font-size:10px}
========================================================= */

.sm-footer,
.sm-footer * {
  box-sizing: border-box;
}

.sm-footer {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: var(--navy-950);
  color: #cfd6e8;
  padding-top: 48px;               /* 3rem */
  clear: both;
}

.sm-footer a,
.sm-footer a:hover,
.sm-footer a:focus {
  text-decoration: none;
}

/* row gy-4 pb-4 */
.sm-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr;
  gap: 24px;
  padding-bottom: 24px;
}

/* brand lockup */
.sm-footer-brand {
  display: inline-flex;
  margin-bottom: 16px;             /* mb-3 */
}

.sm-footer .sm-footer-brand img {
  width: 120px;
  height: auto;
  max-width: 100%;
}

.sm-footer-text {
  font-size: 14.08px;              /* .88rem */
  color: #9aa4c0;
  line-height: 1.6;
  margin: 0 0 16px;
}

/* social */
.sm-social {
  display: flex;
  gap: 8px;
}

.sm-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(230, 200, 119, .4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300) !important;
  font-size: 16px;
  line-height: 1;
}

.sm-social a:hover {
  background: var(--gold-500);
  color: var(--navy-950) !important;
}

/* headings */
.sm-footer .sm-footer-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  color: var(--gold-300);
  padding: 0 0 9.6px !important;              /* .6rem */
  border-bottom: 1px solid rgba(207, 162, 63, .3);
  margin: 0 0 16px !important;
  text-transform: none;
}

/* links list */
.sm-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8.8px;                      /* .55rem */
  font-size: 14.08px;
}

.sm-footer-links li {
  color: #cfd6e8;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sm-footer-links a {
  color: #cfd6e8 !important;
}

.sm-footer-links a:hover {
  color: var(--gold-300) !important;
}

.sm-footer-links strong {
  font-weight: 600;
}

/* map */
.sm-map-card {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, .12);
}

.sm-map-card iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

/* bottom bar */
.sm-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 22.4px 0;               /* 1.4rem */
  margin-top: 24px;                /* 1.5rem */
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13.12px;              /* .82rem */
  color: #8b93ad;
}

.sm-footer .sm-link-gold {
  color: var(--gold-600) !important;
}

.sm-footer .sm-link-gold:hover {
  text-decoration: underline;
  color: var(--gold-600) !important;
}

/* Go top / down buttons (existing JS still controls show/hide) */
#goTop,
#goDown {
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--gold-600), var(--gold-300));
  color: var(--navy-950) !important;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(12, 28, 58, .3);
}

/* Index: col-6 on tablet/mobile (brand full width) */
@media (max-width: 991px) {
  .sm-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sm-footer-col-brand,
  .sm-footer-col-map {
    grid-column: 1 / -1;
  }
}




 