body {
    background: linear-gradient(135deg, var(--primary) 0%, #004a8f 100%);
    color: var(--light);
    min-height: 100vh;
    padding-bottom: 60px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230066b3"/><path d="M0 50 L100 50 M50 0 L50 100" stroke="%23004a8f" stroke-width="2" stroke-dasharray="5,5"/></svg>');
}

#geral {
    max-width: 100%;
    overflow-x: hidden;
}

/* SEÇÃO DE LOGIN */
#login {
    background-color: rgba(255, 255, 255, 0.95);
    margin: 20px 15px;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: var(--dark);
    position: relative;
    overflow: hidden;
    border: 3px solid var(--secondary);
}

#login::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--accent), var(--secondary));
}

#login h2 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--field-green);
    padding-bottom: 10px;
}

#msg {
    display: block;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.botao {
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.botao:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.botao:active {
    transform: translateY(0);
}

#cadastro {
    margin-top: 25px;
    text-align: center;
    padding-top: 15px;
    border-top: 1px dashed #ccc;
}

#cadastro span {
    display: block;
    margin-bottom: 15px;
    color: #666;
}

#cadastro a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin: 10px 0;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s;
}

#cadastro a:hover {
    background-color: rgba(0, 102, 179, 0.1);
}

/* ELEMENTOS ESPORTIVOS */
.soccer-field {
    position: relative;
    height: 120px;
    background-color: var(--field-green);
    border-radius: 10px;
    margin: 20px 0;
    overflow: hidden;
    border: 3px solid white;
}

.soccer-field::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, white 5%, transparent 5%, transparent 95%, white 95%),
        linear-gradient(to bottom, white 5%, transparent 5%, transparent 95%, white 95%),
        radial-gradient(circle at 50% 50%, transparent 0%, transparent 10%, white 10%, white 11%, transparent 11%);
    background-size: 100% 100%, 100% 100%, 100% 100%;
    opacity: 0.3;
}

.soccer-ball {
    position: absolute;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: 
        radial-gradient(circle at 30% 30%, #333 0%, #333 10%, transparent 10%),
        radial-gradient(circle at 70% 30%, #333 0%, #333 10%, transparent 10%),
        radial-gradient(circle at 50% 70%, #333 0%, #333 10%, transparent 10%),
        linear-gradient(45deg, transparent 45%, #333 45%, #333 55%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, #333 45%, #333 55%, transparent 55%);
    animation: bounce 2s infinite alternate;
}

@keyframes bounce {
    0% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-50%, -60%) scale(1.1); }
}

/* RESPONSIVIDADE */
@media (max-width: 480px) {
    .row {
        flex-direction: column;
    }
    
    #perfil {
        margin-top: 10px;
    }
    
    .titulo-cabecalho:first-child {
        font-size: 1rem;
    }
    
    .titulo-cabecalho:last-child {
        font-size: 1.5rem;
    }
    
    #login {
        margin: 15px 10px;
        padding: 15px;
    }
}

/* ANIMAÇÕES */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Estilo para o link "Esqueci minha senha" */
.esqueci-senha {
    text-align: right;
    margin: 10px 0;
}

.esqueci-senha a {
    color: #667eea;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.esqueci-senha a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Modal Esqueci Senha */
.modal-esqueci-senha {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    animation: fadeIn 0.3s ease;
}

.modal-esqueci-senha-content {
    background-color: #fff;
    margin: 10% auto;
    width: 90%;
    max-width: 450px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
}

.modal-esqueci-senha-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-esqueci-senha-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-esqueci-senha-header h2 i {
    margin-right: 10px;
}

.modal-esqueci-senha-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.modal-esqueci-senha-close:hover {
    transform: scale(1.1);
}

.modal-esqueci-senha-body {
    padding: 25px;
}

.modal-esqueci-senha-body p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-group-modal {
    margin-bottom: 20px;
}

.form-group-modal label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.form-group-modal label i {
    margin-right: 8px;
    color: #667eea;
}

.form-group-modal input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group-modal input:focus {
    outline: none;
    border-color: #667eea;
}

.email-status {
    margin-top: 8px;
    font-size: 12px;
}

.email-status.success {
    color: #4CAF50;
}

.email-status.error {
    color: #f44336;
}

.email-status.verifying {
    color: #ff9800;
}

.email-status.sending {
    color: #2196F3;
}

.email-status i {
    margin-right: 5px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-cancelar, .btn-redefinir, .btn-fechar-sucesso {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancelar {
    background-color: #e0e0e0;
    color: #666;
}

.btn-cancelar:hover {
    background-color: #d0d0d0;
}

.btn-redefinir {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-redefinir:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-redefinir:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-fechar-sucesso {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-top: 15px;
}

.btn-fechar-sucesso:hover {
    transform: translateY(-2px);
}

.sucesso-redefinicao {
    text-align: center;
    padding: 20px;
}

.sucesso-redefinicao h3 {
    color: #4CAF50;
    margin-bottom: 15px;
}

.sucesso-redefinicao p {
    margin-bottom: 10px;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .modal-esqueci-senha-content {
        margin: 20% auto;
        width: 95%;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
}