*{margin:0;padding:0;box-sizing:border-box;font-family:'Inter',sans-serif;scroll-behavior:smooth}
:root{--gold:#c8a96b;--bg:#0d0d0d;--surface:#121212;--surface-2:#151515;--surface-3:#1c1c1c;--text:#ffffff;--muted:#9ca3af;--border:rgba(255,255,255,.08);--radius:24px}
body{background:var(--bg);color:var(--text);overflow-x:hidden;transition:background .25s ease,color .25s ease;user-select:none;caret-color:transparent}
input,textarea,select{user-select:text;caret-color:auto}
body[data-theme="light"]{--bg:#f4f1ea;--surface:#ffffff;--surface-2:#f7f4ee;--surface-3:#ece7de;--text:#111827;--muted:#5b6472;--border:rgba(17,24,39,.1)}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:92%;max-width:1400px;margin:auto}
header{position:fixed;top:0;width:100%;z-index:1000;background:rgba(0,0,0,.75);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
body[data-theme="light"] header{background:rgba(244,241,234,.82)}
nav{display:flex;justify-content:space-between;align-items:center;padding:20px 0;gap:20px;min-width:0}
.logo{position:relative;display:flex;flex-direction:column;line-height:1.05;font-size:2.1rem;font-weight:700;color:var(--gold);font-family:'Playfair Display',serif;letter-spacing:.6px}
.logo .logo-sub{color:var(--text);font-weight:600;letter-spacing:2px;text-transform:uppercase;font-size:.9rem;margin-top:4px;margin-left:18px}
.logo .logo-crown{position:absolute;left:2px;top:-24px;width:18px;height:12px}
.nav-actions{display:flex;align-items:center;gap:18px;margin-left:auto;flex:1 1 auto;min-width:0}
.nav-links{display:flex;gap:18px;align-items:center;flex:1 1 auto;min-width:0}
.nav-links a{font-size:.92rem;text-transform:uppercase;letter-spacing:1px;color:var(--text);opacity:.85;padding:8px 12px;border-radius:999px;transition:background .2s ease,opacity .2s ease;flex:0 1 auto}
.nav-links a:hover,.nav-links a:focus-visible{opacity:1;background:rgba(200,169,107,.25)}
.nav-links .btn,.nav-links .btn.btn-primary,.nav-links .login-toggle{font-size:.92rem;text-transform:uppercase;letter-spacing:1px;padding:8px 12px;white-space:nowrap}
.nav-links .btn{background:transparent;color:var(--text);box-shadow:none;border-color:transparent;font-weight:600;opacity:.85}
.nav-links .btn.btn-primary{background:transparent;color:var(--text);box-shadow:none;border-color:transparent}
.nav-links .btn:hover,.nav-links .btn:focus-visible{background:rgba(200,169,107,.25);box-shadow:none;transform:none;opacity:1}
.nav-links .login-toggle{max-width:170px;overflow:hidden;text-overflow:ellipsis;min-width:0}
.profile-chip{display:inline-flex;align-items:center;gap:8px}
.profile-chip{min-width:0;max-width:100%}
.profile-chip span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-chip img{flex:0 0 auto}
.profile-chip img{width:26px;height:26px;border-radius:50%;object-fit:cover;border:1px solid var(--border);background:var(--surface-2)}
.nav-links #userProfileBtn{max-width:150px;overflow:hidden;min-width:0;flex:0 1 150px}
.nav-links #bookViewingBtn{max-width:150px;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 1 150px}
.nav-actions .theme-toggle{margin-left:auto;background:transparent;color:var(--text);border-color:transparent;box-shadow:none;display:inline-flex;font-weight:600;opacity:.85;font-size:.92rem;text-transform:uppercase;letter-spacing:1px;padding:8px 12px;white-space:nowrap;flex:0 0 auto}
.nav-actions .theme-toggle:hover,.nav-actions .theme-toggle:focus-visible{background:rgba(200,169,107,.25);box-shadow:none;transform:none;opacity:1}
.nav-actions .theme-toggle{background:transparent;color:var(--text);border-color:transparent;box-shadow:none;display:inline-flex;font-weight:600;opacity:.85;font-size:.92rem;text-transform:uppercase;letter-spacing:1px;padding:8px 12px;white-space:nowrap}
.nav-actions .theme-toggle:hover,.nav-actions .theme-toggle:focus-visible{background:rgba(200,169,107,.25);box-shadow:none;transform:none;opacity:1}
.menu-toggle{display:none;width:46px;height:46px;align-items:center;justify-content:center;border-radius:14px;border:1px solid var(--border);background:var(--surface);color:var(--gold);flex:0 0 auto}
.btn,.login-toggle,.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 28px;border:1px solid transparent;border-radius:50px;font-weight:700;cursor:pointer;transition:.3s;background:var(--gold);color:#111;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.btn{position:relative;overflow:hidden}
.btn::after{content:'';position:absolute;left:50%;top:50%;width:0;height:0;border-radius:50%;background:rgba(255,255,255,.4);transform:translate(-50%,-50%);opacity:0;transition:width .35s ease,height .35s ease,opacity .35s ease}
.btn:active::after{width:220%;height:220%;opacity:0}
.btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(200,169,107,.35)}
.btn-primary{background:var(--gold);color:#111}
.theme-toggle span{font-size:.9rem}
.icon-svg{width:1.05rem;height:1.05rem;display:inline-block;vertical-align:middle;flex:0 0 auto}
.feature-icon .icon-svg{width:2rem;height:2rem}
.whatsapp .icon-svg{width:1.4rem;height:1.4rem}
.profile-menu-card .icon-svg,.profile-panel-title .icon-svg,.detail-favorite-btn .icon-svg,.detail-compare-btn .icon-svg,.detail-booking-btn .icon-svg{width:1rem;height:1rem}
.truck .icon-svg{width:2rem;height:2rem}
.success-check .icon-svg,.ui-close-icon .icon-svg{width:1rem;height:1rem}
.profile-menu-card,.profile-panel-title,.detail-favorite-btn,.detail-compare-btn,.detail-booking-btn{display:inline-flex;align-items:center;gap:8px}
.profile-panel-title span{display:inline-flex;align-items:center}
.btn:hover,.btn:focus-visible,.login-toggle:hover,.login-toggle:focus-visible,.theme-toggle:hover,.theme-toggle:focus-visible{box-shadow:0 0 0 3px rgba(200,169,107,.35);transform:translateY(-1px)}
body.custom-cursor,body.custom-cursor *{cursor:none !important}
#cursorDot,#cursorRing{position:fixed;top:0;left:0;pointer-events:none;z-index:99999;transform:translate(-50%,-50%);opacity:0;transition:opacity .2s ease,transform .2s ease}
#cursorDot{width:7px;height:7px;background:var(--gold);border-radius:50%}
#cursorRing{width:32px;height:32px;border:1px solid rgba(200,169,107,.7);border-radius:50%}
body.custom-cursor.cursor-hover #cursorRing{transform:translate(-50%,-50%) scale(1.4);border-color:var(--gold)}
body.custom-cursor.cursor-hover #cursorDot{transform:translate(-50%,-50%) scale(.8)}
.hero{min-height:100vh;padding:108px 0 32px;background:var(--bg)}
.hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:30px;align-items:stretch}
.hero-left{background:var(--surface);border-radius:30px;padding:52px;padding-right:clamp(390px,41vw,560px);display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden;min-height:720px}
.hero-copy{position:relative;z-index:2;max-width:420px}
.hero-left h1{font-size:clamp(2.2rem,3.5vw,3.45rem);line-height:1.02;margin-bottom:22px;font-weight:800;color:var(--text);max-width:350px;word-break:keep-all}
.hero-left p{color:var(--muted);font-size:1.02rem;max-width:620px;margin-bottom:28px}
.hero-actions{display:flex;gap:14px;align-items:center;margin-bottom:28px;flex-wrap:wrap}
.hero-image{position:absolute;right:0;top:0;width:min(44%,430px);height:100%;z-index:1}
.hero-image img{width:100%;height:100%;object-fit:cover}
.hero-image::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.12) 100%)}
body[data-theme="light"] .hero-image::after{background:linear-gradient(90deg,rgba(244,241,234,.02) 0%,rgba(244,241,234,.28) 100%)}
.properties-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-top:28px;align-items:stretch}
.preview-card{background:var(--surface-2);border-radius:18px;overflow:hidden;box-shadow:0 16px 40px rgba(0,0,0,.12);display:flex;flex-direction:column;min-height:100%}
.preview-card{cursor:pointer}
.preview-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.preview-content{padding:16px 18px;display:flex;flex-direction:column;gap:8px}
.preview-content h3{font-size:1rem;margin-bottom:0;line-height:1.3;word-break:break-word}
.preview-content span{color:var(--gold);font-weight:700}
.hero-right{display:grid;gap:25px}
.side-card{background:var(--surface-2);border-radius:28px;padding:32px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 16px 40px rgba(0,0,0,.12)}
.side-card h2{font-size:2rem;line-height:1.18;margin-bottom:18px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:25px}
.stat-box{background:var(--surface-3);padding:25px;border-radius:18px;text-align:center}
.stat-box h3{font-size:2rem;color:var(--gold)}
section{padding:110px 0}
.section-title{text-align:center;margin-bottom:70px}
.section-title h2{font-size:clamp(2rem,4vw,3rem);margin-bottom:15px}
.section-title p{max-width:700px;margin:auto;color:var(--muted)}
.properties-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:28px}
.property-card{background:var(--surface-2);border-radius:28px;overflow:hidden;transition:.3s;border:1px solid var(--border);box-shadow:0 16px 40px rgba(0,0,0,.12)}
.property-card:hover{transform:translateY(-8px)}
.property-image{position:relative}
.property-card img{height:280px;width:100%;object-fit:cover}
.badge{position:absolute;top:18px;left:18px;background:var(--gold);color:#111;padding:8px 14px;border-radius:999px;font-size:.78rem;font-weight:800;letter-spacing:.3px}
.property-content{padding:28px}
.property-details-panel{display:none;margin:24px auto 40px;max-width:980px;border-radius:24px;background:var(--surface-2);border:1px solid var(--border);box-shadow:0 16px 40px rgba(0,0,0,.12);overflow:hidden}
.property-details-panel img{width:100%;max-height:360px;object-fit:cover;display:block}
.property-details-body{padding:24px 28px;display:grid;gap:12px}
.property-details-title{font-size:1.6rem;font-weight:800}
.property-details-meta{display:flex;gap:16px;flex-wrap:wrap;color:var(--muted)}
.property-details-price{color:var(--gold);font-size:1.4rem;font-weight:800}
.details-thumbs{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.details-thumb{width:70px;height:52px;object-fit:cover;border-radius:10px;border:1px solid var(--border);cursor:pointer;opacity:.75}
.details-thumb.active{opacity:1;border-color:var(--gold)}
.image-preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}
.image-preview-item{position:relative}
.image-preview-grid img{width:100%;height:110px;object-fit:cover;border-radius:12px;border:1px solid #ddd;background:#fff}
.image-preview-remove{position:absolute;top:6px;right:6px;width:22px;height:22px;border-radius:50%;border:none;background:rgba(0,0,0,.7);color:#fff;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1;padding:0;font-weight:700}
.price{color:var(--gold);font-size:1.8rem;font-weight:800;margin-bottom:10px}
.property-details{display:flex;justify-content:space-between;gap:12px;margin-top:18px;color:var(--muted);flex-wrap:wrap}
.property-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}
.property-card-actions .btn{width:100%;min-height:52px;padding:12px 14px;font-size:.85rem;justify-content:center;text-align:center;line-height:1.25}
.property-card-actions .detail-booking-btn{grid-column:1 / -1}
.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px}
.feature-card,.testimonial,.mortgage,.contact-wrapper,.footer-grid{background:var(--surface-2);border:1px solid var(--border);border-radius:28px;box-shadow:0 16px 40px rgba(0,0,0,.12)}
.feature-card{padding:28px}
.feature-icon{font-size:2rem;margin-bottom:14px}
.section-description{max-width:760px;margin:0 auto 24px;padding:22px 26px;border-radius:24px;background:var(--surface-2);border:1px solid var(--border);color:var(--muted);line-height:1.7;box-shadow:0 16px 40px rgba(0,0,0,.08);display:grid;gap:12px}
.highlight-word{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:999px;background:rgba(200,169,107,.22);color:var(--gold);font-weight:700;font-size:.85rem;letter-spacing:.2px;min-width:120px}
.desc-row{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center}
.login-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
.login-role-card{padding:16px;border-radius:18px;background:var(--surface-2);border:1px solid var(--border)}
.login-role-card h4{margin-bottom:8px;font-size:1rem}
.login-role-card p{color:var(--muted);font-size:.92rem;line-height:1.6}
.auth-panel-right{padding:56px 50px 40px;display:flex;flex-direction:column;gap:22px;background:#fff;min-height:680px}
.login-overlay{overflow:auto}
.login-shell{max-height:92vh;overflow:hidden}
.auth-panel-right{max-height:92vh;overflow:auto}
.auth-header h2{font-size:2.2rem;margin-bottom:8px;color:#0f172a}
.auth-header p{color:#64748b;line-height:1.6}
.auth-kicker{font-size:12px;text-transform:uppercase;letter-spacing:1.6px;color:#64748b}
.auth-tabs{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:6px;border-radius:16px;background:rgba(15,23,42,.06);border:1px solid rgba(15,23,42,.08)}
.auth-tab{position:relative;z-index:2;padding:12px 10px;border-radius:12px;border:none;background:transparent;color:#0f172a;font-weight:700;cursor:pointer;transition:.25s;white-space:nowrap}
.auth-tab.active{color:#0f172a}
.auth-tab-indicator{position:absolute;top:6px;bottom:6px;left:6px;width:calc(33.333% - 8px);border-radius:12px;background:rgba(200,169,107,.35);transition:transform .3s ease}
.auth-panels{position:relative;overflow:visible;border-radius:18px;border:1px solid #e2e8f0;background:#f8fafc;padding:18px;margin-bottom:4px}
.auth-panel{display:none;animation:fadeSlide .4s ease}
.auth-panel.active{display:grid;gap:14px;position:relative;z-index:1}
.auth-field{display:grid;gap:8px}
.auth-field label{font-weight:700;color:#334155;font-size:.9rem}
.auth-field input{width:100%;padding:14px 16px;border-radius:14px;border:1px solid #dbe4ee;font-size:15px;outline:none;background:#fff}
.input-wrap{position:relative;display:flex;align-items:center}
.toggle-visibility{position:absolute;right:12px;border:none;background:transparent;color:#64748b;font-weight:700;cursor:pointer}
.field-error{min-height:18px;color:#ef4444;font-size:.82rem;font-weight:600}
.auth-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.auth-check{display:flex;align-items:center;gap:8px;font-size:.9rem;color:#475569}
.link-btn{border:none;background:none;color:#2563eb;font-weight:700;cursor:pointer}
.auth-submit{width:100%}
.strength-meter{width:100%;height:8px;border-radius:999px;background:#e2e8f0;overflow:hidden}
.strength-bar{height:100%;width:0%;background:linear-gradient(90deg,#f97316,#c8a96b);transition:width .25s ease}
.strength-label{font-size:.82rem;color:#64748b}
.auth-guest-card{padding:18px;border-radius:16px;background:rgba(15,23,42,.08);border:1px solid rgba(15,23,42,.1);display:grid;gap:10px}
.auth-guest-card h3{color:#0f172a}
.auth-guest-list{display:grid;gap:8px;color:#64748b;font-size:.92rem}
.auth-admin-card{padding:18px;border-radius:18px;border:1px solid #e2e8f0;background:#fff;display:grid;gap:14px;margin-top:2px}
.auth-admin-header h3{margin-bottom:4px;color:#0f172a}
.auth-admin-header p{color:#64748b;font-size:.9rem}
.auth-submit.loading{opacity:.7;pointer-events:none}
.auth-submit .spinner{width:18px;height:18px;border-radius:50%;border:2px solid rgba(15,23,42,.2);border-top-color:#0f172a;animation:spin .8s linear infinite}
.auth-feature-list{display:grid;gap:18px}
.auth-feature-card{display:flex;align-items:center;gap:14px;background:rgba(255,255,255,0.08);padding:18px;border-radius:16px}
.auth-feature-icon{width:2.75rem;height:2.75rem;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,0.12);color:#fff;flex:0 0 auto}
.auth-feature-icon .icon-svg{width:1.5rem;height:1.5rem}
@keyframes fadeSlide{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes spin{to{transform:rotate(360deg)}}
.about{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}
.about img{width:100%;border-radius:28px;min-height:520px;object-fit:cover}
.about p{color:var(--muted);line-height:1.8}
.mortgage{padding:28px;display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;overflow:hidden}
.mortgage > *{min-width:0}
.mortgage canvas,#mortgageChart{display:block;max-width:100% !important;width:100% !important;height:auto !important;margin:0 auto}
.mortgage input,.contact-form input,.contact-form textarea{width:100%;padding:16px 18px;border-radius:14px;border:1px solid var(--border);background:var(--surface);color:var(--text);margin-bottom:14px;outline:none}
.result-box{margin-top:18px;padding:22px;border-radius:18px;background:var(--surface);border:1px solid var(--border)}
.result-box h1{font-size:clamp(2rem,5vw,3rem);color:var(--gold)}
.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px}
.testimonial{padding:26px}
.testimonial p{color:var(--muted);line-height:1.8}
.contact-wrapper{padding:24px;display:grid;grid-template-columns:1fr 1fr;gap:24px}
.contact-form,.map{min-height:100%}
.map iframe{width:100%;height:100%;min-height:380px;border:0;border-radius:18px}
.footer-grid{padding:28px;display:grid;grid-template-columns:1.2fr .9fr .9fr 1fr;gap:22px}
.footer-grid h4{margin-bottom:12px}
.footer-grid p,.footer-grid a{color:var(--muted);display:block;line-height:1.8}
.footer-panel{display:grid;align-content:start;gap:10px}
.footer-link-stack{display:grid;gap:6px}
.footer-link-inline{display:inline-flex !important;align-items:center;justify-content:flex-start;font-weight:700;color:var(--gold) !important}
.footer-bottom{margin-top:18px;padding-top:18px;border-top:1px solid var(--border);color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.whatsapp{position:fixed;right:24px;bottom:24px;z-index:999;background:var(--gold);color:#111;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;font-size:1.4rem;box-shadow:0 14px 30px rgba(0,0,0,.24)}
.dashboard-btn{position:fixed;bottom:30px;left:30px;z-index:999;background:var(--gold);color:#111;padding:16px 28px;border-radius:50px;font-weight:700;cursor:pointer}
@media(max-width:1280px){nav{gap:14px}.logo{font-size:1.9rem}.nav-links{gap:14px}.nav-links a,.nav-links .btn,.nav-links .btn.btn-primary,.nav-links .login-toggle,.nav-actions .theme-toggle{font-size:.84rem;padding:6px 10px}}
@media(max-width:1100px){.hero-grid,.about,.mortgage,.contact-wrapper{grid-template-columns:1fr}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-left{min-height:auto;padding:40px;padding-right:40px}.hero-copy{max-width:none}.hero-image{position:relative;width:100%;height:360px;margin-top:24px;border-radius:24px;overflow:hidden}.hero-right{grid-template-columns:1fr}.properties-preview{grid-template-columns:1fr}.nav-actions{flex-wrap:wrap;gap:10px}.nav-links{flex-wrap:wrap;gap:14px}}
@media(max-width:1100px){.auth-panel-right{padding:32px 26px}.auth-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.auth-panels{min-height:auto}}
@media(max-width:900px){
header{background:rgba(0,0,0,.88)}
body[data-theme="light"] header{background:rgba(244,241,234,.95)}
nav{position:relative;flex-wrap:nowrap;align-items:center;padding:14px 0;gap:12px}
.logo{font-size:1.72rem}
.logo .logo-sub{font-size:.72rem;letter-spacing:1.8px;margin-left:12px}
.logo .logo-crown{left:0;top:-18px;width:14px;height:10px}
.menu-toggle{display:inline-flex;position:relative;z-index:1003;color:var(--gold);background:var(--surface);border-color:var(--border);box-shadow:0 12px 28px rgba(0,0,0,.22)}
.nav-actions{width:auto;flex:0 0 auto;flex-wrap:nowrap;align-items:center;gap:8px;margin-left:auto;position:static;z-index:1002}
.nav-links{display:none;position:absolute;top:calc(100% + 8px);left:0;right:0;width:100%;order:3;flex-direction:column;align-items:stretch;gap:8px;padding:14px;margin:0;z-index:1001;border:1px solid var(--border);border-radius:20px;background:rgba(18,18,18,.98);box-shadow:0 24px 60px rgba(0,0,0,.32)}
.nav-links.is-open{display:flex}
.nav-links a,.nav-links .btn,.nav-links .btn.btn-primary,.nav-links .login-toggle{width:100%;justify-content:center}
.nav-links .login-toggle{max-width:none}
.nav-links #bookViewingBtn,.nav-links #userProfileBtn{max-width:none;flex:0 0 auto}
.nav-links #userProfileBtn{justify-content:flex-start;padding:12px 16px;min-height:58px;border-radius:18px;background:rgba(200,169,107,.18);border:1px solid rgba(200,169,107,.34);box-shadow:none;color:var(--text);font-size:.95rem;letter-spacing:.2px;text-transform:none}
.nav-links #userProfileBtn:hover,.nav-links #userProfileBtn:focus-visible{background:rgba(200,169,107,.24);box-shadow:0 0 0 3px rgba(200,169,107,.16);transform:none}
.nav-links #userProfileBtn .profile-chip{display:flex;width:100%;align-items:center;justify-content:flex-start;gap:12px;min-width:0}
.nav-links #userProfileBtn .profile-chip span{display:block;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.nav-links #userProfileBtn .profile-chip img{width:30px;height:30px;flex:0 0 30px}
.nav-actions .theme-toggle{margin-left:0;order:2;min-height:46px;min-width:46px;padding:0 12px;border-radius:14px;background:var(--surface);border:1px solid var(--border);opacity:1}
.nav-actions .theme-toggle #themeToggleText{display:none}
.nav-actions .theme-toggle #themeToggleIcon{display:inline-flex;font-size:1rem}
.hero{padding-top:92px}
.hero-grid{gap:20px}
.hero-left{padding:28px;min-height:auto;border-radius:26px}
.hero-copy{max-width:none}
.hero-left h1{max-width:300px;font-size:clamp(2rem,10vw,3rem)}
.hero-left p{font-size:1rem;max-width:none;margin-bottom:22px}
.hero-actions{display:grid;grid-template-columns:1fr;gap:12px;width:100%;margin-bottom:22px}
.hero-actions .btn{width:100%}
.hero-image{position:relative;width:100%;height:320px;margin-top:22px;border-radius:22px;overflow:hidden}
.hero-right{gap:18px}
.side-card{padding:24px;border-radius:24px}
.side-card h2{font-size:1.7rem}
.stats{grid-template-columns:1fr;gap:12px;margin-top:18px}
.stat-box{padding:18px}
.section-title{margin-bottom:36px}
.section-description{padding:18px 18px 16px}
.desc-row{grid-template-columns:1fr;gap:10px;align-items:flex-start}
.highlight-word{min-width:0;justify-self:flex-start}
.properties-grid,.features-grid,.testimonials-grid{grid-template-columns:1fr;gap:18px}
.property-card{border-radius:22px}
.property-content{padding:20px}
.property-card img{height:220px}
.property-card-actions{grid-template-columns:1fr;gap:10px}
.property-card-actions .detail-booking-btn{grid-column:auto}
.about img{min-height:320px}
.mortgage,.contact-wrapper{gap:18px}
.mortgage{padding:22px}
.mortgage canvas,#mortgageChart{max-width:280px !important}
.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}
.footer-grid p,.footer-grid a{line-height:1.65}
.footer-bottom{margin-top:14px;padding-top:14px;flex-direction:column;align-items:flex-start}
.whatsapp{right:16px;bottom:16px;width:54px;height:54px}
}
@media(max-width:700px){nav{padding:12px 0}.logo{font-size:1.52rem;max-width:calc(100% - 124px)}.logo .logo-sub{font-size:.66rem;letter-spacing:1.5px}.theme-toggle,.login-toggle{padding:10px 12px}.theme-toggle #themeToggleText{display:none}.hero{padding-top:86px}.hero-left h1{font-size:clamp(1.9rem,12vw,2.7rem);max-width:260px}.hero-left{padding:22px}.hero-image{height:260px}.preview-content{padding:14px 16px}.side-card{padding:20px}.property-details{justify-content:flex-start}.property-card-actions{grid-template-columns:1fr}.section{padding:72px 0}.login-role-grid{grid-template-columns:1fr}.nav-links{left:0;right:0}.mortgage canvas,#mortgageChart{max-width:100% !important}
}
@media(max-width:700px){.auth-panel-right{padding:26px 20px}.auth-tabs{grid-template-columns:1fr}.auth-tab-indicator{display:none}.auth-panels{padding:16px}.auth-row{flex-direction:column;align-items:flex-start}}
.phone-row{
    display:flex;
    gap:12px;
    width:100%;
}

.country-select{
    position:relative;
    width:320px;
}

.selected-country{
    display:flex;
    align-items:center;
    gap:10px;
    border:1px solid #dcdcdc;
    padding:12px;
    border-radius:12px;
    background:#fff;
}

.selected-country input{
    border:none;
    outline:none;
    width:100%;
    font-size:15px;
    background:transparent;
}

.country-list{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    max-height:260px;
    overflow-y:auto;
    background:#fff;
    border:1px solid #ddd;
    border-radius:12px;
    margin-top:6px;
    display:none;
    z-index:9999;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.country-item{
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px;
    cursor:pointer;
    transition:.2s;
}

.country-item:hover{
    background:#f3f4f6;
}

/* PHONE INPUT */

.phone-row{
    display:grid;
    grid-template-columns:minmax(240px,1.6fr) 72px 96px minmax(220px,1.05fr);
    gap:10px;
    width:100%;
    margin-bottom:20px;
    align-items:start;
}

.country-select{
    position:relative;
    width:100%;
    min-width:0;
}

.phone-row .form-field{
    margin-bottom:0;
    min-width:0;
}

.phone-row .field-label{
    margin-bottom:6px;
    min-height:18px;
    white-space:nowrap;
}

.phone-row .country-field,
.phone-row .phone-field,
.phone-row .flag-field,
.phone-row .code-field{
    width:100%;
}

#countrySearch,
#phoneNumber{
    width:100%;
    height:58px;
    border:1px solid rgba(255,255,255,0.08);
    border-radius:18px;
    background:#0b1120;
    color:#fff;
    padding:0 18px;
    font-size:15px;
    outline:none;
    transition:0.3s;
}

body[data-theme="light"] #countrySearch,
body[data-theme="light"] #phoneNumber{
    background:var(--surface);
    border-color:var(--border);
    color:var(--text);
}

#countrySearch:focus,
#phoneNumber:focus{
    border-color:#c8a96b;
    box-shadow:0 0 0 3px rgba(200,169,107,0.15);
}

.field-invalid{
    border-color:inherit !important;
    box-shadow:none !important;
    background:inherit !important;
    color:inherit !important;
}

.field-invalid::placeholder,
.field-invalid::-webkit-input-placeholder{
    color:inherit !important;
}

.country-code-display.field-invalid,
.country-flag-display.field-invalid{
    border-color:inherit !important;
    box-shadow:none !important;
    background:inherit !important;
}

.form-inline-message{
    min-height:22px;
    margin:4px 0 14px;
    color:#ef4444;
    font-size:.95rem;
    font-weight:600;
}

.form-inline-message.success{
    color:#22c55e;
}

.field-label{
    margin:0 0 8px;
    font-size:.82rem;
    letter-spacing:.02em;
    color:#9ca3af;
    padding-left:4px;
    line-height:1.2;
}

.form-field{
    display:flex;
    flex-direction:column;
    gap:0;
    width:100%;
    margin-bottom:14px;
}

.form-field.field-invalid .field-label{
    color:#ff6b6b;
}

.form-field.field-invalid #countrySearch,
.form-field.field-invalid #phoneNumber,
.form-field.field-invalid textarea,
.form-field.field-invalid .country-flag-display,
.form-field.field-invalid .country-code-display{
    border-color:var(--border) !important;
    box-shadow:0 0 0 3px rgba(200,169,107,0.15) !important;
    background:var(--surface) !important;
}

.country-select{
    position:relative;
    width:100%;
}

.phone-row .country-field{
    width:100%;
    min-width:0;
}

.phone-row .flag-field{
    width:72px;
    min-width:72px;
}

.phone-row .code-field{
    width:96px;
    min-width:96px;
}

.phone-row .phone-field{
    min-width:220px;
}

.form-field .field-invalid + .field-label,
.field-invalid ~ .field-label,
.field-invalid + .field-label{
    color:#ff6b6b;
}

#countrySearch::placeholder,
#phoneNumber::placeholder{
    color:#7c8597;
}

.country-list{
    position:absolute;
    top:65px;
    left:0;
    width:100%;
    max-height:280px;
    overflow-y:auto;
    background:#111827;
    border:1px solid rgba(255,255,255,0.08);
    border-radius:18px;
    display:none;
    z-index:9999;
    box-shadow:0 10px 30px rgba(0,0,0,0.4);
}

body[data-theme="light"] .country-list{
    background:var(--surface);
    border-color:var(--border);
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.country-item{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 16px;
    cursor:pointer;
    transition:0.2s;
    color:#fff;
}

body[data-theme="light"] .country-item{
    color:var(--text);
}

.country-flag,
.country-flag-display{
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

.country-item:hover{
    background:#1f2937;
}

body[data-theme="light"] .country-item:hover{
    background:rgba(200,169,107,0.12);
}

.country-item.active{
    background:linear-gradient(90deg, rgba(200,169,107,0.18), rgba(200,169,107,0.06));
    color:var(--text);
}

.country-code{
    margin-left:auto;
    color:#9ca3af;
    font-size:14px;
}

.country-flag-display{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:58px;
    font-size:24px;
    border-radius:18px;
    background:#0b1120;
    color:#fff;
    border:1px solid rgba(255,255,255,0.04);
}

body[data-theme="light"] .country-flag-display{
    background:var(--surface);
    border-color:var(--border);
    color:var(--text);
}

.country-flag-display[aria-hidden="true"]{
    opacity:0.95;
}

.country-code-display{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:58px;
    font-size:15px;
    border-radius:18px;
    background:#0b1120;
    color:#9ca3af;
    border:1px solid rgba(255,255,255,0.04);
    padding:0 12px;
}

body[data-theme="light"] .country-code-display{
    background:var(--surface);
    border-color:var(--border);
    color:var(--text-muted);
}

/* Send animation */
.send-animation-wrapper{
    position:fixed;
    left:50%;
    top:20%;
    transform:translateX(-50%);
    z-index:10000;
    pointer-events:none;
}
.send-animation{
    width:260px;
    height:64px;
    background:linear-gradient(90deg,#0b1120,#0f172a);
    border-radius:12px;
    display:flex;
    align-items:center;
    overflow:hidden;
    border:1px solid rgba(255,255,255,0.06);
}
.truck{
    width:64px;
    height:64px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    transform:translateX(-120%);
    animation: drive 900ms linear forwards;
}
.send-message{
    padding:0 18px;
    color:var(--gold);
    font-weight:700;
    display:flex;
    align-items:center;
}
@keyframes drive{
    0%{transform:translateX(-120%)}
    70%{transform:translateX(0%)}
    90%{transform:translateX(0%)}
    100%{transform:translateX(0%)}
}
.sent-success{
    display:none;
    align-items:center;
    gap:8px;
    color:var(--gold);
    font-weight:800;
}
.sent-success.show{display:flex}

/* PROFILE DASHBOARD */
.profile-overlay{position:fixed;inset:0;display:flex;align-items:stretch;justify-content:flex-end;background:rgba(8,11,16,.55);backdrop-filter:blur(12px);z-index:7000;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s ease,visibility .3s ease}
.profile-overlay.is-open{opacity:1;visibility:visible;pointer-events:auto}
.profile-drawer{height:100%;width:min(760px,92vw);background:linear-gradient(135deg,rgba(18,18,18,.92),rgba(17,24,39,.86));border-left:1px solid rgba(255,255,255,.08);border-top-left-radius:28px;border-bottom-left-radius:28px;box-shadow:-20px 0 60px rgba(0,0,0,.35);transform:translateX(100%);transition:transform .35s ease,box-shadow .35s ease;backdrop-filter:blur(18px) saturate(140%);padding:22px;overflow:auto}
.profile-drawer.is-open{transform:translateX(0)}
body.profile-open{overflow:hidden}
body[data-theme="light"] .profile-drawer{background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(237,232,223,.86));border-left:1px solid rgba(17,24,39,.08)}
.profile-shell{display:grid;gap:16px}
.profile-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:6px 2px 0}
.profile-topbar-left{display:flex;align-items:center;gap:14px;min-width:0}
.profile-avatar-wrap{position:relative;width:74px;height:74px;flex:0 0 74px}
.profile-avatar-img,.profile-avatar-fallback{position:absolute;inset:0;width:100%;height:100%;border-radius:22px;object-fit:cover;background:linear-gradient(135deg,#1f2937,#0b1120);border:1px solid var(--border)}
.profile-avatar-fallback{display:grid;place-items:center;font-size:1.7rem;font-weight:800;color:var(--gold)}
.profile-name-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.profile-email{color:var(--muted);margin-top:4px;word-break:break-word}
.profile-meta{color:var(--muted);margin-top:4px;font-size:.95rem}
.profile-verified-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:rgba(34,197,94,.12);color:#22c55e;border:1px solid rgba(34,197,94,.25);font-size:.78rem;font-weight:700}
.profile-close-btn{width:42px;height:42px;border-radius:12px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);cursor:pointer}
.profile-summary-card{padding:18px 20px;border-radius:22px;background:var(--surface-2);border:1px solid var(--border);display:grid;gap:12px}
.profile-summary-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.profile-summary-label{font-size:.82rem;color:var(--muted);margin-bottom:8px;letter-spacing:.02em}
.profile-progress-wrap{width:100%;height:10px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden;min-width:240px}
.profile-progress-bar{height:100%;width:0%;background:linear-gradient(90deg,var(--gold),#f4d38b);border-radius:999px;transition:width .25s ease}
.profile-completion-text{font-size:1.35rem;font-weight:800;color:var(--gold);min-width:54px;text-align:right}
.profile-summary-note{color:var(--muted);font-size:.92rem}
.profile-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.profile-stat{padding:12px 14px;border-radius:16px;background:var(--surface);border:1px solid var(--border);display:grid;gap:6px}
.profile-stat-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.profile-stat-value{font-size:1.1rem;font-weight:800;color:var(--text)}
.profile-menu-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.profile-menu-card{display:flex;align-items:center;justify-content:center;gap:10px;min-height:64px;padding:14px 16px;border-radius:18px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font-weight:700;cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease;flex-direction:row;flex-wrap:wrap;text-align:center}
.profile-menu-card span{display:block;width:100%}
.profile-menu-card[data-count]:not([data-count="0"]){position:relative}
.profile-menu-card[data-count]:not([data-count="0"])::after{content:attr(data-count);position:absolute;top:8px;right:10px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:rgba(200,169,107,.2);color:var(--gold);font-size:.72rem;font-weight:800;display:grid;place-items:center}
.profile-menu-card:hover,.profile-menu-card:focus-visible{transform:translateY(-2px);border-color:rgba(200,169,107,.55);background:rgba(200,169,107,.08)}
.profile-menu-card.active{border-color:rgba(200,169,107,.65);box-shadow:0 10px 24px rgba(200,169,107,.12)}
.profile-menu-card.danger{border-color:rgba(239,68,68,.35);background:rgba(239,68,68,.08);color:#fca5a5}
.profile-admin-block{display:none;gap:10px}
.profile-admin-title{font-size:.9rem;text-transform:uppercase;letter-spacing:.18em;color:var(--muted)}
.profile-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.profile-panels{display:grid}
.profile-panel{display:none;padding:18px;border-radius:22px;border:1px solid var(--border);background:var(--surface-2);min-height:180px}
.profile-panel.active{display:grid;gap:14px}
.profile-panel-title{font-size:1.05rem;font-weight:800;color:var(--text)}
.profile-card-list{display:grid;gap:12px}
.profile-item-card{display:grid;grid-template-columns:92px 1fr auto;gap:14px;align-items:center;padding:12px;border-radius:18px;background:var(--surface);border:1px solid var(--border)}
.profile-item-card.no-media{grid-template-columns:1fr;align-items:flex-start}
.profile-item-card img{width:92px;height:74px;object-fit:cover;border-radius:14px;border:1px solid var(--border)}
.profile-item-title{font-weight:800;margin-bottom:4px}
.profile-item-meta{color:var(--muted);font-size:.92rem;display:grid;gap:3px}
.profile-item-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.profile-pill{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:rgba(200,169,107,.18);color:var(--gold);font-size:.78rem;font-weight:700}
.profile-empty{padding:18px;border-radius:18px;border:1px dashed var(--border);color:var(--muted);text-align:center}
.profile-admin-actions{display:flex;flex-wrap:wrap;gap:8px}
.profile-admin-actions .btn{padding:10px 16px;font-size:.85rem}
.profile-admin-content{display:grid;gap:12px}
.admin-form{padding:16px;border-radius:20px;border:1px solid var(--border);background:var(--surface);display:grid;gap:14px}
.admin-form-title{font-weight:800;font-size:1rem;color:var(--text)}
.admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.admin-form-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-start}
.admin-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px;border-radius:18px;background:var(--surface);border:1px solid var(--border)}
.admin-search{flex:1;min-width:220px;padding:12px 14px;border-radius:14px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);outline:none}
.admin-select{min-width:160px;padding:12px 14px;border-radius:14px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);outline:none}
.profile-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.settings-card{padding:14px;border-radius:18px;background:var(--surface);border:1px solid var(--border);display:grid;gap:10px}
.settings-label{font-size:.86rem;color:var(--muted);font-weight:700}
.settings-card input{margin-bottom:0;width:100%;padding:14px 16px;border-radius:14px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);outline:none}
.settings-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}

.skeleton-card{border-radius:18px;border:1px solid var(--border);background:var(--surface);padding:14px;display:grid;gap:10px;overflow:hidden;position:relative}
.skeleton-row{height:14px;border-radius:8px;background:linear-gradient(90deg,rgba(255,255,255,.05),rgba(255,255,255,.16),rgba(255,255,255,.05));background-size:400px 100%;animation:shimmer 1.2s infinite}
.skeleton-img{height:92px;border-radius:14px;background:linear-gradient(90deg,rgba(255,255,255,.05),rgba(255,255,255,.16),rgba(255,255,255,.05));background-size:400px 100%;animation:shimmer 1.2s infinite}
@keyframes shimmer{0%{background-position:-200px 0}100%{background-position:200px 0}}

.toast-stack{position:fixed;right:24px;bottom:24px;z-index:8000;display:grid;gap:10px;min-width:240px;max-width:360px}
.toast{padding:14px 16px;border-radius:14px;background:rgba(17,24,39,.94);color:#f8fafc;border:1px solid rgba(255,255,255,.12);box-shadow:0 16px 40px rgba(0,0,0,.28);display:flex;align-items:center;justify-content:space-between;gap:12px;animation:toast-in .3s ease}
.toast.success{border-color:rgba(34,197,94,.4);color:#dcfce7}
.toast.error{border-color:rgba(239,68,68,.4);color:#fecaca}
@keyframes toast-in{from{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}

.modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(8,11,16,.6);backdrop-filter:blur(10px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s ease,visibility .3s ease;z-index:9000;padding:20px}
.modal.is-open{opacity:1;visibility:visible;pointer-events:auto}
.modal-card{width:min(560px,92vw);background:var(--surface);border-radius:24px;border:1px solid var(--border);box-shadow:0 30px 80px rgba(0,0,0,.35);padding:22px;display:grid;gap:16px}
.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.modal-header h3{font-size:1.4rem}
.modal-header p{color:var(--muted);font-size:.95rem}
.modal-close{width:38px;height:38px;border-radius:12px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);cursor:pointer}
.reset-methods{display:flex;gap:10px;flex-wrap:wrap}
.reset-panel{display:grid;gap:10px}
.reset-panel input{padding:12px 14px;border-radius:14px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);outline:none}
.reset-note{color:var(--muted);font-size:.9rem}
.reset-note.disabled{opacity:.7}
.reset-panel .btn[disabled]{opacity:.6;cursor:not-allowed;box-shadow:none}
.recaptcha-slot{margin:6px 0}
.reset-divider{height:1px;background:var(--border);margin:8px 0}

@media(max-width:980px){
    .profile-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .profile-settings-grid{grid-template-columns:1fr}
    .profile-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .profile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .admin-form-grid{grid-template-columns:1fr}
}

@media(max-width:720px){
    .profile-item-card{grid-template-columns:1fr}
    .profile-item-card img{width:100%;height:170px}
    .profile-summary-row{flex-direction:column;align-items:flex-start}
    .profile-completion-text{text-align:left}
    .profile-drawer{width:100%;padding:16px;border-radius:0;border-left:none}
    .profile-shell{gap:14px}
    .profile-topbar{align-items:flex-start;gap:12px}
    .profile-topbar-left{align-items:flex-start;gap:12px}
    .profile-avatar-wrap{width:62px;height:62px;flex-basis:62px}
    .profile-summary-card,.profile-panel,.settings-card,.admin-form{padding:14px}
    .profile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .profile-menu-grid{
        display:flex;
        gap:8px;
        margin:0 -16px;
        padding:2px 16px 10px;
        overflow-x:auto;
        overscroll-behavior-x:contain;
        scroll-snap-type:x proximity;
        border-bottom:1px solid var(--border);
    }
    .profile-menu-grid::-webkit-scrollbar{display:none}
    .profile-menu-card{
        flex:0 0 auto;
        justify-content:center;
        text-align:center;
        min-height:46px;
        min-width:max-content;
        max-width:170px;
        padding:10px 14px;
        border-radius:999px;
        flex-wrap:nowrap;
        scroll-snap-align:start;
        white-space:nowrap;
    }
    .profile-menu-card span{width:auto;overflow:hidden;text-overflow:ellipsis}
    .profile-menu-card[data-count]:not([data-count="0"])::after{top:-3px;right:-3px}
    .profile-menu-card.danger{margin-left:auto}
    .profile-panels{min-height:220px}
    .profile-panel{border-radius:18px;min-height:220px}
    .profile-item-actions,.profile-admin-actions,.admin-form-actions,.settings-actions{flex-direction:column;align-items:stretch}
    .profile-item-actions .btn,.profile-admin-actions .btn,.admin-form-actions .btn,.settings-actions .btn{width:100%}
    .toast-stack{left:16px;right:16px;bottom:16px;min-width:0;max-width:none}
    .profile-admin-grid{grid-template-columns:1fr}
}

@media(max-width:820px){
    #loginPage.login-overlay{
        align-items:flex-start !important;
        justify-content:center !important;
        padding:14px !important;
        background:linear-gradient(rgba(13,18,30,.98),rgba(13,18,30,.98)),url('https://images.unsplash.com/photo-1460317442991-0ec209397118?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat !important;
    }

    #loginPage .login-shell{
        display:flex !important;
        flex-direction:column !important;
        width:min(100%,390px) !important;
        max-width:390px !important;
        min-height:0 !important;
        max-height:none !important;
        overflow:visible !important;
        background:transparent !important;
        border-radius:0 !important;
        box-shadow:none !important;
        gap:12px;
    }

    #loginPage .auth-hero-panel{
        min-height:0 !important;
        padding:24px !important;
        border:1px solid rgba(255,255,255,.2);
        border-radius:24px;
        background:linear-gradient(rgba(10,15,26,.92),rgba(10,15,26,.95)),url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?q=80&w=1400&auto=format&fit=crop') center/cover no-repeat !important;
        box-shadow:0 22px 52px rgba(0,0,0,.3);
        justify-content:flex-start !important;
    }

    #loginPage .auth-hero-panel h1{
        font-size:2.35rem !important;
        line-height:1.02 !important;
        margin-bottom:12px !important;
        letter-spacing:0 !important;
    }

    #loginPage .auth-hero-panel > p{
        max-width:100%;
        margin-bottom:18px !important;
        color:#e8eef8 !important;
        font-size:1rem !important;
        line-height:1.5 !important;
    }

    #loginPage .auth-feature-list{
        gap:10px;
    }

    #loginPage .auth-feature-card:nth-child(3){
        display:none;
    }

    #loginPage .auth-feature-card{
        gap:12px;
        align-items:flex-start;
        padding:12px;
        border:1px solid rgba(255,255,255,.12);
        border-radius:14px;
        background:rgba(255,255,255,.1);
        backdrop-filter:blur(10px);
    }

    #loginPage .auth-feature-card h3{
        margin:0 0 3px;
        font-size:1rem;
        line-height:1.15;
    }

    #loginPage .auth-feature-card p{
        margin:0 !important;
        font-size:.86rem !important;
        line-height:1.28 !important;
    }

    #loginPage .auth-feature-card > div:first-child{
        width:38px;
        height:38px;
        flex:0 0 38px;
        border-radius:12px;
        background:rgba(255,255,255,.13);
        display:grid;
        place-items:center;
    }

    #loginPage .auth-feature-card .icon-svg{
        width:20px;
        height:20px;
    }

    #loginPage .auth-panel-right{
        min-height:0;
        max-height:none;
        overflow:visible;
        padding:18px;
        border:1px solid rgba(15,23,42,.08);
        border-radius:22px;
        box-shadow:0 18px 42px rgba(0,0,0,.18);
    }

    #loginPage .auth-header{
        display:grid;
        gap:5px;
    }

    #loginPage .auth-header h2{
        font-size:1.65rem;
        line-height:1.1;
        margin:0;
    }

    #loginPage .auth-header p{
        font-size:.92rem;
        line-height:1.45;
    }

    #loginPage .auth-tabs{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:6px;
        padding:5px;
        border-radius:14px;
    }

    #loginPage .auth-tab{
        padding:10px 8px;
        font-size:.86rem;
        white-space:normal;
    }

    #loginPage .auth-panels,
    #loginPage .auth-admin-card{
        padding:14px;
        border-radius:16px;
    }

    #loginPage .auth-field input{
        min-height:46px;
        padding:12px 14px;
    }

    #loginPage .auth-submit{
        min-height:48px;
        padding:12px 16px;
    }
}

@media(max-width:370px){
    #loginPage .auth-hero-panel{
        padding:20px !important;
    }

    #loginPage .auth-hero-panel h1{
        font-size:2.25rem !important;
    }

    #loginPage .auth-panel-right{
        padding:16px;
    }
}

/* SCROLLBAR */

.country-list::-webkit-scrollbar{
    width:6px;
}

.country-list::-webkit-scrollbar-thumb{
    background:#444;
    border-radius:20px;
}

.country-list::-webkit-scrollbar-track{
    background:transparent;
}

/* MOBILE */

@media(max-width:768px){

    .phone-row{
        grid-template-columns:1fr;
        align-items:stretch;
        gap:10px;
    }

    .country-select{
        width:100%;
    }

    .phone-row .form-field{
        margin-bottom:0;
    }

}


