* {
    font-family: "Inter", sans-serif;
}

html,
body {
    overflow-x: hidden;
    background-color: #f4f7fb;
    /* Light background for the bottom of the page */
}

/* Base Theme Variables */
.body1 {
    width: 100%;
    padding: 0px 0px 220px;
    /* Deep padding to hold the overlapping card */
    position: relative;
    background: #08173A;
}

.logos {
    padding: 20px 0px;
}

.logo {
    text-align: right;
}

.logo1 {
    text-align: left;
}

.logo1 img {
    max-width: 180px;
    width: 100%;
}

.logo img {
    max-width: 100px;
    width: 100%;
}

.heading {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #FFFFFF;
}

.heading1 {
    font-size: 20px;
    font-weight: 400;
    color: #A3BAF9;
    /* Softer blue for subheading */
}

/* Overlapping Card Architecture */
.box-wrapper {
    margin-top: -160px;
    position: relative;
    z-index: 1;
    margin-bottom: 100px;
}

.white-card.login-card {
    background: #FFFFFF;
    border-radius: 22px;
    box-shadow: 0px 13px 100px rgba(199, 199, 199, 0.25);
    padding: 50px 40px;
    max-width: 450px;
    /* Narrower width specific for login forms */
    width: 100%;
}

.get-started {
    color: #0F1A2A;
    font-weight: 600;
    font-size: 26px;
    letter-spacing: -1px;
}

/* Form Elements */
.form-group {
    text-align: left;
    margin-bottom: 15px;
}

.form-group label {
    font-weight: 500;
    font-size: 14px;
    color: #0F1A2A;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 0px 15px;
    height: 52px;
    font-size: 16px;
    width: 100%;
    color: #0F1A2A;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #1C3FCA;
    box-shadow: 0 0 0 3px rgba(28, 63, 202, 0.1);
    outline: none;
}

.asterik {
    color: #dc3545;
    margin-left: 2px;
    font-weight: bold;
}

/* Buttons */
.custom-button {
    height: 54px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 36px;
    border: none;
    background-color: #1C3FCA;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.3s ease;
}

.custom-button:hover {
    background-color: #008ecc;
}

.custom-button:disabled {
    background-color: #8fa0e5;
    cursor: not-allowed;
}

/* Utility Links */
.resend-otp {
    font-size: 13px;
    color: #1C3FCA;
    text-decoration: none;
    font-weight: 600;
}

.resend-otp:hover {
    text-decoration: underline;
}

.new-user-text {
    font-size: 14px;
    color: #595959;
    margin: 0;
}

.apply-link {
    color: #1C3FCA;
    font-weight: 600;
    text-decoration: none;
}

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

/* Validation Errors */
.help-block {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.has-error .form-control {
    border-color: #dc3545;
}

/* Mobile Responsiveness */
@media screen and (max-width: 575.98px) {
    .heading {
        font-size: 36px;
    }

    .heading1 {
        font-size: 16px;
    }

    .white-card.login-card {
        padding: 35px 25px;
        border-radius: 16px;
    }

    .body1 {
        padding: 0px 0px 180px;
    }

    .logo1 img {
        max-width: 130px;
    }

    .logo img {
        max-width: 75px;
    }
}