
/* Sistema de Notificações */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.notification {
    display: flex;
    align-items: center;
    min-width: 300px;
    max-width: 400px;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.notification.show {
    transform: translateX(0);
}

.notification i {
    margin-right: 12px;
    font-size: 20px;
}

.notification .notification-content {
    flex: 1;
}

.notification .notification-message {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.notification .close-notification {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.notification .close-notification:hover {
    color: #fff;
}

/* Tipos de notificações */
.notification.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-left: 4px solid #1e7e34;
}

.notification.error {
    background: linear-gradient(135deg, #dc3545 0%, #ff4444 100%);
    border-left: 4px solid #bd2130;
}

.notification.warning {
    background: linear-gradient(135deg, #ffc107 0%, #ffdb4d 100%);
    border-left: 4px solid #d39e00;
    color: #333;
}

.notification.info {
    background: linear-gradient(135deg, #17a2b8 0%, #36b9cc 100%);
    border-left: 4px solid #117a8b;
}

/* Animações */
@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Container do Loading */
#loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}


/* Estilo para o link esqueci minha senha */
.forgot-password {
    margin-top: 15px;
    text-align: center;
}

.forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-speed) ease;
}

.forgot-password a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Melhorias nos inputs */
.form-group input:hover {
    background-color: rgba(60, 60, 68, 0.5);
}

/* Animação de loading mais suave */
.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(97, 57, 177, 0.3);
    border-top-color: var(--primary-color);
}

/* Melhorar as notificações */
.notification {
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification.success {
    background-color: rgba(40, 167, 69, 0.95);
}

.notification.error {
    background-color: rgba(255, 68, 68, 0.95);
}


.email-confirmation-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(60, 60, 68, 0.95);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(97, 57, 177, 0.3);
    z-index: 1000;
    max-width: 450px;
    width: 90%;
    text-align: center;
    animation: slideIn 0.3s ease-out;
    border: 2px solid var(--primary-color);
}

.email-confirmation-alert h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.email-confirmation-alert p {
    margin: 12px 0;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
}

.email-confirmation-alert strong {
    color: var(--primary-color);
    font-weight: 500;
}

.email-confirmation-alert small {
    display: block;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Overlay com blur */
.email-confirmation-alert::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: -1;
}

/* Responsividade */
@media screen and (max-width: 480px) {
    .email-confirmation-alert {
        padding: 1.5rem;
        width: 95%;
    }

    .email-confirmation-alert h3 {
        font-size: 1.25rem;
    }

    .email-confirmation-alert p {
        font-size: 0.9rem;
    }
}




/* Variáveis globais */
:root {
    --primary-color: #6139B1;
    --primary-hover: #7332F5;
    --error-color: #ff4444;
    --success-color: #28a745;
    --text-color: #fff;
    --text-secondary: #929292;
    --background-dark: #3C3C44;
    --input-background: #3C3C44;
    --shadow-color: rgba(97, 57, 177, 0.2);
    --transition-speed: 0.3s;
}

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #000;
    color: var(--text-color);
    line-height: 1.6;
}

/* FORMULÁRIO */
section.formulario {
    padding: 80px 4%;
    margin-bottom: 200px;
    margin-top: 120px;
}

.interface {
    max-width: 1280px;
    margin: 0 auto;
}

.titulo {
    color: var(--text-color);
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.titulo span {
    color: var(--primary-color);
}

/* Estilos do formulário */
form {
    max-width: 500px;
    margin: 0 auto;
    background-color: rgba(60, 60, 68, 0.3);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-wrapper {
    position: relative;
}

/* Estilos dos inputs */
.form-group input {
    width: 100%;
    height: 60px;
    background-color: var(--input-background);
    border: 2px solid transparent;
    outline: none;
    padding: 0 15px 0 45px;
    border-radius: 8px;
    color: var(--text-color);
    font-size: 16px;
    transition: all var(--transition-speed) ease;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

/* Estados dos inputs */
.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--shadow-color);
}

.form-group input.error {
    border-color: var(--error-color);
    background-color: rgba(255, 68, 68, 0.05);
}

.form-group input.success {
    border-color: var(--success-color);
    background-color: rgba(40, 167, 69, 0.05);
}

/* Placeholder */
.form-group input::placeholder {
    color: var(--text-secondary);
}

/* Mensagens de erro */
.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

/* Botão de mostrar/ocultar senha */
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
}

/* Indicador de força da senha */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background-color: #ddd;
    border-radius: 2px;
    margin-top: 0.5rem;
}

.strength-bar div {
    height: 100%;
    border-radius: 2px;
    transition: width var(--transition-speed) ease;
}

.strength-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Checkbox dos termos */
.terms-privacy {
    margin-bottom: 1.5rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-container input {
    width: auto;
    height: auto;
    margin-right: 8px;
}

.checkbox-container a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

/* Botão de submit */
.btn-submit {
    width: 100%;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.btn-submit:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Loading spinner */
.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--text-color);
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Footer do formulário */
.form-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Sistema de notificações */
#notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.notification {
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    color: var(--text-color);
    animation: slideIn 0.3s ease;
}

.notification.success {
    background-color: var(--success-color);
}

.notification.error {
    background-color: var(--error-color);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsividade */
@media screen and (max-width: 768px) {
    section.formulario {
        padding: 40px 20px;
        margin-top: 60px;
        margin-bottom: 100px;
    }

    .titulo {
        font-size: 1.75rem;
    }

    form {
        padding: 1.5rem;
    }

    .form-group input {
        height: 50px;
        font-size: 15px;
    }

    .btn-submit {
        height: 50px;
    }
}

@media screen and (max-width: 480px) {
    section.formulario {
        padding: 30px 15px;
    }

    .titulo {
        font-size: 1.5rem;
    }

    form {
        padding: 1rem;
    }

    .form-group input {
        font-size: 14px;
    }

    .notification {
        margin-right: 10px;
        margin-left: 10px;
    }
}

/* Acessibilidade */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Foco visível para navegação por teclado */
:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Animações suaves */
@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}
