﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: url('/Img/fondo2.jpeg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
}

.recovery-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.recovery-card {
    width: 100%;
    max-width: 540px;
    padding: 30px 36px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.20);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
}

.logo-top {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 14px;
}

.logo-siga-recuperar {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.20));
}

.titulo-recuperar {
    text-align: center;
    font-family: "Times New Roman", Times, serif;
    font-size: 2.1rem;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

.subtitulo-recuperar {
    text-align: center;
    color: rgba(255, 255, 255, 0.88);
    font-family: "Times New Roman", Times, serif;
    font-size: 1rem;
    margin-bottom: 22px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

#recoveryForm,
#recoveryForm * {
    font-family: "Times New Roman", Times, serif !important;
}

.input-container,
.password-container {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 14px 45px 14px 14px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font-size: 16px;
}

    .form-control::placeholder {
        color: rgba(255, 255, 255, 0.82) !important;
    }

    .form-control:focus {
        border: 1px solid rgba(23, 201, 232, 0.75) !important;
        box-shadow: 0 0 0 0.18rem rgba(23, 201, 232, 0.20) !important;
        background: rgba(255, 255, 255, 0.27) !important;
        color: #ffffff !important;
    }

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #ffffff;
    opacity: 0.88;
}

.btn-recuperar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    font-family: "Times New Roman", Times, serif !important;
}

.btn-principal {
    min-width: 220px;
    padding: 12px 28px;
    background-color: #17c9e8;
    color: #000;
    border: 1px solid #17c9e8;
    font-size: 1.08rem;
}

    .btn-principal:hover {
        background-color: #0bb8d4;
        border-color: #0bb8d4;
        transform: translateY(-1px);
    }

.btn-secundario {
    min-width: 170px;
    padding: 9px 22px;
    background: rgba(255, 255, 255, 0.20);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 1rem;
}

    .btn-secundario:hover {
        background: rgba(255, 255, 255, 0.30);
        transform: translateY(-1px);
    }

.info-text {
    margin-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.88);
    font-family: "Times New Roman", Times, serif;
    font-size: 0.92rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

.volver-login {
    margin-top: 14px;
    text-align: center;
    font-family: "Times New Roman", Times, serif;
}

    .volver-login a {
        color: #ffffff;
        text-decoration: underline;
        text-shadow: 0 1px 3px rgba(0,0,0,0.35);
    }

        .volver-login a:hover {
            color: #dff8ff;
        }

@media (max-width: 576px) {
    .recovery-card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .logo-siga-recuperar {
        max-width: 300px;
    }

    .titulo-recuperar {
        font-size: 1.8rem;
    }

    .btn-principal,
    .btn-secundario {
        width: 100%;
    }
}
