/* Estilos diretos para garantir a formatação correta */
.auth-container {
    display: flex;
    justify-content: center;
    background-color: #0f0f0f;
    padding: 4rem 1rem 2rem;
}

/* Two-column signup portal layout */
.signup-portal {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.welcome-pane {
    width: 45%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.welcome-content {
    max-width: 500px;
    text-align: center;
    color: #fff;
}

.welcome-logo {
    margin-bottom: 40px;
}

.welcome-logo img {
    max-width: 200px;
    height: auto;
}

.welcome-quote {
    font-size: 18px;
    line-height: 1.6;
    font-style: italic;
    color: #e0e0e0;
    margin-bottom: 40px;
    border-left: 3px solid #feaf50;
    padding-left: 20px;
    text-align: left;
}

.testimonial {
    margin-top: 30px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.5;
    color: #ccc;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    font-size: 14px;
    color: #feaf50;
    font-weight: 600;
}

.form-pane {
    width: 55%;
    background-color: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.form-content {
    width: 100%;
    max-width: 500px;
}

.auth-subtitle {
    color: #ccc;
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
}

.auth-form {
    background-color: #1a1a1a;
    border-radius: 4px;
    padding: 30px;
    width: 580px;
    max-width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Override form styling for signup portal */
.signup-portal .auth-form {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    width: 100%;
    max-width: none;
}

/* Multi-step signup styling */
.signup-step {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.signup-step .auth-title {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.signup-step .auth-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    color: #ccc;
}

/* Enhanced field styling for cleaner look */
.signup-step .auth-field {
    margin-bottom: 25px;
}

.signup-step .auth-field label {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
}

.signup-step .auth-field input {
    font-size: 16px;
    padding: 15px 20px;
    border-radius: 6px;
    border: 2px solid #333;
    transition: all 0.3s ease;
}

.signup-step .auth-field input:focus {
    border-color: #feaf50;
    box-shadow: 0 0 0 3px rgba(254, 175, 80, 0.1);
}

/* Enhanced button styling */
.signup-step .auth-button {
    font-size: 18px;
    padding: 16px 32px;
    margin-bottom: 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.signup-step .auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(254, 175, 80, 0.3);
}

/* Clean signup links styling */
.signup-step .auth-signup {
    font-size: 16px;
    text-align: center;
}

.signup-step .auth-signup a {
    font-weight: 500;
    transition: color 0.2s ease;
}

/* Step 1 specific styling - larger, more focused */
#step-1 .auth-field {
    margin-bottom: 35px;
}

#step-1 .auth-field input {
    font-size: 18px;
    padding: 18px 24px;
    text-align: center;
}

#step-1 .auth-button {
    font-size: 20px;
    padding: 18px 40px;
}

/* Step 2 specific styling - compact but clean */
#step-2 .auth-field {
    margin-bottom: 20px;
}

#step-2 .auth-field input {
    font-size: 15px;
    padding: 12px 18px;
}

/* Back link styling */
.back-link {
    color: #feaf50 !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-link:hover {
    color: #e09d45 !important;
    text-decoration: underline;
}

/* Error state improvements */
.auth-field input.error {
    border-color: #f44336 !important;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.validation-error {
    color: #f44336;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

/* Smooth transitions */
.signup-step {
    transition: opacity 0.3s ease-in-out;
}

/* Login portal layout */
.login-portal {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.welcome-back-pane {
    width: 45%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-form-pane {
    width: 55%;
    background-color: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* Override form styling for login portal */
.login-portal .auth-form {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    width: 100%;
    max-width: none;
}

/* Enhanced login form styling */
.login-portal .auth-title {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

.login-portal .auth-field {
    margin-bottom: 25px;
}

.login-portal .auth-field label {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
}

.login-portal .auth-field input {
    font-size: 16px;
    padding: 15px 20px;
    border-radius: 6px;
    border: 2px solid #333;
    transition: all 0.3s ease;
}

.login-portal .auth-field input:focus {
    border-color: #feaf50;
    box-shadow: 0 0 0 3px rgba(254, 175, 80, 0.1);
}

.login-portal .auth-button {
    font-size: 18px;
    padding: 16px 32px;
    margin-bottom: 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.login-portal .auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(254, 175, 80, 0.3);
}

.login-portal .auth-signup {
    font-size: 16px;
    text-align: center;
    margin-top: 20px;
}

.login-portal .auth-signup a {
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-title {
    color: #fff;
    font-size: 16px;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.5;
}

.auth-message {
    background-color: rgba(254, 175, 80, 0.1);
    border-left: 3px solid #feaf50;
    color: #feaf50;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 14px;
    border-radius: 2px;
}

.auth-field {
    margin-bottom: 20px;
}

.auth-field label {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 8px;
}

.auth-field input {
    width: 100%;
    background-color: #222;
    border: 1px solid #333;
    color: #fff;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
}

.auth-field input:focus {
    border-color: #feaf50;
    outline: none;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.auth-remember {
    display: flex;
    align-items: center;
    color: #fff;
}

.auth-remember input {
    margin-right: 8px;
}

.auth-forgot {
    color: #feaf50;
    text-decoration: none;
}

.auth-button {
    width: 100%;
    background-color: #feaf50;
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.2s;
}

.auth-button:hover {
    background-color: #e09d45;
}

.auth-signup {
    text-align: center;
    color: #fff;
    font-size: 14px;
}

.auth-signup a {
    color: #feaf50;
    text-decoration: none;
}

.auth-error {
    color: #f44336;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Estilos complementares para a página de confirmação de envio de senha */
.notification-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    background-color: #0f0f0f;
}

.notification-card {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.notification-title {
    color: #fff;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 600;
}

.notification-icon {
    font-size: 80px;
    color: #feaf50;
    margin-bottom: 30px;
    display: inline-block;
}

.notification-content {
    margin-bottom: 30px;
}

.notification-subtitle {
    color: #feaf50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.notification-message {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.notification-complement {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 25px;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #303030;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

.back-button:hover {
    background-color: #404040;
    transform: translateY(-2px);
}

/* Link colorido */
.notification-content a {
    color: #feaf50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.notification-content a:hover {
    color: #e09d45;
    text-decoration: underline;
}

/* Estilos complementares para a página de redefinição de senha */
.password-reset-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    background-color: #0f0f0f;
}

.password-reset-card {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.password-reset-title {
    color: #fff;
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.password-reset-description {
    color: #ccc;
    font-size: 15px;
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.5;
}

.input-field {
    margin-bottom: 20px;
}

.input-field label {
    display: block;
    color: #fff;
    font-size: 15px;
    margin-bottom: 8px;
}

.input-field input {
    width: 100%;
    background-color: #252525;
    border: 1px solid #333;
    color: #fff;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 15px;
}

.input-field input:focus {
    border-color: #feaf50;
    outline: none;
}

.password-requirements {
    background-color: #252525;
    border-radius: 4px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #aaa;
}

.requirement {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.requirement i {
    margin-right: 8px;
    font-size: 14px;
}

.requirement.valid {
    color: #4CAF50;
}

.requirement.invalid {
    color: #aaa;
}

.password-reset-button {
    width: 100%;
    background-color: #feaf50;
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.password-reset-button:hover {
    background-color: #e09d45;
    transform: translateY(-2px);
}

.password-reset-button:disabled {
    background-color: #666;
    cursor: not-allowed;
    transform: none;
}

.error-message {
    background-color: rgba(244, 67, 54, 0.1);
    border-left: 3px solid #f44336;
    color: #f44336;
    padding: 12px 15px;
    margin: 20px 0;
    font-size: 14px;
    border-radius: 2px;
}

.warning-message {
    background-color: rgba(254, 175, 80, 0.1);
    border-left: 3px solid #feaf50;
    color: #feaf50;
    padding: 12px 15px;
    margin: 20px 0;
    font-size: 14px;
    border-radius: 2px;
}

/* Estilos para o captcha */
.captcha-field {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.g-recaptcha {
    transform-origin: left top;
    margin-bottom: 10px;
}

.field-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.auth-field input.error {
    border-color: #dc3545;
}

/* Estilos específicos para o formulário de signup */
.signup-form #id_username {
    display: none;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    /* Responsive signup portal - stack vertically */
    .signup-portal {
        flex-direction: column;
    }
    
    .welcome-pane {
        width: 100%;
        order: 2;
        min-height: auto;
        padding: 30px 20px;
    }
    
    .form-pane {
        width: 100%;
        order: 1;
        padding: 30px 20px;
    }
    
    .welcome-content {
        max-width: none;
    }
    
    .welcome-logo {
        margin-bottom: 20px;
    }
    
    .welcome-logo img {
        max-width: 150px;
    }
    
    .welcome-quote {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
}

@media screen and (max-width: 576px) {
    /* Ajuste responsivo para as opções de autenticação */
    .auth-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .auth-remember {
        width: 100%;
    }

    .auth-forgot {
        width: 100%;
        text-align: left;
    }

    /* Ajuste responsivo para o captcha */
    .g-recaptcha {
        transform: scale(0.85);
        margin-bottom: 0;
    }

    .captcha-field {
        margin: 1.5rem 0;
    }
    
    .captcha-field > div {
        transform: scale(0.9);
        transform-origin: center;
    }
    
    /* Additional mobile adjustments for signup portal */
    .signup-portal {
        min-height: auto;
    }
    
    .welcome-pane, .form-pane {
        padding: 20px 15px;
    }
    
    .welcome-quote {
        font-size: 14px;
        padding-left: 15px;
    }
    
    .form-content {
        max-width: none;
    }
    
    /* Multi-step form mobile adjustments */
    .signup-step {
        min-height: 300px;
    }
    
    .signup-step .auth-title {
        font-size: 24px;
    }
    
    .signup-step .auth-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    #step-1 .auth-field input {
        font-size: 16px;
        padding: 15px 20px;
    }
    
    #step-1 .auth-button {
        font-size: 18px;
        padding: 16px 32px;
    }
    
    #step-2 .auth-field input {
        font-size: 14px;
        padding: 12px 16px;
    }
    
    /* Login portal mobile adjustments */
    .login-portal {
        flex-direction: column;
    }
    
    .welcome-back-pane {
        width: 100%;
        order: 2;
        min-height: auto;
        padding: 30px 20px;
    }
    
    .login-form-pane {
        width: 100%;
        order: 1;
        padding: 30px 20px;
    }
    
    .login-portal .auth-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .login-portal .auth-field input {
        font-size: 15px;
        padding: 12px 18px;
    }
    
    .login-portal .auth-button {
        font-size: 16px;
        padding: 14px 28px;
    }
}