/**
 * NETRAA — Kundli Match Form Stylesheet
 */
:root { --gold: #D4AF37; --maroon: #881337; --deep-maroon: #4c0519; }

.match-header { background: linear-gradient(135deg, #881337 0%, #9f1239 40%, #4c0519 100%); padding: 36px 20px 30px; position: relative; overflow: hidden; border-radius: 20px; margin-bottom: 28px; box-shadow: 0 10px 30px rgba(136,19,55,0.2); }
.match-header::before { content:"💍"; position: absolute; font-size: 140px; opacity:0.06; right:10px; top:-20px; line-height:1; }
.match-header-pattern { position:absolute; inset:0; background-image:radial-gradient(rgba(255,215,0,0.06) 1px,transparent 1px); background-size:16px 16px; }
.match-header h2 { font-weight:800; font-size:1.85rem; background:linear-gradient(135deg,#fff 30%,#FFD700 100%); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.match-header .m-sub { color:rgba(255,255,255,0.75); font-size:0.9rem; }
.match-form-card { background:#fff; border-radius:20px; box-shadow:0 8px 36px rgba(136,19,55,0.08); border:1px solid rgba(136,19,55,0.08); overflow:hidden; }
.match-form-accent { height:4px; background:linear-gradient(90deg,#881337,#FFD700,#9f1239); }
.match-form-body { padding:28px; }
.match-form-card label { font-weight:600; font-size:0.82rem; color:#374151; margin-bottom:5px; }
.match-form-card .form-control, .match-form-card .form-select { border-radius:12px; border:1.5px solid rgba(136,19,55,0.14); padding:10px 14px; font-size:0.92rem; transition:all 0.25s; }
.match-form-card .form-control:focus, .match-form-card .form-select:focus { border-color:#9f1239; box-shadow:0 0 0 3px rgba(159,18,57,0.12); }
.partner-section { border-radius:16px; padding:22px; }
.partner-boy { background:linear-gradient(135deg,rgba(37,99,235,0.04),rgba(37,99,235,0.09)); border:1px solid rgba(37,99,235,0.15); }
.partner-girl { background:linear-gradient(135deg,rgba(220,38,38,0.04),rgba(220,38,38,0.09)); border:1px solid rgba(220,38,38,0.15); }

/* Score Circle */
.score-circle { width:160px; height:160px; border-radius:50%; display:flex; flex-direction:column; align-items:center; justify-content:center; margin:0 auto; position:relative; }
.score-circle svg { position:absolute; top:0; left:0; width:100%; height:100%; transform:rotate(-90deg); }
.score-circle .score-bg { fill:none; stroke:#f0e6ff; stroke-width:7; }
.score-circle .score-fill { fill:none; stroke:url(#scoreGrad); stroke-width:7; stroke-linecap:round; stroke-dasharray:440; transition:stroke-dashoffset 1.5s ease; }
.score-text { font-size:2.6rem; font-weight:900; color:#4a148c; line-height:1; }
.score-label { font-size:0.75rem; color:#6b7280; font-weight:700; text-transform:uppercase; letter-spacing:1px; }

/* Koot Card */
.koot-card { background:#fff; border-radius:14px; border:1px solid rgba(136,19,55,0.09); padding:16px; transition:all 0.25s; }
.koot-card:hover { box-shadow:0 6px 20px rgba(136,19,55,0.09); transform:translateY(-2px); }
.koot-bar { height:6px; border-radius:3px; background:#f0e6ff; overflow:hidden; margin-top:8px; }
.koot-bar-fill { height:100%; border-radius:3px; transition:width 1s ease; }
.verdict-badge { font-size:0.78rem; padding:5px 14px; border-radius:20px; font-weight:700; letter-spacing:0.5px; }

/* Profile mini */
.profile-mini { display:flex; align-items:center; justify-content:space-between; padding:10px 14px; border-radius:10px; margin-bottom:6px; }
.profile-mini .pm-label { font-size:0.75rem; font-weight:600; text-transform:uppercase; letter-spacing:0.5px; }
.profile-mini .pm-value { font-size:0.88rem; font-weight:700; }

.badge-pill-soft { display:inline-flex; align-items:center; gap:6px; padding:6px 14px; border-radius:30px; font-weight:700; font-size:0.82rem; }
.stat-box { background:#fbf8f3; border:1px solid #ebdccb; border-radius:14px; padding:16px; text-align:center; height:100%; }
.stat-box-title { font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; color:#881337; margin-bottom:4px; }
.stat-box-val { font-size:1.25rem; font-weight:800; color:#1e1b16; }
.stat-box-sub { font-size:0.72rem; color:#6b7280; margin-top:2px; }

.autocomplete-results { position:absolute; top:100%; left:0; right:0; z-index:9999; background:#fff; border:1px solid rgba(136,19,55,0.12); border-radius:10px; max-height:180px; overflow-y:auto; box-shadow:0 8px 24px rgba(0,0,0,0.10); display:none; }
.autocomplete-item { padding:8px 12px; font-size:0.84rem; cursor:pointer; border-bottom:1px solid rgba(0,0,0,0.04); transition:background 0.15s; }
.autocomplete-item:hover { background:#f5eeff; }
.autocomplete-item:last-child { border-bottom:none; }

@media (max-width:768px) {
    .match-header h2 { font-size:1.4rem; }
    .match-form-body { padding:18px; }
    .score-circle { width:130px; height:130px; }
    .score-text { font-size:2rem; }
}
