/* Forgot Password Page Styles */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.forgot-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 450px;
    width: 100%;
    margin: 20px auto;
}

.forgot-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.forgot-header h2 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.forgot-header h3 {
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.forgot-header p {
    margin-bottom: 0;
    opacity: 0.9;
}

.forgot-form {
    padding: 2rem;
}

.info-box {
    background-color: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #0066cc;
    font-size: 0.9rem;
}

.info-box i {
    margin-right: 0.5rem;
}

.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.input-group-text {
    background-color: #f8f9fa;
    border-color: #ced4da;
    color: #6c757d;
}

.form-control {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #667eea;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.security-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.security-info ul {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.security-info li {
    margin-bottom: 0.25rem;
}

.forgot-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.forgot-footer p {
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.forgot-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.forgot-footer a:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

.alert {
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* Input focus effects */
.input-group:focus-within .input-group-text {
    border-color: #667eea;
    background-color: #667eea;
    color: white;
}

/* Responsividade */
@media (max-width: 576px) {
    .container {
        padding: 1rem;
    }
    
    .forgot-header {
        padding: 1.5rem;
    }
    
    .forgot-form {
        padding: 1.5rem;
    }
    
    .forgot-header h2 {
        font-size: 1.5rem;
    }
    
    .forgot-header h3 {
        font-size: 1.25rem;
    }
}

/* Animações */
.forgot-container {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estados dos botões */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

/* Loading state */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: btn-loading-spin 1s ease infinite;
}

@keyframes btn-loading-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}