/**
 * Multimozo — panel compacto, alineado al login moderno (ATRAPE)
 * Iconos: Tabler Icons (mismo stack que header del sistema)
 */

.mm-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.mm-shell {
    min-height: 100vh;
}

.mm-gradient-bg {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(125deg, #d7e5f5 0%, #c9d9ec 42%, #efe7dd 100%);
    overflow: hidden;
}

.mm-gradient-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.55;
    background:
        radial-gradient(circle at 16% 16%, rgba(255, 255, 255, 0.65), transparent 44%),
        radial-gradient(circle at 76% 22%, rgba(191, 219, 254, 0.45), transparent 48%),
        radial-gradient(circle at 70% 80%, rgba(251, 191, 36, 0.10), transparent 52%);
    pointer-events: none;
}

.mm-gradient-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath fill='%238aa3bf' d='M10 8h6v44h-6zM28 8h6v20a6 6 0 0012 0V8h6v20c0 7.18-5.82 13-13 13S28 35.18 28 28V8z'/%3E%3C/svg%3E");
    background-size: 72px 72px;
    pointer-events: none;
}

.mm-gradient-inner {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 14px;
}

.mm-hero {
    width: min(1120px, 96vw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.mm-right {
    width: min(420px, 42vw);
}

.mm-side-message {
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    box-shadow: 0 18px 46px rgba(2, 6, 23, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 22px 24px;
}

.mm-side-message h3 {
    margin: 0 0 8px;
    font-size: 1.6rem;
    line-height: 1.2;
    color: #f8fafc;
    font-weight: 800;
}

.mm-side-message p {
    margin: 0 0 8px;
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.97rem;
}

.mm-side-quote {
    margin-top: 12px;
    padding-left: 12px;
    border-left: 3px solid #fbbf24;
    color: #fde68a;
    font-style: italic;
}

.mm-side-badge {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #c7f9cc;
}

.mm-card {
    width: 100%;
    max-width: 380px;
    background: #ffffff;
    border-radius: 28px;
    padding: 22px 22px 18px;
    box-shadow: 0 24px 60px rgba(3, 105, 161, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.mm-eyebrow {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 6px;
}

.mm-eyebrow-accent {
    color: #0ea5e9;
}

.mm-title {
    text-align: center;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}

.mm-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0 0 16px;
    font-weight: 500;
}

.mm-form {
    margin: 0;
}

.form-group-multimozo {
    margin-bottom: 0.65rem;
}

.multimozo-label {
    display: block;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
    font-size: 0.82rem;
}

.mm-input-icon-wrap {
    position: relative;
}

.mm-input-icon-wrap .mm-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.15rem;
    color: #0ea5e9;
    line-height: 1;
    pointer-events: none;
    z-index: 2;
}

.mm-input-icon-wrap .mm-input-pad {
    padding-left: 42px !important;
}

.multimozo-input,
.multimozo-input-code {
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.multimozo-input {
    padding: 10px 14px;
    min-height: 44px;
}

.multimozo-input:focus,
.multimozo-input-code:focus {
    outline: none;
    border-color: rgba(14, 165, 233, 0.55);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
    background: #fff;
}

.multimozo-input-code {
    padding: 10px 14px;
    min-height: 44px;
    text-align: left;
    letter-spacing: 0.12em;
    font-weight: 600;
    font-size: 1rem;
}

.multimozo-success-msg {
    color: #16a34a;
    font-size: 0.75rem;
}

.multimozo-error-msg {
    color: #dc2626;
    font-size: 0.75rem;
}

/* Teclado compacto */
.mm-keyboard {
    margin: 10px 0 12px;
}

.virtual-keyboard .multimozo-key-btn {
    width: 100%;
    padding: 9px 6px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg, #2dd4bf 0%, #14b8a6 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.35);
    margin-bottom: 0;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.virtual-keyboard .multimozo-key-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(20, 184, 166, 0.4);
    color: #fff;
}

.virtual-keyboard .multimozo-key-btn:active {
    transform: translateY(0);
}

.virtual-keyboard .multimozo-key-del {
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
    min-height: 40px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
    font-size: 0.88rem;
    font-weight: 700;
}

.virtual-keyboard .multimozo-key-del:hover {
    filter: brightness(1.05);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.45);
    color: #fff;
}

.form-check-multimozo {
    display: flex;
    align-items: center;
    margin: 0 0 10px;
}

.multimozo-checkbox {
    width: 17px;
    height: 17px;
    margin-right: 8px;
    accent-color: #0ea5e9;
}

.multimozo-checkbox-label {
    color: #64748b;
    font-size: 0.82rem;
    margin: 0;
    cursor: pointer;
}

.mm-social-label {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    margin: 4px 0 8px;
}

.mm-social-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

.mm-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
    transition: transform 0.15s, box-shadow 0.15s;
}

.mm-social-btn:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.25);
}

.mm-social-fb { background: #1877f2; }
.mm-social-tk { background: #000000; }
.mm-social-wa { background: #25d366; }

.mm-social-svg {
    display: block;
    flex-shrink: 0;
}

.btn-multimozo-submit {
    width: 100%;
    padding: 14px 22px;
    border: none !important;
    border-radius: 999px;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 38%, #0891b2 100%) !important;
    color: #ffffff !important;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    cursor: pointer;
    box-shadow:
        0 4px 14px rgba(13, 148, 136, 0.35),
        0 12px 32px rgba(8, 145, 178, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    margin-bottom: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-multimozo-submit:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 45%, #06b6d4 100%) !important;
    box-shadow:
        0 8px 22px rgba(13, 148, 136, 0.42),
        0 18px 40px rgba(8, 145, 178, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    color: #fff !important;
    filter: brightness(1.03);
}

.btn-multimozo-principal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 18px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155 !important;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    transition: background 0.15s, border-color 0.15s;
}

.btn-multimozo-principal:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #0f172a !important;
}

.mm-credits {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

@media (max-width: 360px) {
    .mm-card {
        padding: 18px 16px 16px;
        border-radius: 22px;
    }

    .virtual-keyboard .multimozo-key-btn {
        min-height: 38px;
        font-size: 0.95rem;
    }
}

@media (max-width: 991.98px) {
    .mm-right {
        display: none;
    }
}
