.consulta-espera {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: #fff;
}
.consulta-giro {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255,255,255,.25);
    border-top-color: #3dd6ff;
    border-radius: 50%;
    animation: consulta-gira 0.8s linear infinite;
}
#consulta-texto { margin: 0; font-weight: 700; }
#consulta-intento { margin: 0; opacity: .85; }
.consulta-ayuda { color: #d2d0d0; margin: 12px 0 18px; }
.etiqueta-consulta { color: #fff; display: block; margin: 14px 0 6px 8px; font-weight: 600; }
.consulta-acciones { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
#consulta-cancelar { margin-top: 4px; }
.aviso-expirado {
    width: min(520px, 100%);
    margin: 0 auto 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f59e0b;
    color: #1c1403;
    font-weight: 700;
    text-align: center;
    line-height: 1.35;
}
.correo-completo { margin-top: 8px; color: #fff; }
.correo-completo summary {
    cursor: pointer;
    font-weight: 700;
    text-align: center;
    padding: 10px;
}
.consulta-progreso {
    width: min(420px, 92%);
    height: 16px;
    margin-top: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,.16);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}
#consulta-barra {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, #7c3aed, #2563eb, #06b6d4, #34d399);
    background-size: 220% 100%;
    box-shadow: 0 0 16px rgba(6, 182, 212, .55);
    transition: width .45s ease;
    animation: consulta-brillo 1.3s linear infinite;
}
@keyframes consulta-brillo {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}
.barra-copiar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 4px 0 16px;
}
.fila-codigo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.codigo-hace {
    margin: 0;
    color: #f2f2f2;
    font-size: 14px;
    font-weight: 700;
}
.btn-copiar-codigo {
    appearance: none;
    border: 0;
    cursor: pointer;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: .03em;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(100deg, #7c3aed 0%, #2563eb 48%, #06b6d4 100%);
    box-shadow: 0 10px 24px rgba(37, 99, 235, .38);
    transition: transform .15s ease, filter .15s ease;
}
.btn-copiar-codigo:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-copiar-codigo:active { transform: translateY(0); }
.btn-copiar-codigo.copiado {
    background: linear-gradient(100deg, #059669, #34d399);
    box-shadow: 0 10px 24px rgba(16, 185, 129, .4);
}
@keyframes consulta-gira { to { transform: rotate(360deg); } }

/* Recordar contraseña y correos recientes */
.recordar-clave { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 8px 0; color: #d2d0d0; font-size: .92rem; }
.recordar-clave label { display: flex; align-items: center; gap: 8px; cursor: pointer; margin: 0; }
.recordar-clave input { width: 18px; height: 18px; accent-color: #22c55e; cursor: pointer; }
.olvidar-clave { background: none; border: 0; color: #3dd6ff; text-decoration: underline; cursor: pointer; padding: 4px; font-size: .9rem; }
.correos-recientes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 4px 0; }
.recientes-titulo { color: #aeb4bd; font-size: .85rem; margin-right: 2px; }
.correo-reciente-chip { display: inline-flex; align-items: stretch; max-width: 100%; border: 1px solid rgba(61,214,255,.45); background: rgba(61,214,255,.12); border-radius: 999px; overflow: hidden; }
.correo-reciente { background: none; border: 0; color: #e6f9ff; padding: 5px 6px 5px 12px; font-size: .85rem; cursor: pointer; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quitar-reciente { background: none; border: 0; border-left: 1px solid rgba(61,214,255,.25); color: #9fdcf2; padding: 0 10px; font-size: 1.05rem; line-height: 1; cursor: pointer; }
.correo-reciente:hover, .correo-reciente:focus-visible { background: rgba(61,214,255,.22); }
.quitar-reciente:hover, .quitar-reciente:focus-visible { background: rgba(239,68,68,.35); color: #fff; }
