.online-banner {
    margin-top: 7%;
    border: 1px solid #c2c2c0;
    border-radius: 10px;
    background-color: #fdfdfe;
    box-shadow: 2px 2px 2px #c2c2c0;
    justify-content: center;
    padding: 5px 5px 20px;
}

.online-banner h4 {
    margin-top: 30px;
    font-weight: bold;
    color: #007bff;
}


.online-banner p {
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 2.5rem;
    color: #1a1a1b;

}


.first-banner {
    margin-top: 70px;
    direction: rtl;
    text-align: right;
    padding: 20px 5% 20px 20px;
    font-size: 1.2rem;
    border: 1px solid #c2c2c0;
    border-radius: 10px;
    background-color: #fdfdfd;
    box-shadow: 2px 2px 2px #c2c2c0;
    line-height: 2.2rem;
}

.first-banner h2 {
    margin-top: 2%;

}

.image-bnr {
    border-radius: 12px;
    color: #315592;
    text-align: center;
    margin-top: 5%;
}

.image-bnr p {
    font-weight: 1000;
    font-size: 2.5rem;
    padding-top: 20px;
}

.insurance-btn {
    background: linear-gradient(135deg, #66BFFF, #3399FF);
    border: none;
    padding: 10px;
    color: #fff;
    font-size: 19px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 120px;
    font-weight: bold;
    margin-top: 20px;
    text-align: center;
}

.insurance-btn:hover {
    background: linear-gradient(135deg, #3399FF, #007bff);
    transform: translateY(-2px);
}

.bnr-btn {
    align-items: center;
    align-content: center;
    display: flex;
    justify-content: center;
}

/*second-part*/

.mid-title {
    text-align: center;
    padding: 1%;
    color: #2c8cd9;
    border-radius: 15px;
    margin-top: 70px;
    font-weight: 1000;
}

.second-banner {
    border: 1px solid #c2c2c0;
    border-radius: 10px;
    background-color: #fdfdfe;
    box-shadow: 2px 2px 2px #c2c2c0;

    margin-top: 3%;
    justify-content: center;
    padding: 50px;

}


.text-icon p {
    font-size: 1.2rem;
    line-height: 2rem;
}

.text-logo {
    max-width: 30px;
}

.new-img {
    height: 400px;
}

/*form*/

.form-box {
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: 16px;
    padding: 2%;
    border: 1px solid #ddd;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

}

.form-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
    margin-bottom: 10px;
}

.form-title img {
    width: 35px;
    height: 35px;
}

.form-title h4 {
    font-weight: bold;
    margin: 0;
    font-size: 1.1rem;
}

.description {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 25px;
    text-align: right;
}

.form-control {
    border-radius: 10px;
}

.btn-primary {
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    padding: 6px 12px;
    height: 36px;
}

.login-link {
    font-size: 14px;
    margin-top: 20px;
}

.logo-box {
    margin-bottom: 10px;
}

.btn-primary {
    background-color: #52b5fb;
    border: none;
}

.btn-primary:hover {
    background-color: #277aaf;
}

.errorDiv {
    margin-top: 15px;
    padding: 8px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    display: none;
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.loader {
    border: 8px solid #b6b5b5;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    animation: spin 2s linear infinite;
    margin-right: 35px;
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


@media (max-width: 1080px) {
    .second-banner {
        font-size: 1rem;
    }

    .text-icon p {
        font-size: 1rem;
        line-height: 2rem;
    }

    .new-img {
        display: none;
    }

    .second-form {
        margin-top: 20px;
        margin-bottom: 70px;

    }
}