/**
 * Omaaa Astro — Astrotalk Matchmaking Twin-Column UI
 * Benchmark: astrotalk.com/matchmaking
 */

.astrotalk-milan-wrap {
    max-width: 1140px;
    margin: 20px auto 40px;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.astrotalk-milan-intro {
    text-align: center;
    margin-bottom: 24px;
}

.astrotalk-milan-intro h1 {
    font-size: 28px;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 6px 0;
}

.astrotalk-milan-intro p {
    font-size: 14.5px;
    color: #6b7280;
    margin: 0 auto;
    max-width: 680px;
}

/* Twin Cards Grid */
.astrotalk-milan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

@media (max-width: 860px) {
    .astrotalk-milan-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Individual Card (Your Details / Partner's Details) */
.astrotalk-milan-card {
    background: #ffffff;
    border: 1px solid #eef0f3;
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
}

.astrotalk-milan-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.astrotalk-milan-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    color: #1f2937;
    margin: 0;
}

.astrotalk-milan-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FEF9C3;
    border: 1.5px solid #FDE047;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B45309;
    font-size: 15px;
}

.astrotalk-milan-choose-btn {
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 700;
    color: #4b5563;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s;
}
.astrotalk-milan-choose-btn:hover {
    border-color: #f59e0b;
    color: #b45309;
    background: #fefce8;
}

/* Form Fields */
.astrotalk-milan-field {
    margin-bottom: 18px;
    position: relative;
}

.astrotalk-milan-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 6px;
}

.astrotalk-milan-label small {
    color: #9ca3af;
    font-weight: 400;
    margin-left: 4px;
}

/* Gender Segmented 3-Pill Toggle */
.astrotalk-milan-gender-seg {
    display: flex;
    background: #f3f4f6;
    border-radius: 999px;
    padding: 3px;
    gap: 3px;
}

.astrotalk-milan-gender-seg-btn {
    flex: 1;
    border: none;
    background: transparent;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13.5px;
    font-weight: 700;
    color: #4b5563;
    cursor: pointer;
    text-align: center;
    transition: all 0.18s ease;
    user-select: none;
}
.astrotalk-milan-gender-seg-btn.active {
    background: #FACC15;
    background: linear-gradient(180deg, #FACC15 0%, #EAB308 100%);
    color: #1F2937;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.3);
}

/* Inputs with Icons */
.astrotalk-milan-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.astrotalk-milan-icon {
    position: absolute;
    left: 14px;
    font-size: 15px;
    color: #9ca3af;
    pointer-events: none;
}

.astrotalk-milan-input {
    width: 100%;
    height: 48px;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 0 14px 0 42px;
    font-size: 14.5px;
    font-weight: 600;
    color: #1f2937;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.astrotalk-milan-input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.astrotalk-milan-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
    font-size: 13.5px;
}

.astrotalk-milan-helper {
    font-size: 11.5px;
    color: #4b5563;
    margin-top: 5px;
    line-height: 1.35;
}

/* Bottom CTA Area */
.astrotalk-milan-cta-area {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 30px;
}

.astrotalk-milan-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 280px;
    height: 52px;
    background: #FACC15;
    background: linear-gradient(180deg, #FACC15 0%, #EAB308 100%);
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    color: #1F2937;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.4);
    transition: all 0.2s ease;
    padding: 0 36px;
}
.astrotalk-milan-submit-btn:hover {
    background: linear-gradient(180deg, #FDE047 0%, #F59E0B 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(234, 179, 8, 0.5);
}

.astrotalk-milan-multi-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
}
.astrotalk-milan-multi-link:hover {
    color: #b45309;
    text-decoration: underline;
}

/* Milan Score Card & Anti-Overlap Presentation */
.milan-result-card {
    background: #ffffff;
    border: 2px solid #FED7AA !important;
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 8px 30px rgba(230, 81, 0, 0.08);
    margin-bottom: 24px;
}

.milan-result-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 24px;
    align-items: center;
}

@media (max-width: 800px) {
    .milan-result-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.milan-score-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin: 8px 0;
}

.milan-big-score {
    font-size: 46px;
    font-weight: 800;
    color: #E65100;
    line-height: 1;
    display: inline-block;
}

.milan-score-denom {
    font-size: 24px;
    font-weight: 700;
    color: #78350F;
    display: inline-block;
}

.milan-parihar-tag {
    background: #FEF3C7;
    color: #B45309;
    border: 1px solid #FCD34D;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    padding: 3px 12px;
}

.milan-score-desc {
    color: #4B5563;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Pair Box ( वर & वधू Details ) */
.milan-pair-box {
    background: #FFF7EE;
    border: 1.5px solid #F8D8B8;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: inset 0 1px 3px rgba(230, 81, 0, 0.04);
}

.milan-person-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 0;
}

.milan-person-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    color: #1F2937;
    white-space: nowrap;
}

.milan-person-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.milan-tag-rashi {
    background: #FFEDD5;
    border: 1px solid #FED7AA;
    color: #C2410C;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.milan-tag-nakshatra {
    background: #FFFFFF;
    border: 1px solid #FED7AA;
    color: #9A3412;
    font-size: 13px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.milan-tag-pada {
    font-size: 12px;
    color: #B45309;
    font-weight: 700;
}

.milan-pair-divider {
    height: 1px;
    background: #FED7AA;
    margin: 4px 0;
}

