* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #f2f4f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recover-container {
    background: #ffffff;
    width: 400px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.recover-container h2 {
    margin: 0 0 10px 0;
    color: #333;
    text-align: center;
}

.recover-container p {
    font-size: 13px;
    color: #666;
    margin: 0 0 20px 0;
    text-align: center;
    line-height: 1.4;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-group input:focus {
    outline: none;
    border-color: #4a90e2;
}

.submit-button {
    width: 100%;
    padding: 12px;
    background: #4a90e2;
    color: white;
    font-size: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 8px;
}

.submit-button:hover {
    background: #3b7dc4;
}

.back-link {
    margin-top: 14px;
    text-align: center;
}

.back-link a {
    font-size: 13px;
    color: #4a90e2;
    text-decoration: none;
}

.back-link a:hover {
    text-decoration: underline;
}

.notice {
    margin-top: 14px;
    font-size: 12px;
    color: #999;
    text-align: center;
}

.mensajeAlerta {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
}

.modal-overlay,
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content,
.loading-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    width: 420px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.modal-icono {
    font-size: 46px;
}

.modal-subtext {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

.spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #4a90e2;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 14px;
}

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