/**
 * astrosage-kundli.css — Clean AstroSage Layout for Kundli & Kundli Milan
 */

.astrosage-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    box-sizing: border-box;
}

/* 1. Top Section Banner */
.astrosage-top-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 22px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.astrosage-top-banner .banner-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff8f0;
    border: 1.5px solid #fed7aa;
    border-radius: 8px;
}
.astrosage-top-banner .banner-text {
    flex-grow: 1;
    font-size: 14.5px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* 2. Responsive 2-Column Grid (Form + Sidebar) */
.astrosage-layout {
    display: block;
}
@media (min-width: 992px) {
    .astrosage-layout {
        display: grid;
        grid-template-columns: 1fr 310px;
        gap: 28px;
        align-items: start;
    }
}

/* 3. Main Form Card */
.astrosage-form-card {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 28px 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}
@media (max-width: 600px) {
    .astrosage-form-card {
        padding: 18px 16px;
    }
}
.astrosage-form-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
    letter-spacing: -0.2px;
}

/* Form Row & Groups */
.astrosage-row {
    margin-bottom: 18px;
}
.astrosage-label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
}
.astrosage-input {
    width: 100%;
    height: 42px;
    padding: 8px 14px;
    font-size: 14.5px;
    color: #1f2937;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    box-sizing: border-box;
    transition: all 0.15s ease-in-out;
}
.astrosage-input:focus {
    border-color: #ea580c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.14);
}
.astrosage-input::placeholder {
    color: #94a3b8;
}

/* Name + Gender Row */
.astrosage-name-gender-grid {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 16px;
    align-items: end;
}
@media (max-width: 540px) {
    .astrosage-name-gender-grid {
        grid-template-columns: 1fr;
    }
}

/* Gender Toggle Buttons */
.astrosage-gender-toggle {
    display: flex;
    height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    overflow: hidden;
    background: #ffffff;
}
.astrosage-gender-btn {
    flex: 1;
    border: none;
    background: #ffffff;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.astrosage-gender-btn.active {
    background: #ea580c;
    color: #ffffff;
    font-weight: 700;
}

/* 3-Box Inline Inputs (Day, Month, Year & Hrs, Min, Sec) */
.astrosage-3box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.astrosage-sublabel {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 500;
}

/* Autocomplete suggestions */
.astrosage-city-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 220px;
    overflow-y: auto;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}
.astrosage-city-results li {
    padding: 10px 14px;
    font-size: 14px;
    color: #1e293b;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
}
.astrosage-city-results li:hover {
    background: #fff7ed;
    color: #ea580c;
}

/* Utility Actions (Settings, Location, Now) */
.astrosage-meta-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 10px;
}
.astrosage-meta-btn {
    background: transparent;
    border: none;
    color: #ea580c;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.astrosage-meta-btn:hover {
    background: #fff7ed;
    text-decoration: underline;
}

/* Centered Show Kundli Submit Button */
.astrosage-btn-center {
    text-align: center;
    margin-top: 16px;
}
.astrosage-submit-btn {
    background: linear-gradient(180deg, #ff7800 0%, #e65100 100%);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 800;
    padding: 13px 44px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(230, 81, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.astrosage-submit-btn:hover {
    background: linear-gradient(180deg, #e65100 0%, #bf360c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(230, 81, 0, 0.4);
}

/* 4. AstroSage Sidebar Widgets */
.astrosage-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.astrosage-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.astrosage-widget-dark {
    background: #2b2b2b;
    color: #ffffff;
    border: 1px solid #1a1a1a;
}
.astrosage-widget-title {
    font-size: 15px;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 10px;
    border-bottom: 2px solid #fed7aa;
    padding-bottom: 6px;
}
.astrosage-widget-dark .astrosage-widget-title {
    color: #ffffff;
    border-bottom-color: #f97316;
}
.astrosage-widget-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #ff7800;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 9px 16px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(255, 120, 0, 0.25);
}
.astrosage-widget-btn:hover {
    background: #e65100;
    text-decoration: none;
}

/* 5. Educational Content Below Form */
.astrosage-guide-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px 28px;
    margin-top: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.astrosage-guide-title {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 12px;
}

/* 6. Kundli Milan Twin Card (Boy & Girl side by side) */
.milan-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
@media (min-width: 768px) {
    .milan-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.milan-box {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.milan-box.active-groom {
    border-top: 4px solid #0284c7;
}
.milan-box.active-bride {
    border-top: 4px solid #db2777;
}
.milan-box-title {
    font-size: 17px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}


