/* Estilos para Layout Dividido */
:root {
    --lg-primary-color: #1a3e8c;
    --lg-primary-dark: #0d2b66;
    --lg-secondary-color: #d4af37;
    --lg-light-color: #f8f9fa;
    --lg-dark-color: #212529;
    --lg-gray-color: #6c757d;
    --lg-border-radius: 6px;
    --lg-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --lg-transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Layout Dividido */
.split-layout {
    display: flex;
    min-height: calc(100vh - 120px);
}

.form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: white;
}

.form-container {
    width: 100%;
    max-width: 400px;
}

.content-section {
    flex: 1;
    /* BOO */
        /* background-image: url('/imagem/polihos-pldoismeiadoisoito.png'); */
    /*  */
    background-size: cover;
    background-position: center;
    position: relative;
    display: none;
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(45 55 72) 0%, rgb(45 55 72 / 86%) 100%);
    /* background: linear-gradient(135deg, rgb(45 55 72) 0%, rgb(45 55 72) 100%); */
}

.imagem-fundo-content-section-1{
    background-image: url('/imagem/polihos-misto.webp');
}
.imagem-fundo-content-section-2{
    background-image: url('/imagem/polihos-misto-sec.png');
}

.content-wrapper {
    position: relative;
    z-index: 2;
    padding: 3rem;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Cabeçalho do Formulário */
.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-logo {
    width: 80px;
    height: 80px;
    /* border-radius: 50%; */
    margin-bottom: 1rem;
    /* border: 3px solid var(--lg-light-color); */
}

.form-header h1 {
    font-size: 1.8rem;
    color: var(--lg-primary-color);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--lg-gray-color);
}

/* Campos do Formulário */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--lg-dark-color);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--lg-gray-color);
}

.input-wrapper input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 40px;
    border: 1px solid #ddd;
    border-radius: var(--lg-border-radius);
    font-size: 1rem;
    transition: var(--lg-transition);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--lg-primary-color);
    box-shadow: 0 0 0 3px rgba(26, 62, 140, 0.2);
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--lg-gray-color);
}

.eye-icon {
    width: 20px;
    height: 20px;
}

/* Opções do Formulário */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.remember-me input {
    opacity: 0;
    position: absolute;
}

.checkmark {
    width: 16px;
    height: 16px;
    border: 1px solid var(--lg-gray-color);
    border-radius: 3px;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.remember-me input:checked + .checkmark {
    background-color: var(--lg-primary-color);
    border-color: var(--lg-primary-color);
}

.remember-me input:checked + .checkmark:after {
    content: "";
    width: 10px;
    height: 10px;
    background: white;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.forgot-password {
    color: var(--lg-primary-color);
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Botão de Login */
.login-btn {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--lg-primary-color);
    color: white;
    border: none;
    border-radius: var(--lg-border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--lg-transition);
    margin-bottom: 1.5rem;
}

.login-btn:hover {
    background-color: var(--lg-primary-dark);
}

/* Divisor */
.divider {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--lg-gray-color);
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
    margin: 0 10px;
}

/* Login Social */
.social-login {
    margin-bottom: 1.5rem;
}

/* Link de Registro */
.register-link {
    text-align: center;
    font-size: 0.9rem;
    color: var(--lg-gray-color);
}

.register-link a {
    color: var(--lg-primary-color);
    text-decoration: none;
    font-weight: 500;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Conteúdo do Lado Direito */
.content-badge {
    background-color: var(--lg-secondary-color);
    color: var(--lg-dark-color);
    font-size: 0.8rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.content-description {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.features-list {
    list-style: none;
    margin-bottom: 3rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--lg-secondary-color);
    margin-right: 1rem;
    flex-shrink: 0;
}

.features-list h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--lg-secondary-color);
}

.features-list p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Seção da Comunidade */
.community-section {
    margin-top: auto;
}

.community-section h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    border-radius: var(--lg-border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--lg-transition);
}

.social-btn svg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.social-btn.discord {
    background-color: #5865F2;
    color: white;
}

.social-btn.reddit {
    background-color: #FF5700;
    color: white;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsividade */
@media (min-width: 992px) {
    .content-section {
        display: block;
    }
}

@media (max-width: 768px) {
    .form-section {
        padding: 1.5rem;
    }
}