:root {
    --bg-body: #f4f7f6;
    --primary-color: #6C2B85;
    --secondary-color: #4B1D5E;
    --accent-color: #FFB800;
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-light: #eaeaeb;
    --error-color: #d32f2f;
    --success-color: #4caf50;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}
    
body { 
    font-family: 'Segoe UI', system-ui, sans-serif; 
    background-color: var(--bg-body); 
    color: var(--text-dark); 
    line-height: 1.6; 
    overflow-x: hidden;
}

.recover-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.recover-container {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recover-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 30px;
    text-align: center;
    color: white;
}

.recover-header h1 {
    font-size: 2em;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.recover-header p {
    font-size: 0.95em;
    opacity: 0.9;
}

.recover-form {
    padding: 30px 40px 40px 40px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.85em;
    font-weight: 900;
    font-style: italic;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.95em;
    color: var(--text-dark);
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(108, 43, 133, 0.1);
}

.recover-button {
    width: 100%;
    background: linear-gradient(90deg, #9d3b94 0%, #6C2B85 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 900;
    font-style: italic;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(157, 59, 148, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.recover-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 59, 148, 0.4);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #666;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 600;
    transition: color 0.2s;
    margin-bottom: 15px;
    cursor: pointer;
}

.back-button:hover {
    color: var(--primary-color);
}

.info-message {
    background-color: #e3f2fd;
    border-left: 4px solid var(--primary-color);
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 0.85em;
    color: #1565c0;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

.modal-header {
    background: linear-gradient(135deg, var(--error-color), #b71c1c);
    padding: 20px;
    border-radius: 16px 16px 0 0;
    color: white;
}

.modal-header h3 {
    font-size: 1.5em;
    margin: 0;
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.modal-button {
    background: linear-gradient(90deg, #9d3b94 0%, #6C2B85 100%);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 0.95em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.modal-button:hover {
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .recover-wrapper {
        padding: 15px 10px;
    }
    
    .recover-container {
        width: 100%;
        border-radius: 16px;
    }
    
    .recover-header {
        padding: 20px 15px;
    }
    
    .recover-header h1 {
        font-size: 1.6em;
        margin-bottom: 5px;
    }
    
    .recover-header p {
        font-size: 0.85em;
    }
    
    .recover-form {
        padding: 20px;
    }
    
    .back-button {
        font-size: 0.85em;
        margin-bottom: 10px;
    }
    
    .info-message {
        padding: 10px;
        margin-bottom: 15px;
        font-size: 0.8em;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group input {
        padding: 10px 12px;
    }
    
    .recover-button {
        padding: 12px;
        font-size: 1em;
    }
}