#anl-overlay, #anl-overlay *, #anl-overlay *::before, #anl-overlay *::after {
box-sizing: border-box;
}
#anl-overlay {
position: fixed;
inset: 0;
z-index: 99999;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
background: rgba(0, 0, 0, 0.55);
opacity: 1;
transition: opacity 0.25s ease;
}
#anl-overlay.anl-oculto {
opacity: 0;
pointer-events: none;
visibility: hidden;
}
.anl-card {
position: relative;
width: 100%;
max-width: 420px;
background: #fff;
border-radius: 12px;
padding: 34px 28px 26px;
text-align: center;
font-family: inherit;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
transform: translateY(0);
transition: transform 0.25s ease;
}
#anl-overlay.anl-oculto .anl-card {
transform: translateY(12px);
}
.anl-cerrar {
position: absolute;
top: 10px;
right: 14px;
border: 0;
background: none;
font-size: 26px;
line-height: 1;
color: #999;
cursor: pointer;
padding: 4px;
}
.anl-cerrar:hover { color: #000; }
.anl-card h2 {
font-size: 24px;
font-weight: 600;
margin: 0 0 8px;
color: #111;
}
.anl-sub {
font-size: 15px;
color: #555;
margin: 0 0 20px;
}
#anl-form {
display: flex;
flex-direction: column;
gap: 10px;
}
#anl-email {
width: 100%;
padding: 12px 14px;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 15px;
text-align: center;
}
#anl-email:focus {
outline: none;
border-color: #111;
}
.anl-hp {
position: absolute !important;
left: -9999px !important;
height: 0;
width: 0;
overflow: hidden;
}
.anl-boton {
width: 100%;
padding: 13px;
border: 0;
border-radius: 8px;
background: #111;
color: #fff;
font-size: 15px;
font-weight: 600;
letter-spacing: 0.03em;
cursor: pointer;
transition: background 0.15s ease;
}
.anl-boton:hover { background: #333; }
.anl-boton[disabled] { background: #999; cursor: wait; }
.anl-error {
color: #c0392b;
font-size: 13px;
min-height: 18px;
margin: 8px 0 0;
}
.anl-pie {
margin: 16px 0 0;
font-size: 13px;
color: #777;
}
.anl-cupon {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin: 6px 0 4px;
}
.anl-codigo {
font-size: 22px;
font-weight: 700;
letter-spacing: 0.12em;
padding: 10px 18px;
border: 2px dashed #111;
border-radius: 8px;
color: #111;
user-select: all;
}
.anl-copiar {
border: 0;
background: #111;
color: #fff;
border-radius: 8px;
padding: 10px 14px;
font-size: 13px;
cursor: pointer;
}
.anl-copiar:hover { background: #333; }
.anl-oculto { }
.anl-paso-ok.anl-oculto,
.anl-paso-form.anl-oculto { display: none; }
@media (max-width: 480px) {
.anl-card { padding: 28px 20px 22px; }
.anl-card h2 { font-size: 21px; }
}