/* =========================
   LOGIN PAGE - CENTRALRMA
   ========================= */

.login-page {
    background: #f4f6f9;
}

/* CONTAINER PRINCIPAL */
.login-container {
    display: flex;
    min-height: 100vh;
}

/* LADO ESQUERDO (BRANDING) */
.login-left {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-brand {
    text-align: left;
    max-width: 400px;
}

.login-brand h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.login-brand span {
    color: var(--secondary);
}

.login-brand p {
    margin-top: 10px;
    font-size: 15px;
    opacity: 0.8;
}

/* CORREÇÃO DA LOGO COMO LINK */
.login-brand .logo {
    text-decoration: none;
    color: var(--primary);
}

.login-brand .logo h1 {
    color: var(--primary);
}

.login-brand .logo span {
    color: var(--secondary);
}

/* LADO DIREITO */
.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* BOX LOGIN */
.login-box {
    width: 100%;
    max-width: 380px;
    background: var(--white);
    padding: 35px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

/* TÍTULO */
.login-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary);
}

.login-subtitle {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 25px;
}

/* FORMULÁRIO */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    font-size: 13px;
    display: block;
    margin-bottom: 6px;
    color: var(--gray);
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(52,152,219,0.15);
}

/* LINHAS DUPLAS (DOIS CAMPOS NA MESMA LINHA) */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group.half {
    flex: 1;
    margin-bottom: 0;
}

/* BOTÃO LOGIN (AÇÃO PRINCIPAL) */
.btn-login {
    width: 100%;
    padding: 12px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.btn-login:hover {
    background: var(--secondary-dark);
    transform: translateY(-1px);
}

/* DIVISOR */
.login-divider {
    text-align: center;
    margin: 20px 0 18px;
    position: relative;
}

.login-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.login-divider span {
    background: var(--white);
    padding: 0 12px;
    position: relative;
    font-size: 12px;
    color: var(--gray);
    text-transform: lowercase;
}

/* SEÇÃO DE CADASTRO (AÇÃO SECUNDÁRIA) */
.login-signup {
    text-align: center;
    margin-top: 5px;
}

.signup-text {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 12px;
}

.btn-signup {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background: transparent;
    color: var(--secondary);
    border: 1.5px solid var(--secondary);
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    text-decoration: none;
    text-align: center;
}

.btn-signup:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-1px);
}

/* RODAPÉ LOGIN */
.login-footer {
    margin-top: 20px;
    text-align: center;
}

.login-footer a {
    font-size: 12px;
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.login-footer a:hover {
    color: var(--secondary);
}

/* =========================
   CADASTRO PAGE - CENTRALRMA
   ========================= */

.cadastro-page {
    background: #f4f6f9;
}

/* CONTAINER PRINCIPAL */
.cadastro-container {
    display: flex;
    min-height: 100vh;
}

/* LADO ESQUERDO (BRANDING) */
.cadastro-left {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.cadastro-brand {
    text-align: left;
    max-width: 400px;
}

.cadastro-brand h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cadastro-brand span {
    color: var(--secondary);
}

.cadastro-brand p {
    margin-top: 10px;
    font-size: 15px;
    opacity: 0.8;
}

/* CORREÇÃO DA LOGO COMO LINK */
.cadastro-brand .logo {
    text-decoration: none;
    color: var(--primary);
}

.cadastro-brand .logo h1 {
    color: var(--primary);
}

.cadastro-brand .logo span {
    color: var(--secondary);
}

/* LADO DIREITO */
.cadastro-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* BOX CADASTRO */
.cadastro-box {
    width: 100%;
    max-width: 380px;
    background: var(--white);
    padding: 35px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

/* TÍTULO */
.cadastro-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary);
}

.cadastro-subtitle {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 25px;
}

/* BOTÃO CADASTRO PRINCIPAL (AÇÃO PRINCIPAL) */
.btn-register-primary {
    width: 100%;
    padding: 12px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.btn-register-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-1px);
}

/* SEÇÃO DE LOGIN (AÇÃO SECUNDÁRIA) */
.cadastro-signup {
    text-align: center;
    margin-top: 20px;
}

/* =========================
   COMPLETAR PERFIL PAGE - CENTRALRMA
   ========================= */

.profile-page {
    background: #f4f6f9;
}

/* CONTAINER PRINCIPAL */
.profile-container {
    display: flex;
    min-height: 100vh;
}

/* LADO ESQUERDO (BRANDING) */
.profile-left {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.profile-brand {
    text-align: left;
    max-width: 400px;
}

.profile-brand h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.profile-brand span {
    color: var(--secondary);
}

.profile-brand p {
    margin-top: 10px;
    font-size: 15px;
    opacity: 0.8;
}

/* CORREÇÃO DA LOGO COMO LINK */
.profile-brand .logo {
    text-decoration: none;
    color: var(--primary);
}

.profile-brand .logo h1 {
    color: var(--primary);
}

.profile-brand .logo span {
    color: var(--secondary);
}

/* LADO DIREITO */
.profile-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* BOX PERFIL */
.profile-box {
    width: 100%;
    max-width: 580px;
    background: var(--white);
    padding: 35px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

/* TÍTULO */
.profile-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary);
}

.profile-subtitle {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 25px;
}

/* BOTÃO PERFIL PRINCIPAL (AÇÃO PRINCIPAL) */
.btn-profile-primary {
    width: 100%;
    padding: 12px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    margin-top: 10px;
}

.btn-profile-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-1px);
}

/* LINK PULAR (OPCIONAL) */
.profile-skip {
    text-align: center;
    margin-top: 20px;
}

.skip-link {
    font-size: 13px;
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.skip-link:hover {
    color: var(--secondary);
}

/* RESPONSIVO PERFIL */
@media (max-width: 768px) {

    .profile-container {
        flex-direction: column;
    }

    /* REMOVE LADO ESQUERDO */
    .profile-left {
        display: none;
    }

    .profile-right {
        padding: 20px;
    }

    .profile-box {
        padding: 25px 20px;
        max-width: 100%;
    }

    .profile-title {
        font-size: 22px;
    }

    /* AJUSTE LINHAS DUPLAS NO MOBILE */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 18px;
    }

    .form-row .form-group:last-child {
        margin-bottom: 0;
    }
}

/* RESPONSIVO CADASTRO */
@media (max-width: 768px) {

    .cadastro-container {
        flex-direction: column;
    }

    /* REMOVE LADO ESQUERDO */
    .cadastro-left {
        display: none;
    }

    .cadastro-right {
        padding: 20px;
    }

    .cadastro-box {
        padding: 25px 20px;
    }

    .cadastro-title {
        font-size: 22px;
    }
}

/* RESPONSIVO LOGIN */
@media (max-width: 768px) {

    .login-container {
        flex-direction: column;
    }

    /* REMOVE LADO ESQUERDO */
    .login-left {
        display: none;
    }

    .login-right {
        padding: 20px;
    }

    .login-box {
        padding: 25px 20px;
    }

    .login-title {
        font-size: 22px;
    }
}