﻿.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px 12px;
}

.login-card {
    border-radius: 20px;
    padding: 24px;
    width: 572px;
    height: auto;
    min-height: 350px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 24px;
    background: white;
    box-shadow: 0 4px 18px 0 rgba(31, 46, 70, 0.1);
}

.login-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-header-label {
    padding: 0px;
    margin: 0px;
    font-family: var(--third-family);
    font-weight: 600;
    font-size: 24px;
    line-height: 150%;
    text-align: center;
    color: var(--text-dark-color);
}

.titled-input-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 72px;
}

    .titled-input-field > p {
        padding: 0px;
        margin: 0px;
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 14px;
        line-height: 143%;
        color: var(--gray-500);
    }

.login-form-input {
    box-sizing: border-box;
    border: none;
    outline: 1px solid #cfdbed;
    border-radius: 10px;
    width: 100%;
    height: 48px;
    background: transparent;
    padding: 0px 8px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: var(--text-gray-dark-color);
}

    .login-form-input:focus {
        outline: 2px solid #0096ea;
    }

.error-message {
    margin: 0px;
    padding: 0px;
    text-align: center;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 133%;
    color: var(--red-color);
}

.forget-password {
    cursor: pointer;
    align-self: center;
    align-content: end;
    text-align: center;
    padding: 0px;
    margin: 0px;
    min-height: 40px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: var(--text-gray-color);
}

.login-button {
    cursor: pointer;
    border-radius: 12px;
    margin: 0px;
    padding: 0px 16%;
    width: 100%;
    height: 48px;
    justify-self: center;
    border-width: 0px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    color: white;
    background-color: var(--blue-color);
}

    .login-button:disabled {
        background-color: #EBECF0;
        cursor: not-allowed;
    }

    .login-button:hover {
    }

.spinner {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 1s linear infinite;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
