﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Heebo, Arial, sans-serif;
}

body {
    background-color: #f7f7f7;
    overflow: auto;
    height: 100%;
}
h1 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

p {
    margin-bottom: 20px;
    color: #555;
}

input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ddd;
}

button {
    background-color: #1a2a5e;
    color: white;
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
}
button:hover {
    background-color: #16234b;
}

.bg {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url('/web/images/login/desktop-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 1;
    position: absolute;
    top: 0px;
    right: 0px;
}


.otp-box, .login-box {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    position: absolute;
    top: calc(10%); 
    right: calc(10%); 
    border-radius: 25px;
    width: 100%;
    max-width: 650px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 1;
    z-index: 100;
    display: flex;
    justify-content: space-between;
}

.otp-box {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.otp-error-message {
    color: red;
    margin: 5px;
    text-align: right;
}
.login-box img, .otp-box img {
    max-width: 150px;
    margin-bottom: 20px;
}



.title {
    font-family: Heebo;
    font-size: 36px;
    font-weight: 700;
    line-height: 52.88px;
    text-align: center;
}

.subtitle {
    font-family: Heebo;
    font-size: 20px;
    font-weight: 400;
    line-height: 29.38px;
    text-align: center;
}

.phone-label, .otp-label {
    font-family: Heebo;
    font-size: 16px;
    font-weight: 300;
    line-height: 23.5px;
    text-align: right;
    width: 100%;
}
.invalid-feedback{
    text-align:right;
}

.container {
    min-height: 70vh;
}

.divider {
    border-left: 1px solid #b5b5b5;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.join-card {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    font-size: 20px;
    text-align: center;
}

.login-form {
    width: 45%;
}
.join-btn {
    margin-top: 20px;
}
.join-text{
    margin-top:29px;
}

@media (max-width: 768px) {
    .bg {
        height: 23vh;
    }

    .otp-box, .login-box {
        max-width: 90%;
        display: flex;
        flex-direction: column;
        background-color: white;
        top: 65px;
        right: 0px;
        position: relative;
        margin: auto;
        height:auto;
        min-height:100vh;
        overflow-y:auto;
    }

    .divider {
        display: flex;
        border-left: none;
        border-bottom: 1px solid #b5b5b5;
        height:40px;
    }

    .login-form {
        width: 100%;
    }

    .join-card {
        display: flex;
        width: 100%;
        padding-top:35px;
    }

    h1 {
        font-size: 28px;
    }

    input, button {
        padding: 8px;
    }
}