/* Importação da fonte Inter com pesos */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', system-ui, sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
}

/* Layout geral dividido */
.container-login {
    display: flex;
    height: 100vh;
    overflow: hidden;
}


/* Lado esquerdo - formulário */
.login-left {
    width: 42%;
    background: #f9f9f9;
    display: flex;
    align-items: flex-start !important;
    justify-content: center;
    padding: 60px 40px;
    overflow-y: auto;
    height: 100vh;
}


.login-box {
    width: 100%;
    max-width: 460px;
    padding: 40px 32px;
    border-radius: 16px;

}

/* Campos */
.form-field {
    margin-bottom: 14px;
}

.form-field label {
    display: block;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
    font-size: 16px;
}

.form-field input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid #cccccc;
    border-radius: 10px;
    transition: border-color 0.3s ease;
    background: #fff;
    color: #333;
}

.form-field input:focus {
    border-color: #7b2ff7;
    outline: none;
}

.input-note {
    font-size: 13px;
    color: #777777;
    margin-top: 6px;
    display: block;
}

/* Campo de senha com ícone */
.input-password {
    position: relative;
}

.input-password .toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    cursor: pointer;
    color: #999999;
}

/* Toggle Switch */
.toggle-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 32px 0;
}

.toggle-switch label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    user-select: none;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ddd;
    border-radius: 50px;
    transition: 0.3s;
}

.slider:before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #c8102e;
    border-radius: 50%;
    transition: 0.3s;
    background-image: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.3 5.71a1 1 0 0 0-1.41 0L12 10.59 7.11 5.7A1 1 0 0 0 5.7 7.11L10.59 12l-4.89 4.89a1 1 0 1 0 1.41 1.41L12 13.41l4.89 4.89a1 1 0 0 0 1.41-1.41L13.41 12l4.89-4.89a1 1 0 0 0 0-1.4Z'/%3E%3C/svg%3E");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}

.switch input:checked + .slider {
    background-color: #f5d7ff;
}

.switch input:checked + .slider:before {
    transform: translateX(22px);
    background-color: #30b350;
    background-image: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.285 6.709a1 1 0 0 0-1.414-1.418l-9.19 9.157-4.552-4.54A1 1 0 0 0 3.71 11.3l5.265 5.249a1 1 0 0 0 1.414 0l9.896-9.84Z'/%3E%3C/svg%3E");
}

.forgot-password {
    font-size: 14px;
    color: #7b2ff7;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Botão principal */
.btn-primary {
    width: 100%;
    padding: 14px 0;
    background: linear-gradient(90deg, #ff00cc, #7928ca);
    color: #fff;
    font-weight: 600;
    border: none;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.3s ease;
        margin-bottom: 20px;

}

.btn-primary:hover {
    opacity: 0.9;
}

/* Botões sociais */
.btn-social {
    width: 100%;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center; /* ✅ centraliza ícone + texto */
    gap: 12px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}


.btn-social i {
    font-size: 20px;
    margin-right: 10px;
    filter: grayscale(1);
}

.btn-social.google {
    background: #ffffff;
    color: #333333;
    border: 1px solid #ccc;
}

.btn-social.google:hover {
    background: #f3f3f3;
}

.btn-social.facebook {
    background: #3b5998;
    color: #ffffff;
}

.btn-social.facebook:hover {
    background: #334d84;
}

.btn-social.github {
    background: #24292e;
    color: #ffffff;
}

.btn-social.github:hover {
    background: #1b1f23;
}

.btn-social.sso {
    background: #000000;
    color: #ffffff;
}

/* Criar conta */
.account-footer {
    margin-top: 40px;
    text-align: center;
}

.account-footer p {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
}

.btn-create {
    display: inline-block;
    background: #f73aff;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-create:hover {
    background: #c100d8;
}

/* Botões demo */
.demo-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.btn-demo {
    padding: 10px 20px;
    background-color: #ff4b4b;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-demo:hover {
    background-color: #cc3a3a;
}

/* Lado direito - branding */
.login-right {
    width: 64%;
    background: linear-gradient(160deg, #2b0b3a, #5500a1);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 40px;
    position: relative;
}

.login-right .logo-top {
    position: absolute;
    top: 40px;
    right: 40px;
    max-width: 130px;
    height: auto;
}

.login-right h1 {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}

.login-right h2 {
    font-size: 48px;
    font-weight: 800;
    color: #f73aff;
    margin-bottom: 40px;
}

.login-right p {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    max-width: 600px;
    color: #dddddd;
    margin-bottom: 20px;
}

.login-right p:last-child {
    font-weight: 600;
    color: #ffffff;
    margin-top: 10px;
}

.form-row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.link-criar-conta {
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    color: #a200ff;
    transition: 0.2s;
    line-height: 1;
    padding-bottom: 38px; /* 🔧 Ajuste fino de alinhamento */
}

.link-criar-conta:hover {
    color: #7a00cc;
    text-decoration: underline;
}

.lost-password {
    text-align: left;
    margin-top: 24px;
}

.lost-password a {
    font-size: 14px;
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.lost-password a:hover {
    color: #555;
    text-decoration: underline;
}

/* Responsivo */
@media (max-width: 991px) {
    .container-login {
        flex-direction: column;
        height: auto;
        justify-content: center;
    }

    .login-left {
        width: 100% !important;
        max-width: 100% !important;
        padding: 50px 20px;
        order: 1;
    }

    .login-right {
        display: none !important;
    }

    .login-box {
        box-shadow: none;
        padding: 30px 24px;
    }
}

.input-password {
    position: relative;
}

.input-password .toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #666;
    font-size: 18px;
}

.input-password .toggle-password:focus {
    outline: none;
}

.logo-wave {
    text-align: center;
    margin-bottom: 45px;
}

.logo-login {
    max-width: 160px;
    height: auto;
    display: inline-block;
    margin-right: 210px;   /* empurra pra direita */
    margin-top: -10px;     /* sobe o logo */
}



@media (max-width: 480px) {
    .form-field input {
        padding: 12px;
        font-size: 15px;
    }

    .btn-primary {
        font-size: 15px;
        padding: 12px;
    }

    .btn-social {
        font-size: 14px;
        padding: 10px;
    }

    .btn-create {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* CARD MODERNO COM LARGURA IDEAL */
.modern-password-reset {
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 48px 40px;
    max-width: 540px;
    width: 100%;
    margin: 40px auto;
}

/* TÍTULO E TEXTO */
.modern-password-reset h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
    text-align: center;
}

.modern-password-reset p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    text-align: center;
    max-width: 460px;
    margin: 0 auto 24px auto;
}

/* INPUT */
.modern-password-reset .form-control {
    border-radius: 10px;
    padding: 14px 16px;
    border: 1px solid #ccc;
    font-size: 16px;
    transition: 0.2s ease;
}

.modern-password-reset .form-control:focus {
    border-color: #7b2ff7;
    box-shadow: 0 0 0 0.1rem rgba(123, 47, 247, 0.25);
}

/* BOTÃO DEGRADÊ */
.btn-pink-gradient {
    background: linear-gradient(45deg, #7b2ff7, #9f44ff);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    padding: 14px;
    text-transform: uppercase;
    transition: 0.3s ease;
    width: 100%;
    font-size: 15px;
}

.btn-pink-gradient:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

