/* === CSS para recuperar-password.php === */
* { margin: 0; padding: 0; box-sizing: border-box; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.reset-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.06);
    overflow: hidden;
    max-width: 420px;
    width: 100%;
    animation: slideIn 0.4s ease;
}

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

.reset-header {
    padding: 40px 30px 30px 30px;
    text-align: center;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.logo-sivia {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.reset-header h1 {
    font-size: 24px;
    color: #111827;
    margin-bottom: 8px;
    font-weight: 600;
}

.reset-header p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.reset-body {
    padding: 30px;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.codigo-input {
    text-align: center;
    font-size: 24px;
    letter-spacing: 8px;
    font-weight: 600;
}

.btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

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

.btn-secondary {
    background: none;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #f9fafb;
    box-shadow: none;
}

.reset-footer {
    text-align: center;
    padding: 20px;
    background: #f9fafb;
    font-size: 13px;
    color: #6b7280;
    border-top: 1px solid #e5e7eb;
}

.reset-footer a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.reset-footer a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.help-text {
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
}

.success-box {
    text-align: center;
    padding: 30px 20px;
}

.success-icon {
    font-size: 60px;
    margin-bottom: 16px;
}

.success-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.success-text {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
}

@media (max-width: 480px) {
    .reset-container {
        border-radius: 0;
    }
    
    .logo-sivia {
        font-size: 42px;
    }
    
    .reset-header h1 {
        font-size: 22px;
    }
    
    .reset-body {
        padding: 24px 20px;
    }
}
