/* /css/modal-identify.css
   Modal Identificar (NickServ/Anope)
   Compatible con tus modales actuales
*/

/* Fondo del modal */
#identifyModal.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(0px);
    z-index: 999;

    align-items: center;
    justify-content: center;
    padding: 18px;

    opacity: 0;
    transition: opacity .35s ease, backdrop-filter .35s ease;
}

#identifyModal.modal.open {
    display: flex;
    opacity: 1;
    backdrop-filter: blur(6px);
}

/* Caja */
#identifyModal .modal-content {
    max-width: 560px;
    margin: 6vh auto 0 auto;
    padding: 22px 20px;
    border-radius: 18px;

    /* “vidrio” oscuro */
    background: linear-gradient(180deg,
            rgba(16, 20, 38, 0.88) 0%,
            rgba(0, 0, 0, 0.70) 100%);
    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.10);
}

/* Botón cerrar */
#identifyModal .close-identify {
    float: right;
    font-size: 28px;
    line-height: 28px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.65);
    transition: transform .15s ease, color .15s ease;
    user-select: none;
}

#identifyModal .close-identify:hover {
    color: #fff;
    transform: scale(1.08);
}

/* Títulos */
#identifyModal h2 {
    margin: 6px 0 6px 0;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: .5px;

    /* gradiente tipo Indecentes */
    background: linear-gradient(90deg, #facc15, #fb923c, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#identifyModal .modal-sub {
    margin: 0 0 14px 0;
    color: rgba(255, 255, 255, 0.78);
}

/* Labels e inputs */
#identifyModal label {
    display: block;
    margin: 10px 0 6px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
}

#identifyModal input[type="text"],
#identifyModal input[type="password"] {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

#identifyModal input[type="text"]:focus,
#identifyModal input[type="password"]:focus {
    border-color: rgba(255, 46, 166, 0.65);
    box-shadow: 0 0 0 4px rgba(255, 46, 166, 0.18);
}

/* Checkbox “mostrar pass” */
#identifyModal .show-pass {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
}

#identifyModal .show-pass input {
    width: 18px;
    height: 18px;
    accent-color: #22d3ee;
}

/* Botón submit */
#identifyModal button[type="submit"] {
    width: 100%;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    border: none;
    cursor: pointer;

    font-weight: 900;
    letter-spacing: .6px;
    color: #0b0b12;

    background: linear-gradient(90deg, rgba(34, 211, 238, 0.95), rgba(255, 46, 166, 0.95));
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    transition: transform .15s ease, filter .15s ease;
}

#identifyModal button[type="submit"]:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

#identifyModal button[type="submit"]:active {
    transform: translateY(0px);
}

/* Mensaje estado */
#identifyMsg {
    margin-top: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

/* Texto final */
#identifyModal p.text-xs {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.60);
    font-size: 12px;
    line-height: 1.35;
}

/* Responsive */
@media (max-width: 480px) {
    #identifyModal.modal {
        padding: 14px;
    }

    #identifyModal .modal-content {
        margin-top: 5vh;
        padding: 18px 16px;
        border-radius: 16px;
    }

    #identifyModal h2 {
        font-size: 21px;
    }
}