/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #9195a3;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
    margin: 0;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #9195a3;
    display: flex;
    justify-content: center;
    z-index: 9999;
}

.login-container {
    display: none;
}

.loader-img-container {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #f95959 0%, #ff9a8e 100%);
}

.loader-img {
    width: 100%;
    height: auto;
}

.login-container {
    display: flex !important;
    justify-content: center;
    height: 100%; /* Full height for the container */
    width: 100%;
}

.login-box {
    background-color: #f7f8ff;
    width: 100%;
    max-width: 400px; /* Restricts the width on larger screens */
    text-align: center;
    box-sizing: border-box;
}

.header {
    background: linear-gradient(90deg, #f95959 0%, #ff9a8e 100%);
    padding: 20px;
}

.login_container-tab {
    display: flex;
    justify-content: space-evenly;
    padding: 20px;
}

.phone-label-container,
.mail-label-container,
.password-label-container {
    display: flex;
    align-items: center;
}

.phone-input-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown {
    padding: 12px;
    background: #ffffff;
    border-radius: 10px;
    margin-top: 5px;
}

.dropdown .dropdown__value span {
    color: #000000;
}

.tab {
    cursor: pointer;
    color: #000000;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    flex-direction: column;
}

.tab.active {
    color: #f95959;
}

.tab .icons {
    margin-right: 8px;
}

.tab .icons img.active {
    display: inline;
}

.tab .icons img.inactive {
    display: none;
}

.info {
    text-align: left;
}

.info h2 {
    color: #ffffff;
}

.login-text {
    color: #ffffff;
    font-size: 12px;
    margin-bottom: 20px;
}

form {
    padding: 20px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    color: #000000;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 14px;
}

.remember-password {
    display: flex;
    align-items: center;
    color: #000000;
    margin-bottom: 20px;
}

.remember-password input {
    margin-right: 10px;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #CCCEDC 15.38%, #CDCFDD 98.73%);
    color: #768096;
    font-size: 16px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    margin-bottom: 15px;
}

.register-btn {
    width: 100%;
    padding: 15px;
    background-color: transparent;
    color: #f95959;
    font-size: 16px;
    border: 1px solid #f95959;
    border-radius: 100px;
    cursor: pointer;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.footer-links p {
    color: #000000;
    font-size: 14px;
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-box {
        max-width: 100%; /* Ensures the form is responsive on smaller screens */
    }
    
    .loader-img-container {
        width: 100%;
    }
}
