@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Global Css */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fbfcff 0%, #f2f7ff 100%);
}

.custom-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

.signup-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px #c8d4e9cc;
    padding: 30px 40px;
    margin: 5px;
    overflow: hidden;
}

.frm_title {
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 14px;
    color: #6c757d;
}

.fs-12 {
    font-size: 12px;
}

.fs-13 {
    font-size: 13px;
}

.fs-14 {
    font-size: 14px;
}

.sc_title {
    font-weight: 700;
    color: #333;
}

/* pagination css */
.step-badge-minimal {
    color: #4c6ef5;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    position: absolute;
    right: 6px;
    top: 10px;
}

/* Ultra Thin Progress Bar */
.progress-ultra-thin {
    height: 5px;
    width: 100%;
    background: #e6eefd;
    border-radius: 10px;
    overflow: hidden;
    position: absolute;
    top: 0px;
    left: 0;
}

.progress-fill {
    height: 100%;
    width: 20%;
    background: #4c6ef5;
    transition: width 0.4s ease;
}

/* Tooltip Design */
.custom-tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.custom-tooltip .tooltip-text {
    visibility: hidden;
    width: 240px;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 10;
    bottom: 85%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    margin-bottom: 5px;
    transition: opacity 0.4s ease, margin-bottom 0.4s ease;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.4;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.custom-tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
}

.custom-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    margin-bottom: 12px;
}

/* Breadcrumb Steps */
.step-breadcrumb {
    font-size: 14px;
    color: #1e3c72;
    margin-bottom: 20px;
}

.step-breadcrumb .active-step {
    font-weight: 600;
}

/* Input Styling */
.form-control,
.form-select {
    height: 50px;
    border-radius: 10px;
    border: 1px solid #e1e1e1;
    padding-left: 15px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-control:focus,
.form-select:focus,
.otp-field:focus,
.account-type-card.active {
    border-color: #2a5298;
    box-shadow: 0 0 0 0.2rem rgba(42, 82, 152, 0.15);
    outline: 0;
}

.input-group-text {
    border-radius: 10px 0 0 10px;
    border-top-left-radius: 10px;
    color: #2a5298;
    width: 45px;
    justify-content: center;
}

.form-control:focus-within .input-group-text {
    color: #2a5298;
    background: #f0f7ff;
}

/* when input is focused */
.input-group:focus-within .input-group-text {
    color: #1e40af;
    background: #f0f7ff;
}

/* Button Styling */
.btn-primary-custom {
    background: linear-gradient(to right, #1e3c72, #2a5298);
    border: none;
    padding: 12px 50px;
    border-radius: 10px;
    font-weight: 600;
    color: #fff;
    transition: transform 0.2s;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
    background: linear-gradient(to right, #2a5298, #1e3c72);
}

/* Checkbox */
.form-check-input:checked {
    background-color: #2a5298;
    border-color: #2a5298;
}

/* link tag */
.cmn-link {
    color: #2a5298;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.cmn-link:hover {
    text-decoration: underline;
}

/* Background Design */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    opacity: 0.5;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.15), rgba(76, 201, 240, 0.1));
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -9%;
    left: -4%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 15%;
    animation-delay: -10s;
    animation-duration: 30s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    top: -10%;
    right: -3%;
    animation-delay: -15s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-40px) rotate(90deg);
    }

    50% {
        transform: translateY(0) rotate(180deg);
    }

    75% {
        transform: translateY(40px) rotate(270deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* payment-selection Css start ========== */
.pay-tab {
    flex: 1;
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
}

.pay-tab:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.pay-tab.active {
    border-color: #2a5298;
    background: #fff;
    box-shadow: 0 15px 30px rgba(22, 84, 255, 0.12);
}

.pay-tab i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
    color: #94a3b8;
}

.pay-tab.active i {
    color: #2a5298;
    transform: scale(1.1);
}

.pay-tab span {
    font-weight: 700;
    font-size: 0.95rem;
    color: #475569;
}

.pay-tab.active span {
    color: #2a5298;
}

.section-divider {
    display: flex;
    align-items: center;
    margin: 30px 0 20px;
}

.section-divider span {
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #94a3b8;
    padding-right: 15px;
}

.section-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, #e2e8f0, transparent);
}

/* payment-selection Css start ========== */

/* thank-you Css start ========== */
.order-summary-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(22, 84, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 10px;
}

.summary-item:last-child {
    border: none;
}

.summary-label {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}

.summary-value {
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 700;
}

.important-note-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    text-align: left;
    position: relative;
}

.note-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #22c55e;
    color: #fff;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.important-note-box p {
    font-size: 0.9rem;
    color: #166534;
    margin: 0;
    line-height: 1.6;
}

/* thank-you Css start ========== */


@media (max-width: 576px) {
    .signup-card {
        padding: 30px 20px 20px;
    }

    .custom-tooltip .tooltip-text {
        width: 120px;
    }

    .btn-primary-custom { 
        padding: 10px 20px;
    }
}