* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: auto;
}

* {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: #f5f5f5;
    height: 100%;
    overflow: hidden;
}

/* Layout */
.app-layout {
    display: flex;
    min-height: 100vh;
    background-color: rgb(243 232 217);
}

:root {
    --placeholder-color: #494949;
}
/* Sidebar */
.sidebar {
    width: 300px;
    background: #ffffff;
    padding: 24px;
    margin: 10px 8px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.05);
}

.sidebar-logo {
    font-weight: 500;
    font-size: 28px;
    margin-bottom: 32px;
}
.sidebar-logo img{
    margin-right: 10px;
}

.sidebar nav a {
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    margin-bottom: 8px;
    width: 100%;
    font-size: 17px;
}

.sidebar nav a.active,
.sidebar nav a:hover {
    background: rgba(166, 169, 222, 0.2);
    width: 100%;
}

/* Main */
.main-content {
    flex: 1;
    padding: 10px 8px;
    background: url(../imgs/background.svg);
}

.loading-item {
    padding: 8px 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 14px;
    height: 14px;
    border: 2px solid #ddd;
    border-top: 2px solid #4F46E5;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hero */
.hero {
    min-height: 98vh;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    padding: 24px;
    border-radius: 10px;

    /* background: url('../imgs/background.svg'); */
    /* background: linear-gradient(100deg, #f7ebef 0%, #f7e9c6 50%, #e4e5fb 100%) */
}

.hero-content {
    max-width: 100%;
    width: 100%;
    text-align: center;
    /* backdrop-filter: blur(14px); */
    border-radius: 24px;
    /* padding: 15px 32px; */
    /* box-shadow: 0 20px 60px rgba(0,0,0,0.08); */
}
.hero-content-home{
    align-content: center !important;
}

.hero-badge {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #3b1f2b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 12px;
}
.gradient-text {
    background: linear-gradient(
        180deg,
        var(--Neutral-900, #111827) 13%,
        var(--ColorPallete-Blue-blue-900, #15156B) 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 15px;
    color: #252525;
    margin-bottom: 28px;
    font-family: Inter;
    /* white-space: pre-line; */
}
.chat-message{
    font-size: 16px !important;
    color: #252525 !important;
    margin-bottom: 0px !important;
    font-family: Inter;
    text-align: left;   
}

/* Mobile Header */
.mobile-header {
    display: none;
    height: 56px;
    background: #fff;
    align-items: center;
    padding: 8px 10px;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.menu-btn {
    font-size: 22px;
    background: none;
    border: none;
    margin-right: 12px;
}
.birthcard{
    border-radius: 60px; outline: 1px #2A2A2B solid; outline-offset: -1px
}


/* Card */
.astro-card {
    position: relative;
    height: 48px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    padding: 0 20px;
}

/* Label */
.astro-label {
    font-size: 14px;
    color: #9CA3AF;
}

/* Icon */
.astro-icon {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.hero-badge img{
    width: 66px;
    height: 66px;
}
/* Error text */
.field-error {
    margin-top: 6px;
    font-size: 14px;
    text-align: left;
    padding-left: 5px;
    color: #DC2626; /* red-600 */
    display: none;
}

/* Show error */
.has-error .field-error {
    display: block;
}

/* Error border */
.has-error .astro-input,
.has-error .astro-pill {
    border-color: rgba(220, 38, 38, 0.7);
}

/* Slight red glow */
.has-error .astro-input:focus,
.has-error .astro-pill:focus-within {
    /* box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25); */
}
.astro-input:focus{
     /* background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3); */
}

.dob-wrapper {
    display: flex;
    gap: 12px;
}

.dob-wrapper select {
    padding: 10px 14px;
    border-radius: 30px;
    border: 2px solid #D4AF37;
    background: #FFF8DC;
    color: #8B7500;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
    outline: none;
    transition: 0.3s ease;
}

.dob-wrapper select:focus {
    border-color: #B8860B;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}


.locationsuggestions{
    width: 15%;
    background: rgba(255, 255, 255, 0.65);
    max-height: 500px;
    overflow-y: auto;
    border-radius: 14px;
    list-style: none;
    text-align: left;
    padding: 10px 10px;
    position: absolute;
    z-index: 999999999;
}

.locationsuggestions li {
  padding: 5px 8px;
  cursor: pointer;
}

.locationsuggestions li:hover {
  background: #f2f2f2;
}
.date_fields_div{
    margin-top: 2%;
}
.close-btn {
    display: none;
}
/* Page Loader */
#pageLoader {
    position: fixed;
    inset: 0;
    background: rgba(20, 15, 40, 0.4);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#pageLoader img {
    width: 100px;
    height: auto;
}

/* Hide loader */
#pageLoader.hidden {
    opacity: 0;
    visibility: hidden;
}
.policies-nav{
    position: absolute;
    bottom: 5%;
}
.menu-item {
    display: flex;
    /* align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #1f1f1f; */
    width: 100%;
}
.menu-item:hover{
    width: 100%;
}
.menu-item svg {
    color: #6b4eff; 
    margin-right: 6px;
    vertical-align: text-bottom !important;
}
.menu-item.active {
    background: #f2f3ff;
    color: #6b4eff;
}

/* Responsive */
@media (max-width: 768px) {
    body {
    background: #f5f5f5;
    height: 100%;
    overflow: auto;
}
.app-layout {
    flex-direction: column;
    min-height: 96vh;
}
.locationsuggestions{
    width: 85% !important;
    padding: 5px 10px !important;
    max-height: 150px;
}
.date_fields_div{
    margin-top: 0%;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #6B7280;
}
.otp-inputs {
    gap: 10px;
    justify-content: center;
    width: auto !important;
}

/* Overlay */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 900;
}

/* Show overlay */
.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}
    .sidebar {
        position: fixed;
        left: -315px;
        top: 0;
        height: 100%;
        z-index: 1000;
        transition: left 0.3s ease;
    }
    .sidebar.open {
        left: 0;
    }
    .mobile-header {
        display: flex;
    }
    .logo img{
        margin-right: 7px;
    }
    .main-content {
        margin-top: 0px;
        padding: 0px;
    }
    .hero {
        min-height: calc(100vh - 56px);
        padding: 6px 10px !important;
    }
    .hero-content {
    max-width: 550px;
    width: 100%;
    text-align: center;
    border-radius: 24px;
    padding: 0px 0px;
    }
    .hero-badge img{
        width: 50px;
        height: 50px;
    }
    .hero h1 {
        font-size: 22px;
        margin-bottom: 6px;
    }
    .hero p {
    font-size: 15px;
        color: #252525;
        margin-bottom: 10px;
        font-family: Inter;
         /* white-space: pre-line; */
    }
    .astro-form-wrapper {
        padding: 0px 0px;
    }
    .astro-form-container2{
         padding: 0% 3% !important;
    }
    .astro-form-wrapper .container{
        padding: 0%;
    }
    .astro-form-container{
        padding: 0% 0% !important;
    }
    .chat-wrapper{
        padding: 0%;
    }

}
@media (max-width: 370px) {
.locationsuggestions{
    width: 85% !important;
    padding: 5px 10px !important;
    max-height: 115px;
}
}
/* Field wrapper */
.field-group {
    width: 100%;
}

/* Top label */
.field-label {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 400;
    color: #1d1d1d;
    text-align: left;
}

/* Name input */
.astro-input {
    height: 46px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(12px);
    width: 100%;
    color: #111827;
    padding-left: 16px;
    font-size: 17px;
    letter-spacing: 0.6px;
}
input:focus,
.form-control:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #ccc; /* or keep your normal border color */
}
/* Pill container */
.astro-pill {
    position: relative;
    height: 46px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(14px);
    padding: 0 16px 0 16px;
    display: flex;
    align-items: center;
}

/* Inputs inside pill */
.astro-pill input {
    border: none !important;
    background: transparent !important;
    padding: 0;
    height: 100%;
    width: 100%;
    color: #111827;
    font-size: 16px;
}

.astro-pill input:focus {
    outline: none;
    box-shadow: none;
}
.form-control:focus {
    color: var(--bs-body-color);
    background-color: transparent;
    /* border-color: rgba(255, 255, 255, 0.3); */
    outline: 0;
    /* box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25); */
}
/* Placeholder */
.astro-pill input::placeholder {
    color: #464646;
}

/* Icon */
.astro-icon {
    position: absolute;
    right: 14px;
    color: #252525;
    pointer-events: none;
}

.astro-btn:hover {
    opacity: 0.9;
    color: black;
    background: linear-gradient(180deg, #dd738a 0%, #eb6a8a 100%);
}
/* Button base */
.astro-btn {
    position: relative;
    padding: 12px 36px;
    border-radius: 999px;
    background: linear-gradient(180deg, #E11D48 0%, #BE123C 100%);
    color: #fff;
    border: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

/* Disabled state */
.astro-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spinner (hidden by default) */
.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    display: none;
    animation: spin 0.8s linear infinite;
}

/* Show spinner when loading */
.astro-btn.loading .btn-spinner {
    display: inline-block;
}

.astro-btn.loading .btn-text {
    opacity: 0.85;
}

/* Spinner animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Backdrop */
.otp-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    pointer-events: auto;
}

/* Bottom sheet */
.otp-sheet {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 40px;
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

/* Drag handle */
.otp-handle {
    width: 40px;
    height: 4px;
    background: #d1d5db;
    border-radius: 4px;
    margin: 0 auto 20px;
}

/* Titles */
.otp-title {
    font-weight: 600;
    text-align: center;
}

.otp-subtitle {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
}
.otp-mobile-input {
    justify-content: center !important;
}

/* Mobile input */
.otp-mobile-input input {
    font-size: 16px;
    letter-spacing: 1px;
    border-color: #cfcfcf !important;
}

/* OTP boxes */
.otp-inputs {
    display: flex;
    gap: 10px;
    width: 84%;
    margin-left: auto;
    margin-right: auto;
}
.send-otp-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.send-otp-btn {
    position: relative;
    width: 80% !important;
    margin-left: 10%;
    padding: 12px;
    background: linear-gradient(90deg, #2a0d3a, #14081f);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}
#verifyOtpBtn{
        margin-left: 25%;
}
.btn-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

#verifyOtpBtn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #2a0d3a, #14081f);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

#verifyOtpBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#verifyOtpBtn .btn-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.otp-inputs input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 18px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
}

.otp-inputs input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99,102,241,0.25);
    outline: none;
}

/* Resend */
.otp-resend {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

.otp-resend span {
    color: #2563eb;
    cursor: pointer;
    font-weight: 500;
}

/* Note */
.otp-note {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}

/* Animation */
@keyframes slideUp {
    from {
        transform: translate(-50%, 100%);
    }
    to {
        transform: translate(-50%, 0);
    }
}
/* Error message */
.otp-error {
    color: #dc2626;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

/* Shake animation */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.otp-inputs.shake {
    animation: shake 0.3s;
}

/* Error border */
.otp-inputs.error input {
    border-color: #dc2626;
}
.recaptcha-container{
    width: 60%;
    height: 60px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    transition: right 0.3s;
    position: fixed;
    bottom: 0px;
    left: 0;
    box-shadow: none;
    border-radius: 2px;
    justify-self: center;
    overflow: hidden;
    visibility: hidden;
}
.recaptcha-container div{
    width: 100% !important;
}
.grecaptcha-badge{
    width: 100% !important;
    height: 75px !important;
    display: block;
    transition: right 0.3s;
    position: relative;
    bottom: 0px !important;
    right: 0% !important;
    box-shadow: none;
    border-radius: 2px;
    justify-self: center !important;
    overflow: hidden !important;
    visibility: hidden;
}
.rc-anchor-normal {
    height: 75px !important;
    width: 90% !important;
    margin-left: 5% !important;
}
.rc-anchor-invisible {
    height: 60px;
    width: 100%;
}
.recaptcha-checkbox-border{
    height: 20px !important;
    position: absolute;
    width: 20px !important;
}
.rc-anchor-normal .rc-anchor-pt{
    right: 0;
    text-align: end !important;
    width: 90% !important;
    left: 0 !important;
}

.profile-container {
    /* max-width: 900px; */
    margin: 0px auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-card {
     background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5a6c7, #f9d67c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.profile-grid label {
    font-size: 14px;
    color: #484747;
}

.profile-grid p {
    font-size: 16px;
    margin-top: 4px;
    color: black !important;
}

.status-active {
    color: #1aa36f;
    font-weight: 600;
}

.section-title {
    margin-top: 16px;
    font-size: 20px;
    text-align: left;
    padding-left: 10px;
}

.kundali-summary {
    margin-top: 28px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.summary-grid span {
    font-size: 14px;
    color: #484747;
}

.summary-grid strong {
    display: block;
    margin-top: 4px;
    font-size: 16px;
        font-weight: 500;
        color: black !important;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.plan-card {
    text-align: center;
    padding: 20px 12px !important;
}

.plan-card ul{
    list-style: none;
}
.plan-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 24px !important;
    font-weight: 500;
    margin: 12px 0 18px;
}

.plan-price span {
    font-size: 16px !important;
    font-weight: 400;
    color: rgba(0,0,0,0.6);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.plan-features li {
    font-size: 14px;
    margin: 10px 0;
    color: #1f1f1f;
}

.plan-btn {
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #f3e0e5, #f7e1bb);
    color: #1f1f1f;
}

.plan-btn:hover {
    opacity: 0.9;
}

.plan-btn.disabled {
    background: rgba(0,0,0,0.15);
    cursor: not-allowed;
}

.plan-card.highlighted {
    transform: scale(1.04);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
#pageLoader img {
    width: 70px !important;
    height: auto;
}
.profile-grid {
      display: grid;
    grid-template-columns: repeat(auto-fit, minmax(29%, 3fr));
    gap: 8px;
}
.profile-grid div{
    margin: 0% 2%;
}
.profile-card{
    padding: 12px;
}
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(29%, 3fr));
    gap: 8px;
}
.otp-sheet{
    padding: 40px 20px !important;
}
.recaptcha-container{
    width: 80%;
    height: 60px;
    margin-left: auto;
    margin-right: auto;
    position: fixed;
    bottom: 0px;
    left: 0;
}
.grecaptcha-badge{
    position: relative !important;
    transform: scale(0.6);
    height: 60px !important;
    visibility: hidden !important;
}
.otp-inputs input {
    width: 45px;
    height: 45px;
}
}

.contact-wrapper {
    padding: 20px 0px 20px 0px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.contact-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    margin-bottom: 15px;
    color: #6a5acd; /* change to your theme color */
}

.contact-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.contact-card p {
    margin: 0;
    color: #666;
}

.map-card iframe {
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
