* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background: #FFF8F0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header */
.header {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    background: white;
    border-bottom: 1px solid #eee;
}

.header img {
    height: 60px;
}

/* Form Section */
.form-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* background: white; */
    padding: 40px 25px;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    /* box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07); */
}

.form-container h2 {
    margin: 0 0 20px;
    text-align: center;
    font-size: 18px;
}

input[type="tel"] {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 18px;
}

button {
    width: 100%;
    padding: 14px;
    background: #ff7800;
    border: none;
    color: white;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: #e76a00;
}

.logo-img {
    height: 170px;
    margin-bottom: 20px;
}

.logo-img.main-form {
    height: 140px;
    margin-bottom: 0px;
}

.otp-input-group {
    gap: 30px;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.otp-box {
    width: 50px;
    height: 50px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 22px;
    text-align: center;
}

.otp-input-group {
    gap: 40px;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.otp-box {
    width: 55px;
    height: 55px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 22px;
    text-align: center;
    font-weight: bold;
}

.otp-box:focus {
    border-color: #ff7800;
    outline: none;
    box-shadow: 0 0 5px rgba(255, 120, 0, 0.4);
}
.form-container.main-form {
    margin: 20px auto;
}
.form-label {
    font-size: 14px;
    font-weight: 550;
    color: #2a3547;
    margin-bottom: 4px;
}
.form-control {
    padding: 0.6rem .75rem;
    font-size: 12px;
    color: #5e6776;
    line-height: 1.9;
    box-shadow: 0 0 3px rgba(255, 120, 0, 0.4);

}
.form-select {
    font-weight: 400;
}
.thankyou-card {
    text-align: center;
}

.thankyou-logo {
    width: 180px;
    margin-bottom: 20px;
}

.thankyou-title {
    font-size: 26px;
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
}

.thankyou-text {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Align close button properly */
#toast-container .toast-close-button {
    display: none;
}
.text-orange{
    color: #ff7800;
}

.btn-outline-primary {
    --bs-btn-color: #ff7800;
    --bs-btn-border-color: #ff7800;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #ff7800;
    --bs-btn-hover-border-color: #ff7800;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #ff7800;
    --bs-btn-active-border-color: #ff7800;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #ff7800;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #ff7800;
    --bs-gradient: none;
}
.fs-7 {
    font-size: 0.8rem !important;
}
@media (min-width: 320px) and (max-width: 768px) {
    .form-container {
        padding: 30px 20px;
    }

    .otp-input-group {
        display: flex;
        /* justify-content: space-between; */
        margin-bottom: 20px;
        gap: 15px;
    }

    .form-container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        /* background: white; */
        padding: 40px 25px;
        width: 100%;
        max-width: 550px;
        border-radius: 12px;
        /* box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07); */
    }
    .form-container.main-form {
       margin: 50px auto;   /* instead of absolute center */
       /* height: 620px; */
       padding: 20px 0px;
       padding-bottom: 100px !important;
       /* overflow: hidden; */
    }
    .form-container.main-form .inside-card {
        /* height:420px; */
        padding: 0px 25px 10px 25px;
        /* overflow: hidden; */
        /* overflow-y: scroll; */
    }
    .submit-btn.main-form {
        position: fixed;
        bottom: 20px;
        left: 5%;
        cursor: pointer;
        z-index: 9999;
        width: 90%;
        text-align: center;
    }
    .thankyou-title {
        font-size: 22px;
    }

    .thankyou-text {
        font-size: 15px;
    }
}
