
/* =========================================================
   FONDO
========================================================= */

body {
    background: linear-gradient(to right top, #ffbb00, #161c2d);
    margin: 0;
    font-family: Arial, sans-serif;
}

/* =========================================================
   ESTADO DE CARGA DEL BOTÓN
========================================================= */

.login100-form-btn {
    gap: 9px;
}

.login-button-spinner {
    display: none;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 2px solid rgba(26, 26, 26, .25);
    border-top-color: #1a1a1a;
    border-radius: 50%;
    animation: login-button-spin .7s linear infinite;
}

.login100-form-btn.is-loading .login-button-spinner {
    display: inline-block;
}

.login100-form-btn.is-loading {
    cursor: wait !important;
}

@keyframes login-button-spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   BOTÓN PRINCIPAL
========================================================= */

.login100-form-btn {
    position: relative;
    overflow: hidden;
    border: none !important;
    border-radius: 30px !important;
    font-weight: 500;
    letter-spacing: .5px;
    color: #1a1a1a !important;
    background: linear-gradient(135deg, #ffcc00, #ff9900) !important;
    transition: all .3s ease !important;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    outline: none !important;
}

/* Shine metálico */
.login100-form-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, .3),
        rgba(255, 255, 255, 0)
    ) !important;
    transform: skewX(-25deg);
    transition: all .7s ease !important;
}

.login100-form-btn:hover::before {
    left: 125%;
}

.login100-form-btn:hover {
    transform: scale(1.03) !important;
}

.login100-form-btn:active {
    transform: scale(.98) !important;
}

/* Deshabilitado */
.login100-form-btn:disabled {
    background: linear-gradient(135deg, #ffcc00, #ff9900) !important;
    color: #1a1a1a !important;
    cursor: not-allowed !important;
    opacity: .7 !important;
}

/* =========================================================
   ACCESO RESTRINGIDO POR UBICACIÓN
========================================================= */

.access-restricted {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 12px 4px 4px;
    color: #ffffff;
}

.access-restricted > * {
    position: relative;
    z-index: 1;
}

.access-restricted-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 193, 7, .55);
    border-radius: 50%;
    background: radial-gradient(
        circle at 35% 30%,
        rgba(255, 204, 0, .20),
        rgba(255, 153, 0, .08) 60%,
        rgba(255, 153, 0, .03)
    );
    color: #ffc107;
    font-size: 30px;
    box-shadow:
        0 0 0 7px rgba(255, 193, 7, .035),
        0 10px 34px rgba(0, 0, 0, .24),
        0 0 26px rgba(255, 193, 7, .10);
}

.access-restricted-title {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .28);
}

.access-restricted-text {
    max-width: 410px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .92);
    font-size: 15px;
    line-height: 1.65;
    font-weight: 400;
}

.access-restricted-notice {
    position: relative;
    overflow: hidden;
    margin: 22px 0 18px;
    padding: 15px 18px;
    border: 1px solid rgba(255, 215, 92, .28);
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, .14),
        rgba(255, 193, 7, .08)
    );
    color: rgba(255, 255, 255, .95);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .10),
        0 12px 32px rgba(0, 0, 0, .15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.access-restricted-notice::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(to bottom, #ffcc00, #ff9900);
    box-shadow: 0 0 12px rgba(255, 193, 7, .30);
}

.access-restricted-details {
    margin-top: 4px;
    padding: 15px 3px 0;
    border-top: 1px solid rgba(255, 255, 255, .20);
    text-align: left;
}

.access-restricted-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 34px;
    padding: 4px 0;
    font-size: 13px;
    line-height: 1.5;
}

.access-restricted-label {
    color: rgba(255, 255, 255, .72);
    font-weight: 400;
}

.access-restricted-value {
    color: #ffffff;
    font-weight: 700;
    text-align: right;
    word-break: break-word;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .22);
}

/* Botón para copiar la dirección IP */
.access-ip-value {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    min-width: 0;
}

.access-copy-ip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid rgba(255, 193, 7, .35);
    border-radius: 8px;
    background: rgba(255, 193, 7, .09);
    color: #ffcc00;
    cursor: pointer;
    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.access-copy-ip:hover {
    background: rgba(255, 193, 7, .20);
    border-color: rgba(255, 193, 7, .75);
    transform: translateY(-1px);
}

.access-copy-ip:focus-visible {
    outline: 2px solid #ffcc00;
    outline-offset: 3px;
}

.access-copy-ip.is-copied {
    color: #75e6a3;
    border-color: rgba(117, 230, 163, .55);
    background: rgba(117, 230, 163, .10);
}

.access-copy-ip i {
    font-size: 14px;
}

.access-restricted-support {
    max-width: 410px;
    margin: 18px auto 0;
    padding-top: 2px;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    line-height: 1.50;
}

/* =========================================================
   DISEÑO RESPONSIVE
========================================================= */

@media (max-width: 576px) {
    .access-restricted {
        padding: 8px 4px 4px;
    }

    .access-restricted-icon {
        width: 68px;
        height: 68px;
        margin-bottom: 18px;
        font-size: 29px;
    }

    .access-restricted-title {
        font-size: 24px;
    }

    .access-restricted-text {
        font-size: 15px;
    }

    .access-restricted-notice {
        padding: 17px 17px 17px 20px;
        font-size: 14px;
    }

    .access-restricted-row {
        gap: 12px;
        font-size: 13px;
    }

    .access-restricted-support {
        font-size: 13px;
    }
}

/* =========================================================
   LOGO RESPONSIVE
========================================================= */

.login-logo {
    display: block;
    max-width: 380px;
    width: 100%;
    height: auto;
    margin: 0 auto 40px;
}
