* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #0B1120;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Video Background */
.recovery-video-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.recovery-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; /* Overlay eliminado a petición del usuario */
    z-index: 1;
}

/* Container & Card */
.recovery-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.recovery-card {
    background: transparent;
    border: none;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: none;
    color: #fff;
}

/* Titles */
.recovery-title {
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0px 0px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.recovery-subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9);
}

/* Form Elements */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.3s, background-color 0.3s;
}

.input-wrapper:focus-within {
    border-color: #0088ff;
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.3);
}

.icon-left {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-wrapper input {
    flex-grow: 1;
    background: transparent;
    border: none;
    padding: 12px 15px 12px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    outline: none;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.input-wrapper input::placeholder {
    color: #888;
}

/* Button */
.submit-btn {
    width: 100%;
    background-color: #0088ff;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background-color: #0066cc;
}

.submit-btn:active {
    transform: translateY(1px);
}

/* Links */
.footer-links {
    margin-top: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 0.85rem;
}

.link-blue {
    color: #3399ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.link-blue:hover {
    color: #66b2ff;
    text-decoration: underline;
}

.register-text {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
}

/* Spinner Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .recovery-container {
        padding: 40px; /* More outer padding to squeeze the card */
    }
    
    .recovery-card {
        padding: 20px 15px; /* Less inner padding so it wraps tight */
        background: rgba(0, 0, 0, 0.6);
        border-radius: 12px;
    }
    
    .recovery-title {
        font-size: 0.95rem;
    }
    
    .recovery-subtitle {
        font-size: 0.65rem;
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 0.6rem;
        margin-bottom: 5px;
    }
    
    .input-wrapper input {
        font-size: 0.75rem;
        padding: 8px 10px 8px 0;
    }
    
    .icon-left {
        padding: 8px 10px;
    }
    .icon-left svg {
        width: 16px;
        height: 16px;
    }
    
    .submit-btn {
        font-size: 0.65rem;
        padding: 10px;
    }
    
    .footer-links {
        font-size: 0.65rem;
        margin-top: 15px;
    }
}

/* HIDE GOOGLE TRANSLATE BANNER */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
.goog-te-banner,
#goog-gt-tt,
.goog-te-balloon-frame,
iframe.goog-te-banner-frame,
iframe[id*="translate"],
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}
body {
    top: 0 !important;
    position: static !important;
}
html {
    margin-top: 0 !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}
