﻿:root {
    --btn-bg: #3D3D98;
}

.main-login-page {
    position: relative;
    width: 100vw;
    height: 100vh;
    /*       display:flex;
                flex-direction:column;
                justify-content:center; */
    /* align-items:center; */
    text-align: center;
    background: #ececf5;
    overflow: auto;
}


    .main-login-page h1 {
        font-weight: 600;
        font-size: 2.4rem;
        color: #111111;
    }

    .main-login-page p {
        font-weight: 400;
        color: #464646;
    }

.form-container {
    max-width: 500px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.nav-tabs {
    border-bottom: none;
    justify-content: center;
    border-bottom: 1px solid #D9D9D9;
}

    .nav-tabs .nav-link {
        border: none;
        color: #666;
        font-weight: 400;
        font-size: 16px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .nav-tabs .nav-link.active {
            color: #3d3d98;
            border-bottom: 2px solid #3d3d98;
        }

.loginForm {
    padding: 30px 60px 30px 60px;
    text-align: left;
}

label {
    color: #111111;
    font-weight: 400;
    margin: 10px 0px 5px 0px;
    font-size: 14px;
}

.input::placeholder {
    font-size: 14px;
    color: #464646;
    font-weight: 400;
}

.form-control {
    border-radius: 6px;
    height: 44px;
    font-size: 14px;
    color: #464646;
    background: #ececf5;
}

    .form-control:focus {
        color: #464646;
        background-color: #ececf5;
        border: none !important;
        outline: 0;
        box-shadow: none !important;
    }

.btn-primary {
    background-color: var(--btn-bg);
    border-color: #3d3d98;
    width: 100%;
    height: 44px;
    border-radius: 8px 0px 8px 0px;
    margin-top: 15px;
}

    .btn-primary:hover {
        background-color: #32327e;
    }

.form-check-label {
    font-size: 13px;
    color: #555;
}

.form-check {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.forgot {
    float: right;
    font-size: 13px;
    color: #555;
    text-decoration: none;
}

    .forgot:hover {
        text-decoration: underline;
    }

.social-login {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #777;
}

    .social-login .row {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

.rounded-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: #cccccc50;
    border-radius: 50%;
}

    .rounded-icon img {
        width: 32px;
        margin: 10px;
        cursor: pointer;
        transition: transform 0.2s;
    }

        .rounded-icon img:hover {
            transform: scale(1.1);
        }

.register-link {
    text-align: center;
    font-size: 13px;
    margin-top: 20px;
}

    .register-link a {
        color: #3d3d98;
        text-decoration: none;
    }

        .register-link a:hover {
            text-decoration: underline;
        }

.password-wrapper {
    position: relative;
}

    .password-wrapper i {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        color: #888;
    }

.loginCardSection {
    padding: 40px 20px 40px 20px;
}

    .loginCardSection .row {
        margin-top: 20px;
    }

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    background: white;
    height: auto;
    padding: 15px 20px;
}

/* Left Logo */
.steps-logo img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

/* Center Steps */
.steps-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    gap: 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    opacity: 0.5;
}

    .step h5 {
        font-size: 13px;
        color: #3D3D98;
        font-weight: 700;
        margin: 0;
        text-transform: uppercase;
    }

    .step p {
        font-size: 13px;
        color: #555;
        margin: 3px 0 0;
    }

.activeStep {
    opacity: 1 !important;
}
/* Divider line between steps */
.divider {
    width: 50px;
    height: 1px;
    background-color: #ccc;
}

/* Right Button */
.steps-btn {
    border: 1px solid #3D3D98;
    color: #3D3D98;
    padding: 6px 18px;
    border-radius: 8px 0px 8px 0px;
    font-size: 13px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
}

    .steps-btn:hover {
        background-color: #3D3D98;
        color: #fff;
    }

.pageBtn {
    display: none;
}
/* Responsive */

@media (max-width: 850px) {
    .steps-wrapper {
        position: absolute;
        top: 70px;
        width: 100%;
    }

    .step p {
        display: none;
    }


    .loginImg1 {
        width: 100px;
        transform: translate(238px, 110px);
    }

    .loginImg2 {
        width: 110px;
        transform: translate(-333px, 346px);
    }

    .steps-btn {
        display: none;
    }

    .pageBtn {
        display: none;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
    }

        .pageBtn button {
            background: white;
            border: none;
            border-radius: 30px;
            font-size: 13px;
            width: 80%;
            height: 35px;
        }
}

@media (max-width: 768px) {

    .loginImg1, .loginImg2 {
        display: none;
    }
}

@media (max-width: 600px) {
    .main-login-page h1 {
        font-size: 1.5rem;
    }

    .loginForm {
        padding: 30px !important;
    }
}

@media(max-width: 450px) {
    .steps-wrapper {
        gap: 10px;
        left: 0;
    }
}
