/* ==========================================================================
   Main Stylesheet - Custom Styles
   Note: All custom styles go here. Do not modify bootstrap.min.css
   ========================================================================== */

/* ==========================================================================
   Font Imports
   ========================================================================== */

@font-face {
    font-family: 'VAGRoundedNext';
    src: url('../assets/fonts/VAGRoundedNext-Regular.woff2') format('woff2'),
         url('../assets/fonts/VAGRoundedNext-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'VAGRoundedNext';
    src: url('../assets/fonts/VAGRoundedNext-Bold.woff2') format('woff2'),
         url('../assets/fonts/VAGRoundedNext-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Work Sans';
    src: url('../assets/fonts/WorkSans-Bold.woff2') format('woff2'),
         url('../assets/fonts/WorkSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow';
    src: url('../assets/fonts/Barlow-Bold.woff2') format('woff2'),
         url('../assets/fonts/Barlow-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('../assets/fonts/myriadpro-regular.woff2') format('woff2'),
         url('../assets/fonts/myriadpro-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('../assets/fonts/myriadpro-semibold.woff2') format('woff2'),
         url('../assets/fonts/myriadpro-semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/Inter-Regular.woff2') format('woff2'),
         url('../assets/fonts/Inter-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/Inter-Bold.woff2') format('woff2'),
         url('../assets/fonts/Inter-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Display';
    src: url('../assets/fonts/InterDisplay-Regular.woff2') format('woff2'),
         url('../assets/fonts/InterDisplay-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Display';
    src: url('../assets/fonts/InterDisplay-Bold.woff2') format('woff2'),
         url('../assets/fonts/InterDisplay-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Display';
    src: url('../assets/fonts/InterDisplay-SemiBold.woff2') format('woff2'),
         url('../assets/fonts/InterDisplay-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   CSS Variables / Custom Properties
   ========================================================================== */

:root {
    /* VAGRoundedNext Fonts */
    --font-vag-regular: 'VAGRoundedNext', sans-serif;
    --font-vag-bold: 'VAGRoundedNext', sans-serif;
    
    /* Work Sans Fonts */
    --font-worksans-bold: 'Work Sans', sans-serif;
    
    /* Barlow Fonts */
    --font-barlow-bold: 'Barlow', sans-serif;
    
    /* Myriad Pro Fonts */
    --font-myriad-regular: 'Myriad Pro', sans-serif;
    --font-myriad-semibold: 'Myriad Pro', sans-serif;
    
    /* Inter Fonts */
    --font-inter-regular: 'Inter', sans-serif;
    --font-inter-bold: 'Inter', sans-serif;
    
    /* Inter Display Fonts */
    --font-inter-display-regular: 'Inter Display', sans-serif;
    --font-inter-display-bold: 'Inter Display', sans-serif;
    --font-inter-display-semibold: 'Inter Display', sans-serif;
    
    /* Colors */
    --brand-red: #98272a;
    --gray-900: #101828;
    
    /* Radii */
    --card-radius: 12px;
    
    /* Font Weights */
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

body {
    font-family: var(--font-inter-display-regular);
    /* color: #333; */
    line-height: 1.3;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-inter-display-bold);
    /* color: #444; */
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.sub-nav {
    background-color: var(--brand-red);
    padding: 10px 0;
}

.sub-nav a:hover {
    text-decoration: underline ;
}

/* ==========================================================================
   Stepper
   ========================================================================== */

.stepper-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.step {
    display: flex;
    flex-direction: row; /* Horizontal for Desktop */
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--brand-red);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px; /* Space between circle and label in horizontal view */
    transition: all 0.3s ease;
}

.step.active .step-num, .step.completed .step-num {
    background: var(--brand-red);
    color: #fff;
    border-color: var(--brand-red);
}

.step-label {
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-inter-display-regular);
    white-space: nowrap;
}

.step.details-step .step-label {
    color: #4B5563; /* Grey as per image */
}

.step.payment-step .step-label, .step.success-step .step-label {
    color: var(--brand-red); /* Red as per image */
}

.step-connector {
    flex-grow: 1;
    height: 1px;
    border-top: 2px dashed #4B5563; /* Default grey */
    margin: 0 15px;
    position: relative;
    z-index: 1;
}

.step-connector.red-connector {
    border-top-color: var(--brand-red); /* Red connector */
}

@media (max-width: 768px) {

    .step {
        flex-direction: column; /* Vertical stack for Mobile */
    }

    .step-num {
        font-size: 14px;
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .step-label {
        font-size: 12px;
    }
    
    .step-connector {
        margin-top: -25px; /* Pull connector up to center between circles in vertical stack */
        border-top-width: 2px;
    }
    
    .step-connector.red-connector {
        border-top-style: dashed;
        border-top-width: 2px;
    }
    
    .success-row {
        padding: 10px 0;
        font-size: 11px;
    }
    
    .mobile-pay-sticky {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 15px 20px;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }
}

/* ==========================================================================
   Promo Banner
   ========================================================================== */

.promo-banner {
    background: var(--brand-red);
    border-radius: 8px;
    padding: 16px 24px;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 50%, rgba(255,255,255,0.1) 0%, transparent 40%);
}

.promo-banner h4 {
    font-family: var(--font-inter-display-bold);
    font-size: 24px;
    letter-spacing: -0.3px;
    line-height: 1.2;
    font-weight: 600;
}
.promo-icon svg {
    width: 34px;
    height: 34px;
}
.gst-percent {
    font-size: 40px;
    vertical-align: bottom;
    margin: 0 2px;
    line-height: 1;
}

/* ==========================================================================
   Cards & Components
   ========================================================================== */

.card {
    border-radius: var(--card-radius);
}

.main-card {
    border-radius: var(--card-radius);
}

.card-title {
    font-family: var(--font-inter-display-semibold);
    color: var(--brand-red);
    font-size: 16px;
    font-weight: 600;
}

.card-body.ulip{
    padding-inline: 0;
}

.card-body.ulip-card{
    border: 1px solid #D6D6D6;
    box-shadow: 0px 1px 2px 3px rgba(16, 24, 40, 0.06);
}

.user-header h3 {
    font-family: var(--font-inter-display-semibold);
    color: var(--brand-red);
    font-size: 20px;
    font-weight: 600;
}

.user-header span {
    font-family: var(--font-inter-display-regular);
    font-size: 16px;
    color: #475467;
}

.details-grid .col-md-6 {
    margin-bottom: 12px;
}
.details-grid label {
    font-family: var(--font-inter-display-regular);
    letter-spacing: 0.2px;
    color: #5f6b80;
}

.details-grid span {
    font-family: var(--font-inter-display-semibold);
    font-size: 18px;
    color: #000000;
    font-weight: 600;
}

.btn-danger {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    border-radius: 8px;
    font-family: var(--font-inter-display-semibold);
    letter-spacing: 0.5px;
    font-weight: 600;
}

.btn-danger:hover {
    background-color: #A00000;
    border-color: #A00000;
}

.sidebar-card .card-body {
    padding: 20px;
}

.sidebar-card h5 {
    font-family: var(--font-inter-display-semibold);
    font-size: 16px;
    font-weight: 600;
    color: #000000;
}

.sidebar-list-group .list-group-item {
    font-family: var(--font-inter-display-regular);
    font-size: 14px;
    color: #000000;
    padding: 10px 0;
    border-bottom: 1px solid #D6D6D6;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    font-weight: 400;
}

.sidebar-list-group .list-group-item:last-child {
    border-bottom: none;
}

.sidebar-list-group .list-group-item:hover {
    color: var(--brand-red);
    padding-left: 5px;
}

.sidebar-chevron {
    color: #000000;
    flex-shrink: 0;
}

.list-group-item:hover .sidebar-chevron {
    color: var(--brand-red);
}

.sidebar-card .get-in-touch {
        padding-bottom: 116px;
    }

.nova-brand {
    vertical-align: end;
}

.nova-text-red {
    color: var(--brand-red);
    /* font-weight: 700; */
}

/* ==========================================================================
   Secondary Info Panels
   ========================================================================== */

.qr-section {
    background: #fff;
    padding: 20px;
    border-radius: var(--card-radius);
}

.receipt-link {
    color: var(--brand-red);
    text-decoration: none;
    transition: opacity 0.2s;
}

.card-disabled {
    background-color: #F8F9FA !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: none !important;
}

.text-disabled {
    color: #9CA3AF !important;
}

.btn {
    height: 40px;
    font-weight: 600;
    border-radius: 8px;
}

.btn-link {
    height: auto;
}


/* ==========================================================================
   Mobile Responsive Adjustments
   ========================================================================== */

@media (max-width: 991.98px) {
    .container {
        padding-left: 0;
        padding-right: 0;
        overflow: hidden;
    }
    
    main {
        padding-top: 0 ;
    }

    .stepper-wrapper {
        background: #fff;
        padding: 20px 16px;
        margin-bottom: 0 ;
    }

    .promo-banner {
        border-radius: 0px;
        padding: 15px 16px;
    }

    .promo-banner h4 {
        font-size: 14px;
    }
    .promo-icon svg {
        width: 24px;
        height: 24px;
    }   

    .gst-percent {
        font-size: 20px;
    }

    .main-card {
        box-shadow: none ;
        margin-bottom: 10px ;
    }

    .card-body,
    .card-body.ulip {
        border-radius: 0px;
        padding: 15px;
    }

    .card-body.ulip-card {
        padding: 0;
        box-shadow: none;
        border: none;
    }

    .card-title {
        color: #1C1B1F ;
        font-size: 16px;
    }

    .user-header {
        align-items: center ;
        justify-content: space-between;
        margin-bottom: 25px ;
    }

    .user-header h3 {
        font-size: 18px;
        margin-bottom: 5px ;
    }

    .user-header .border-left {
        border-left: none ;
        padding-left: 0 ;
        font-size: 13px;
    }

    .details-grid .col-md-6 {
        display: grid;
        grid-template-columns: 1.5fr .8fr;
        /* border-bottom: 1px solid #f0f0f0; */
        gap: 90px;
        margin-bottom: 0 ;
    }

    .details-grid label {
        margin-bottom: 0 ;
        color: #68778D ;
        font-size: 14px;
    }

    .details-grid span {
        text-align: left;
        font-size: 14px;
    }
    .details-grid .font-weight-bold {
        font-size: 14px;
        color: #1C1B1F;
    }

    .badge-outline-success {
        border: 1px solid #7CBCA1;
        color: #027A48;
        border-radius: 20px;
        background: #F6FEF9;
        font-size: 12px;
        font-weight: 400;
    }
    .sidebar-card .get-in-touch {
        padding-bottom: 0;
    }
    .list-group-item {
        /* border-bottom: 1px solid #f0f0f0 ; */
        font-size: 14px;
        padding: 15px 16px ;
    }

    .qr-section {
        color: #475467;
        background: #fff;
        border-radius: 0;
        box-shadow: none ;
        padding: 20px 16px;
    }

    .btn-danger {
        border-radius: 8px;
        margin: 0;
    }

    .mobile-pay-sticky {
        position: fixed ;
        bottom: 0 ;
        left: 0 ;
        right: 0 ;
        background: #fff ;
        padding: 12px 16px ;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.1) ;
        z-index: 999999 ;
        margin: 0 ;
    }

    body {
        /* padding-bottom: 40px; */
        overflow-x: hidden ;
    }
}

/* ==========================================================================
   Summary Page Styles
   ========================================================================== */

.success-card {
    max-width: 1062px;
    margin: 0 auto;
    border-radius: var(--card-radius);
    padding: 20px 16px;
}

.success-icon-wrapper {
    margin-bottom: 10px;
}

.success-text {
    color: #0D875A;
    font-size: 20px;
    font-family: var(--font-inter-display-semibold);
    line-height: 1.2;
    font-weight: 600;
}

/* Error Page Styles */
.error-text {
    color: #DC0023;
    font-size: 20px;
    font-family: var(--font-inter-display-semibold);
    line-height: 1.2;
    font-weight: 600;
}

.error-subtitle {
    color: #DC0023;
    font-size: 20px;
    font-family: var(--font-inter-display-semibold);
    font-weight: 600;
}

@media (max-width: 768px) {
    .success-text {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .success-card {
        padding: 0;
        border-radius: 0;
    }

    .error-text {
        font-size: 16px;
    }
    
    .error-subtitle {
        font-size: 16px;
        /* white-space: nowrap; */
    }

    .error-state {
        padding: 0 16px;
    }
}

.plan-banner-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.summary-details-box {
    border: 1px solid #EDEDED;
    border-radius: var(--card-radius);
    background: #fff;
    overflow: hidden;
}

.success-details-box {
    border: 1px solid #EDEDED;
    padding: 16px;
    border-radius: var(--card-radius);
    background: #fff;
    overflow: hidden;
}

.success-row {
    font-size: 14px;
    color: #475467;
    margin-bottom: 10px;
}

.success-row .label {
    flex-shrink: 0;
}

.success-row .val {
    color: #475467;
    font-family: var(--font-inter-display-regular);
    text-align: right;
    word-break: break-word;
    margin-left: 15px;
}

.receipt-download-btn {
    background: #fff;
    border: 1px solid #EDEDED;
    border-radius: 10px;
    color: #A71625;
    font-family: var(--font-inter-display-semibold);
    font-weight: 500;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
}

.receipt-download-btn:hover {
    background: #fdf2f2;
    color: #A71625;
}

.success-card .btn-danger {
    background-color: var(--brand-red);
    font-size: 18px;
    border-color: var(--brand-red);
    box-shadow: 0 4px 12px rgba(192, 0, 0, 0.2);
}

.success-box-header{
    font-weight: 500;
}

.btn-outline-brand {
    border: 1px solid var(--brand-red);
    color: #A71625;
    background: #fff;
    font-family: var(--font-inter-display-bold);
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .banner-action-row .btn {
        padding-block: 8px;
        padding-inline: 12px;
        font-size: 11px;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .banner-action-row {
        padding: 0 16px;
    }

     .success-details-box {
        padding: 0;
    }

    .success-card .btn-danger,
    .btn,
    .btn-outline-brand {
        font-size: 14px;
    }

}

@media (max-width: 768px) {
    .success-box-header, .success-box-content {
        padding-inline: 16px;
    }

    .success-box-header {
        padding-top: 20px;
    }

    .success-box-content {
        padding-bottom: 20px;
    }
    
    .success-row {
        font-size: 13px;
        margin-bottom: 0;
    }

    .error-details-box {
        border: 1px solid #EDEDED;
        border-radius: var(--card-radius);
        background: #fff;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .plan-banner-image-container{
        padding: 0 16px;
    }
}

@media (max-width: 991px) {
    .plan-banner {
        padding: 20px;
    }
    .highlight-item {
        padding: 0 15px;
        border-right-width: 1px;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-gray-900 {
    color: var(--gray-900) ;
}
.text-brand-red {
    color: var(--brand-red);
}

/* ==========================================================================
   ULIP Page Specific Styles
   ========================================================================== */

.policy-table {
    border: 1px solid #bcbec4;
    border-radius: var(--card-radius);
    box-shadow: 0px 1px 2px 3px rgba(16, 24, 40, 0.06);
}

.policy-table thead,
.policy-table tbody {
    background-color: #f9f9f9;
}

.policy-table thead th {
    color: #393F47;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: 1px solid #bcbec4;
    padding: 16px 12px;
    vertical-align: middle;
}

/* .policy-table thead th:last-child {
    border-right: none;
} */

.policy-table tbody td {
    text-align: center;
    font-size: 16px;
    color: #000000;
    font-weight: 600;
    border: 1px solid #bcbec4;
    padding: 20px 12px;
}

/* .policy-table tbody td:last-child {
    border-right: none;
} */

.amount-label {
    font-size: 16px;
    color: #111827;
}

.amount-label span {
    font-weight: 600;
}

.amount-value h4 {
    font-size: 24px;
    font-weight: 600;
    color: var(--brand-red);
}

.terms-section .custom-control-label {
    cursor: pointer;
    color: #4B5563;
}

.terms-section .custom-control-label::before,
.terms-section .custom-control-label::after {
    top: 50%;
    transform: translateY(-50%);
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
    background: url(../assets/images/check-mark.png), #fff;
    background-size: cover;
}

.disclaimer-section {
    background-color: #F9FAFB;
    padding: 20px;
}

.disclaimer-section h5 {
    font-family: var(--font-inter-display-semibold);
    color: var(--brand-red);
    font-weight: 600;
    font-size: 18px;
}

.qr-section .nova-text-red {
    font-weight: 400;
}

@media (max-width: 991.98px) {
    .policy-table {
        box-shadow: none;
    }
    .policy-table thead {
        display: none;
    }
    .policy-table tbody td {
        display: grid;
        grid-template-columns: 1.5fr .8fr;
        align-items: center;
        border: none;
        padding: 10px 0;
        text-align: left;
        gap: 90px;
        font-size:smaller;
    }
    .policy-table tbody td::before {
        content: attr(data-label);
        font-weight: 500;
        color: #393F47;
    }

    .disclaimer-section {
        padding: 20px 16px;
    }
}
.otpinput {
    border: 0;
    background-color: transparent;
    border-bottom: 1px solid #b3b3b3;
    box-shadow: none;
    border-radius: 0;
    color: #242424;
    padding: 0;
    font-family: VAG_Rounded_Light;
    font-weight: 400;
    font-size: 30px;
    font-stretch: 100%;
    height: 30px;
    line-height: 28px;
}

.resend-otp {
    text-align: right;
    float: right;
    background: none;
    border: none;
    color: blue;
    margin: 10%;
}

.otp-send {
    border-radius: 0;
    padding: 8px 20px;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'VAG_Rounded_Bold';
    min-width: 110px;
    width: 100%;
    background-color: #faa61a;
    color: #ffffff;
    border-color: #faa61a;
}

.m_title {
    text-transform: capitalize;
}

.paynow {
    background-color: #c00000;
    color: #fff;
    padding: 10px 20px 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    font: 20px geometos;
    font-size: 16px;
    font-weight: 500;
}

    .paynow:hover, a:active {
        background-color: #c00000;
        color: #fff;
        text-decoration: none;
    }

    .paynow:after {
        content: "\f105";
        font-family: 'FontAwesome';
        font-size: 30px;
        position: absolute;
        top: 50%;
        transform: translateY(-52%);
        -webkit-transform: translateY(-52%);
        right: 36px;
    }

#indicator {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border: 10px solid grey;
    border-radius: 50%;
    border-top: 10px solid red;
    width: 100px;
    height: 100px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#BtnPayNowJS {
    display: none;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
}

#btnPayNow {
    color: white;
}

#ModalEcsMsg {
    z-index: 104;
    backdrop-filter: blur(01px);
}

#ModalEcsContent {
    z-index: 106;
    border-radius: 20px;
    height: 50%;
    border-color: lightgray;
}

#ModalEcsBody {
    height: 100px;
}

#LblEcsMmg {
    font-family: Arial;
    font-weight: normal;
}

#BtnPaymentContinue {
    color: #ffffff;
    background-color: #98272a;
    border-color: #98272a;
}

#BtnPaymentClose {
    color: #ffffff;
    background-color: #98272a;
    border-color: #98272a;
}

#DivLoader {
    display: none;
    position: absolute;
    top: 0%;
    left: 0%;
    height: 100%;
    width: 100%;
    border-radius: 25px;
    border: 1px solid lightgray;
    z-index: 106;
    opacity: 0.5;
    background-color: ghostwhite;
}

#divLoaderImg {
    position: absolute;
    top: 30%;
    left: 25%;
    height: 40%;
    width: 50%;
}

#error {
    color: red
}

#divDisclaimer {
    line-height: 1.6;
}


#OTPScreen {
    height: 500px;
}

#divOTP {
    margin-bottom: 0;
    padding: 50px 60px;
    border: 1px solid #faa61a;
    box-shadow: 0 0 5px #dedede;
    background-color: #ffffff;
}

#policywoner {
    font-family: 'VAG_Rounded_Light';
    font-size: 18px;
    font-weight: normal;
}

#btnBuyCancer {
    font-size: 18px;
}

#hFailed {
    color: red
}