﻿/*
------------------------------------------------
Login e cadastro
------------------------------------------------
*/

.auth-page {
    min-height: 100vh;
}

.auth-hero {
    padding-top: 85px;
    padding-bottom: 70px;
}

.auth-content {
    padding-top: 50px;
}

/*
------------------------------------------------
Cartões
------------------------------------------------
*/

.auth-card {
    height: 100%;
    padding: 30px;
    border: 1px solid #e3e5e7;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 10px 35px rgba(35, 45, 57, 0.07);
}

.auth-login-card {
    border-top: 4px solid #343a3e;
}

.auth-register-card {
    border-top: 4px solid #656c74;
}

.auth-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 15px;
}

.auth-card-icon {
    width: 47px;
    height: 47px;
    flex: 0 0 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: #343a3e;
    color: #fff;
    font-size: 18px;
}

.auth-register-card .auth-card-icon {
    background-color: #656c74;
}

.auth-card-header span {
    display: block;
    margin-bottom: 2px;
    color: #92979d;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.auth-card-header h2 {
    margin: 0;
    color: #2a2a2a;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 700;
}

.auth-card-description {
    margin: 0 0 24px;
    color: #737a81;
    font-size: 12px;
    line-height: 1.7;
    font-weight: 400;
}

/*
------------------------------------------------
Divisor
------------------------------------------------
*/

.auth-divider-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-divider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .auth-divider::before {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background-color: #dfe2e4;
    }

    .auth-divider span {
        position: relative;
        z-index: 2;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #dfe2e4;
        border-radius: 50%;
        background-color: #f5f6f8;
        color: #92979d;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
    }

/*
------------------------------------------------
Formulário
------------------------------------------------
*/

.auth-form-group {
    margin-bottom: 20px;
}

.auth-form-label {
    display: block;
    margin-bottom: 7px;
    color: #343a3e;
    font-size: 12px;
    font-weight: 600;
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.auth-forgot-password {
    margin-bottom: 7px;
    color: #656c74;
    font-size: 10px;
    font-weight: 600;
}

    .auth-forgot-password:hover {
        color: #23282c;
        text-decoration: underline !important;
    }

.auth-input-container {
    position: relative;
}

    .auth-input-container > i {
        position: absolute;
        z-index: 2;
        top: 50%;
        left: 14px;
        width: 18px;
        color: #92979d;
        font-size: 13px;
        text-align: center;
        transform: translateY(-50%);
        pointer-events: none;
    }

.auth-form-control {
    width: 100%;
    height: 47px;
    padding: 9px 43px;
    border: 1px solid #d9dcdf;
    border-radius: 9px;
    background-color: #fff;
    color: #343a3e;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 400;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

    .auth-form-control::placeholder {
        color: #a5a9ad;
        opacity: 1;
    }

    .auth-form-control:focus {
        border-color: #656c74;
        outline: none;
        background-color: #fff;
        box-shadow: 0 0 0 3px rgba(101, 108, 116, 0.12);
    }

.auth-input-invalid {
    border-color: #b33a3a !important;
    background-color: #fffafa;
}

.auth-input-valid {
    border-color: #4f7c5e !important;
    background-color: #fbfefc;
}

/*
------------------------------------------------
Exibir senha
------------------------------------------------
*/

.auth-password-toggle {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 8px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background-color: transparent;
    color: #858b93;
    font-size: 13px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 0.2s ease, background-color 0.2s ease;
}

    .auth-password-toggle:hover {
        background-color: #f0f1f2;
        color: #343a3e;
    }

    .auth-password-toggle:focus {
        outline: 2px solid rgba(101, 108, 116, 0.25);
    }

/*
------------------------------------------------
Mensagens
------------------------------------------------
*/

.auth-message {
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.6;
}

.auth-message-error {
    display: flex;
    border: 1px solid #ecd0d0;
    background-color: #fff5f5;
    color: #9c3535;
}

.auth-message i {
    margin-top: 3px;
}

.auth-password-requirement {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: -6px;
    margin-bottom: 20px;
    color: #858b93;
    font-size: 10px;
    line-height: 1.5;
}

    .auth-password-requirement i {
        color: #656c74;
    }

/*
------------------------------------------------
Botões
------------------------------------------------
*/

.auth-submit-button {
    width: 100%;
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 0;
    border-radius: 9px;
    background-color: #343a3e;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

    .auth-submit-button:hover:not(:disabled) {
        background-color: #23282c;
        transform: translateY(-1px);
        box-shadow: 0 7px 16px rgba(35, 40, 44, 0.17);
    }

.auth-register-button {
    background-color: #535b62;
}

    .auth-register-button:hover:not(:disabled) {
        background-color: #343a3e;
    }

.auth-submit-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
    box-shadow: none;
}

.auth-security-message {
    margin-top: 12px;
    color: #92979d;
    font-size: 9px;
    line-height: 1.6;
    text-align: center;
}

    .auth-security-message i {
        margin-right: 4px;
    }

/*
------------------------------------------------
Responsivo
------------------------------------------------
*/

@media (max-width: 991px) {

    .auth-divider-column {
        display: block;
    }

    .auth-divider {
        min-height: 80px;
        height: 80px;
    }

        .auth-divider::before {
            width: 100%;
            height: 1px;
            top: 50%;
            left: 0;
        }

    .auth-card {
        height: auto;
    }
}

@media (max-width: 767px) {

    .auth-hero {
        padding-top: 60px;
        padding-bottom: 55px;
    }

    .auth-content {
        padding-top: 35px;
    }

    .auth-card {
        padding: 22px;
        border-radius: 12px;
    }

    .auth-card-header {
        align-items: flex-start;
    }

        .auth-card-header h2 {
            font-size: 19px;
        }

    .auth-label-row {
        align-items: flex-end;
    }
}

@media (max-width: 450px) {

    .auth-card {
        padding: 18px;
    }

    .auth-form-control {
        font-size: 12px;
    }
}

/*
------------------------------------------------
Imagem do cabeçalho da página de login
------------------------------------------------
*/

.checkout-address-hero.auth-hero {
    position: relative;
    min-height: 330px;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    background-image: linear-gradient( 90deg, rgba(24, 28, 32, 0.94) 0%, rgba(35, 40, 44, 0.80) 48%, rgba(35, 40, 44, 0.42) 100% ), url("/Images/Principal/rent_venue_bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .checkout-address-hero.auth-hero::before,
    .checkout-address-hero.auth-hero::after {
        display: none;
    }

    .checkout-address-hero.auth-hero .container {
        position: relative;
        z-index: 2;
    }

    .checkout-address-hero.auth-hero h1 {
        color: #fff;
        text-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
    }

    .checkout-address-hero.auth-hero p {
        color: rgba(255, 255, 255, 0.88);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.40);
    }

    .checkout-address-hero.auth-hero .checkout-step-label {
        background-color: rgba(255, 255, 255, 0.16);
        color: #fff;
        backdrop-filter: blur(5px);
    }

@media (max-width: 767px) {

    .checkout-address-hero.auth-hero {
        min-height: 280px;
        padding: 75px 0 60px;
        background-position: center;
    }
}
