/* =========================================================
   SMART MANGAL CITY — CUSTOM STYLESHEET
   Easily editable variables & component styles
========================================================= */

:root {
  --bg-dark: #050918;
  --bg-card: #0c142e;
  --bg-card-hover: #121d42;
  --cyan: #00d2ff;
  --blue: #2563eb;
  --magenta: #e11d74;
  --orange: #f97316;
  --gold: #facc15;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-glow: rgba(0, 210, 255, 0.22);
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .brand-font {
  letter-spacing: -0.01em;
}

/* Gradient Text Utilities */
.text-gradient-brand {
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(90deg, #38bdf8, #00d2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(90deg, #facc15, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Primary Brand CTA Button */
.btn-brand {
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--magenta));
  background-size: 200% auto;
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.3);
}

.btn-brand:hover {
  background-position: right center;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(225, 29, 116, 0.45);
}

/* Header & Navigation */
.navbar-custom {
  background: rgba(5, 9, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glow);
  padding: 12px 0;
}

.navbar-custom .nav-link {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 10px;
  padding: 8px 4px;
  display: inline-block;
  transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--cyan);
}

.brand-subtitle {
  font-size: 0.7rem;
  letter-spacing: 1px;
}

.logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

/* Hero Slider */
.hero-carousel .carousel-item {
  min-height: 85vh;
  background: radial-gradient(circle at 80% 30%, rgba(225, 29, 116, 0.18), transparent 45%),
              radial-gradient(circle at 20% 70%, rgba(0, 210, 255, 0.18), transparent 45%),
              linear-gradient(135deg, #040714 0%, #0a1230 100%);
  padding: 100px 0 80px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-logo-showcase {
  max-width: 330px;
  filter: drop-shadow(0 0 28px rgba(0, 210, 255, 0.25));
  animation: floatLogo 5s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Sections */
.section-padding {
  padding: 85px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, #070d24 0%, #050918 100%);
}

.section-header {
  max-width: 760px;
}

.section-tag {
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

/* Cards & Boxes */
.smc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  padding: 28px;
  height: 100%;
  transition: all 0.35s ease;
  position: relative;
}

.smc-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 12px 30px rgba(0, 210, 255, 0.15);
}

.smc-card-highlight {
  border-color: rgba(0, 210, 255, 0.5);
}

.icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.18), rgba(225, 29, 116, 0.18));
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: var(--cyan);
}

.quote-box {
  background: rgba(0, 210, 255, 0.08);
  border-left: 4px solid var(--cyan);
}

/* Step Badges */
.step-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* Property Category Pills */
.property-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  transition: all 0.3s ease;
}

.property-pill:hover {
  background: rgba(250, 204, 21, 0.12);
  transform: scale(1.04);
}

.sector-box {
  background: rgba(5, 9, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: 0.3s ease;
}

.sector-box:hover {
  border-color: var(--cyan);
}

/* Footer */
.footer-section {
  background: #030611;
  border-top: 1px solid rgba(0, 210, 255, 0.25);
  padding-top: 70px;
}

.footer-logo {
  height: 60px;
  width: auto;
}

.footer-badge-cyan {
  background: rgba(0, 210, 255, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.footer-badge-gold {
  background: rgba(250, 204, 21, 0.12);
  color: var(--gold);
  border: 1px solid rgba(250, 204, 21, 0.3);
}

.footer-link {
  color: var(--text-muted);
  display: block;
  margin-bottom: 10px;
  transition: all 0.25s ease;
}

.footer-link:hover {
  color: var(--cyan);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  margin-top: 50px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .navbar-nav {
    padding-top: 15px;
    padding-bottom: 10px;
  }
  .hero-carousel .carousel-item {
    min-height: auto;
    padding: 70px 0 80px;
  }
}

/* =========================================================
   AUTH PAGES (LOGIN & REGISTRATION) — LOGO + FORM ONLY
========================================================= */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: radial-gradient(circle at 80% 20%, rgba(225, 29, 116, 0.2), transparent 45%),
              radial-gradient(circle at 20% 80%, rgba(0, 210, 255, 0.2), transparent 45%),
              linear-gradient(135deg, #040714 0%, #0a1230 100%);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(0, 210, 255, 0.12);
}

.auth-card-register {
  max-width: 520px;
}

.auth-logo-wrap {
  text-align: center;
  margin-bottom: 24px;
}

.auth-logo {
  height: 78px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(0, 210, 255, 0.25));
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-control-smc {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: #ffffff;
  background: rgba(5, 9, 24, 0.85);
  border: 1px solid rgba(0, 210, 255, 0.28);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

    .form-control-smc[type=file], .fileUploads {
        width: 100%;
        padding: 12px 14px;
        font-size: 0.95rem;
        color: #ffffff;
        background: rgba(5, 9, 24, 0.85);
        border: 1px solid rgba(0, 210, 255, 0.28);
        border-radius: 10px;
        outline: none;
        transition: border-color 0.25s ease, box-shadow 0.25s ease;
    }

    .form-control-smc::placeholder {
        color: #64748b;
    }

.form-control-smc:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.18);
}

.password-wrap {
  position: relative;
}

.toggle-pass-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.form-check-smc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-check-smc input[type="checkbox"] {
  accent-color: var(--cyan);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.w-100 {
  width: 100% !important;
}

.auth-link {
  color: var(--cyan);
  font-weight: 600;
  transition: 0.2s;
}

.auth-link:hover {
  color: var(--gold);
}

.auth-alert {
  display: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.auth-alert.show {
  display: block;
}

.auth-alert-error {
  background: rgba(225, 29, 116, 0.18);
  border: 1px solid rgba(225, 29, 116, 0.5);
  color: #fda4af;
}

.auth-alert-success {
  background: rgba(0, 210, 255, 0.16);
  border: 1px solid rgba(0, 210, 255, 0.5);
  color: #7dd3fc;
}

/* =========================================================
   HEADER FIXES: NO LINE WRAPPING + ACCOUNT DROPDOWN
========================================================= */
.navbar-brand {
  flex-shrink: 0;
}

.brand-text-wrap {
  white-space: nowrap;
}

.brand-title {
  font-size: 1.08rem;
  letter-spacing: 0.4px;
}

.brand-subtitle {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.9px;
  margin-top: 3px;
  white-space: nowrap;
}

.navbar-custom .nav-item {
  white-space: nowrap;
}

.navbar-custom .nav-link {
  margin: 0 11px;
  padding: 8px 4px;
  white-space: nowrap;
}

/* Account Dropdown */
.account-dropdown {
  position: relative;
}

.account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 0.92rem;
  white-space: nowrap;
}

.caret-icon {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.account-dropdown.open .caret-icon {
  transform: rotate(180deg);
}

.account-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  min-width: 185px;
  background: #0c142e;
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 210, 255, 0.14);
  z-index: 1050;
}

.account-dropdown.open .account-menu {
  display: block;
}

.account-menu-item {
  display: block;
  padding: 10px 16px;
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 9px;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.account-menu-item:hover {
  background: linear-gradient(90deg, rgba(0, 210, 255, 0.18), rgba(225, 29, 116, 0.18));
  color: var(--cyan);
  padding-left: 20px;
}

@media (max-width: 991px) {
  .account-menu {
    position: static;
    margin-top: 8px;
    box-shadow: none;
  }
}
