/**
 * Pantalla de acceso — modo plataforma privada (temporal).
 * Estilos aislados; no modifica bundles Metronic globales.
 */

.vh-private-gate {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background: #000;
    color: #f8fafc;
    text-align: center;
}

.vh-private-gate__logo {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0 0 0;
    text-transform: lowercase;
    color: #fff;
}

.vh-private-gate__slogan {
    margin: 0 0 2rem;
    max-width: 28rem;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
    color: #7a7a7a;
}

.vh-private-gate__enter {
    min-width: 10rem;
    padding: 0.75rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.vh-private-gate__enter:hover,
.vh-private-gate__enter:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

#vhPrivateGateModal,
#vhPrivateGateModal .modal-dialog,
.modal-backdrop {
    transition: none !important;
    animation: none !important;
}

/* Centrado fiable en movil (Bootstrap padding-right + transform rompen alineacion) */
body.modal-open {
    padding-right: 0 !important;
}

#vhPrivateGateModal.modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

#vhPrivateGateModal .modal-dialog {
    width: 100%;
    max-width: 18.5rem;
    margin: 0 auto !important;
    min-height: auto !important;
    transform: none !important;
    flex: 0 0 auto;
}

#vhPrivateGateModal .modal-content {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    color: #fff;
}

#vhPrivateGateModal .modal-header {
    padding: 1rem 1.25rem 0.375rem;
    border-bottom: none;
}

#vhPrivateGateModal .modal-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #fff !important;
}

#vhPrivateGateModal .modal-body {
    padding: 0.375rem 1.25rem 0.625rem;
}

#vhPrivateGateModal .modal-footer {
    padding: 0.5rem 1.25rem 1rem;
    border-top: none;
    gap: 0.5rem;
}

#vhPrivateGateModal .form-control {
    padding: 0.4rem 0.625rem;
    font-size: 0.8125rem;
    background: #000;
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

#vhPrivateGateModal .form-control::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

#vhPrivateGateModal .form-control:focus {
    background: #000;
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
    box-shadow: none;
}

#vhPrivateGateModal .btn-close {
    width: 0.75rem;
    height: 0.75rem;
    padding: 0.25rem;
    margin: -0.25rem -0.25rem -0.25rem auto;
    filter: invert(1) grayscale(1);
    opacity: 0.55;
}

#vhPrivateGateModal .btn-close:hover {
    opacity: 0.85;
}

#vhPrivateGateModal .btn {
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.25;
    border-radius: 0.375rem;
}

#vhPrivateGateModal .btn-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

#vhPrivateGateModal .btn-light:hover,
#vhPrivateGateModal .btn-light:focus {
    background: #fff;
    border-color: #fff;
    color: #000 !important;
}

#vhPrivateGateModal .btn-primary {
    background: #fff !important;
    border-color: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
}

#vhPrivateGateModal .btn-primary:hover,
#vhPrivateGateModal .btn-primary:focus {
    background: #e8e8e8 !important;
    border-color: #e8e8e8 !important;
    color: #000 !important;
}

#vhPrivateGateModal .link-primary {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5) !important;
}

#vhPrivateGateModal .link-primary:hover,
#vhPrivateGateModal .link-primary:focus {
    color: #fff;
}
