/* ==========================================================
   Plataforma CanZion Regalías — Login (Default.aspx)
   ========================================================== */
.czl, .czl * { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: #f5f3ee; }
.czl {
    --ink: #171a21; --ink2: #3b4150; --muted: #737887; --line: #e7e4dd;
    --accent: #2346d8; --accent2: #1a37b0; --accentSoft: #e9edff; --mint: #13a37a;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    font-family: "Manrope", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ink);
}

/* ---- Panel de marca ---- */
.czl-brand {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 56px;
    color: #fff;
    background: linear-gradient(135deg, #1c3bc4 0%, #2346d8 40%, #2b6fe0 70%, #13a37a 125%);
}
.czl-brand::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.16) 1.2px, transparent 1.2px);
    background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
            mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.czl-brand > * { position: relative; z-index: 1; }
.czl-brand-top, .czl-mobile-brand { display: flex; align-items: center; gap: 12px; }
.czl-logo {
    width: 40px; height: 40px; border-radius: 12px; background: #fff;
    display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.czl-logo img { max-width: 28px; max-height: 28px; }
.czl-brand-name { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.czl-brand-name b { font-weight: 800; }
.czl-brand-copy { max-width: 460px; padding: 40px 0; }
.czl-brand-copy h1 {
    font-family: inherit; color: #fff; margin: 0 0 16px;
    font-size: 46px; line-height: 1.05; font-weight: 800; letter-spacing: -.035em;
}
.czl-brand-copy p { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.82); margin: 0 0 28px; }
.czl-points { list-style: none; margin: 0; padding: 0; }
.czl-points li {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 0; border-top: 1px solid rgba(255,255,255,.18);
    font-size: 15px; font-weight: 700;
}
.czl-points li span { font-size: 12px; font-weight: 800; color: rgba(255,255,255,.6); letter-spacing: .06em; }
.czl-brand-foot { font-size: 12.5px; color: rgba(255,255,255,.65); }

/* Ecualizador decorativo */
.czl-wave {
    position: absolute !important; z-index: 0 !important;
    right: 40px; bottom: 36px;
    display: flex; align-items: flex-end; gap: 6px; height: 120px; opacity: .28;
}
.czl-wave i { display: block; width: 6px; border-radius: 3px; background: #fff; height: 30%; animation: czl-eq 2.4s ease-in-out infinite; }
.czl-wave i:nth-child(3n) { animation-delay: -.6s; }
.czl-wave i:nth-child(3n+1) { animation-delay: -1.3s; }
.czl-wave i:nth-child(4n) { animation-duration: 3.1s; }
.czl-wave i:nth-child(5n+2) { animation-duration: 1.9s; }
@keyframes czl-eq { 0%,100% { height: 22%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .czl-wave i { animation: none; height: 60%; } }

/* ---- Formulario ---- */
.czl-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.czl-card { width: 100%; max-width: 400px; }
.czl-mobile-brand { display: none; margin-bottom: 28px; }
.czl-mobile-brand .czl-logo { background: var(--accentSoft); }
.czl-card h2 { font-family: inherit; font-size: 30px; font-weight: 800; letter-spacing: -.025em; margin: 0 0 6px; color: var(--ink); }
.czl-sub { font-size: 15px; color: var(--muted); margin: 0 0 28px; }
.czl-field { margin-bottom: 18px; }
.czl-field label { display: block; font-size: 13px; font-weight: 800; color: var(--ink2); margin: 0 0 7px; }
.czl-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.czl-label-row a { font-size: 13px; font-weight: 700; color: var(--accent); text-decoration: none; }
.czl-label-row a:hover { text-decoration: underline; }
.czl-field input {
    width: 100%; height: 48px;
    border: 1px solid var(--line); border-radius: 12px; background: #fff;
    padding: 0 14px; font-weight: 600; font-size: 15px; line-height: 1; font-family: inherit; color: var(--ink);
    transition: border-color .15s, box-shadow .15s;
}
.czl-field input::placeholder { color: #a9adb8; font-weight: 500; }
.czl-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accentSoft); }
.czl-pwd { position: relative; }
.czl-pwd input { padding-right: 48px; }
.czl-eye {
    position: absolute; right: 6px; top: 6px; width: 36px; height: 36px;
    border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.czl-eye:hover, .czl-eye.on { background: #f6f4ef; color: var(--ink); }
.czl-submit {
    width: 100%; height: 50px; margin-top: 8px;
    border: 0; border-radius: 12px; background: var(--accent); color: #fff;
    font-weight: 800; font-size: 15px; line-height: 1; font-family: inherit; cursor: pointer;
    transition: background .15s, transform .05s;
}
.czl-submit:hover { background: var(--accent2); }
.czl-submit:active { transform: translateY(1px); }
.czl-submit:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--accentSoft); }

@media (max-width: 991px) {
    .czl { grid-template-columns: minmax(0, 1fr); }
    .czl-brand { display: none; }
    .czl-mobile-brand { display: flex; }
    .czl-main { align-items: flex-start; padding-top: 64px; }
}
