html, body {
    height: 100%;
}

/* Centrado real */
body.forgot-body {
    font-family: 'Inter', sans-serif;
    background: #f5f7f8;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
}

/* Wrapper igual que login */
.forgot-wrapper {
    width: 100%;
    max-width: 460px;
    padding: 20px;
}

/* Card */
.forgot-card {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.forgot-card .card-body {
    padding: 32px;
}

/* Logo */
.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}

/* Textos */
.title {
    font-weight: 700;
    font-size: 20px;
    color: #0f172a;
}

.subtitle {
    font-size: 14px;
    color: #64748b;
}

/* Input con icono */
.input-icon {
    position: relative;
}

.input-icon .icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.custom-input {
    height: 48px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 0 14px;
    transition: 0.2s;
}

.custom-input:focus {
    border-color: #0052cc;
    box-shadow: 0 0 0 2px rgba(0,82,204,0.15);
}

/* Botón */
.custom-btn {
    height: 48px;
    background: #0052cc;
    color: #f8fbff;
    font-weight: 600;
    border-radius: 8px;
}

.custom-btn:hover {
    background: #004bbd;
}

.custom-btn:hover,
.custom-btn:focus,
.custom-btn:active,
.custom-btn:focus-visible {
    color: #e1e1e2;
}

/* Error */
.error-box {
    background: #fee2e2;
    color: #991b1b;
    padding: 8px;
    border-radius: 6px;
    font-size: 13px;
}

/* Links */
.back-link {
    color: #0052cc;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.back-link:hover {
    color: #003d99;
    transform: scale(1.06);
    opacity: 0.9;
    text-decoration: none;
}

.register-link {
    color: #64748b;
    text-decoration: none;
}

.register-link:hover {
    color: #0052cc;
}