/**
 * /tools/lib/scdu/assets/css/login_network_confirm.css
 *
 * CSS exclusivo da modal de confirmação de nova rede.
 *
 * NÃO substitui login_views.css.
 */

body.network-confirm-open {
    overflow: hidden;
}

.network-confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    box-sizing: border-box;
}

.network-confirm-modal.is-open {
    display: flex;
}

.network-confirm-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(2, 6, 23, 0.82);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.network-confirm-dialog {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 430px;

    padding: 28px;

    box-sizing: border-box;

    border: 1px solid rgba(149, 191, 221, 0.34);
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #17344A,
            #10243A
        );

    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.52);

    color: #DDEAF2;
}

.network-confirm-close {
    position: absolute;
    top: 12px;
    right: 14px;

    width: 36px;
    height: 36px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.06);

    color: #DDEAF2;

    font-size: 21px;
    line-height: 1;

    cursor: pointer;
}

.network-confirm-close:hover {
    background: rgba(255, 255, 255, 0.12);
}

.network-confirm-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(149, 191, 221, 0.42);
    border-radius: 50%;

    background: rgba(149, 191, 221, 0.12);

    color: #C4E1F2;

    font-size: 25px;
}

.network-confirm-title {
    margin: 0 0 10px;

    color: #C4E1F2;

    font-size: 23px;
    font-weight: 800;

    text-align: center;
}

.network-confirm-text {
    margin: 0 0 8px;

    color: #DDEAF2;

    font-size: 14px;
    line-height: 1.6;

    text-align: center;
}

.network-confirm-email {
    min-height: 20px;

    margin: 0 0 20px;

    color: #95BFDD;

    font-size: 13px;
    font-weight: 700;

    text-align: center;
}

.network-confirm-label {
    display: block;

    margin: 0 0 7px;

    color: #AFC4D4;

    font-size: 12px;
    font-weight: 700;

    text-align: center;
}

.network-confirm-code {
    width: 100%;
    height: 52px;

    padding: 0 14px;

    box-sizing: border-box;

    border: 1px solid rgba(149, 191, 221, 0.48);
    border-radius: 12px;

    outline: none;

    background: rgba(5, 8, 22, 0.68);

    color: #FFFFFF;

    font-size: 23px;
    font-weight: 800;

    letter-spacing: 0.28em;

    text-align: center;
}

.network-confirm-code::placeholder {
    color: rgba(221, 234, 242, 0.32);
}

.network-confirm-code:focus {
    border-color: #95BFDD;

    box-shadow:
        0 0 0 3px rgba(149, 191, 221, 0.12);
}

.network-confirm-message {
    min-height: 22px;

    margin: 12px 0 4px;

    color: #DDEAF2;

    font-size: 13px;
    line-height: 1.45;

    text-align: center;
}

.network-confirm-message.is-error {
    color: #FFC2C2;
}

.network-confirm-message.is-success {
    color: #B9F6CA;
}

.network-confirm-actions {
    display: grid;
    grid-template-columns: 1fr;

    gap: 9px;

    margin-top: 14px;
}

.network-confirm-submit,
.network-confirm-resend {
    width: 100%;
    min-height: 43px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 0.06em;

    cursor: pointer;
}

.network-confirm-submit {
    border: 0;

    background:
        linear-gradient(
            135deg,
            #95BFDD,
            #C4E1F2
        );

    color: #10243A;
}

.network-confirm-resend {
    border: 1px solid rgba(149, 191, 221, 0.32);

    background: rgba(0, 0, 0, 0.18);

    color: #DDEAF2;
}

.network-confirm-submit:hover,
.network-confirm-resend:hover {
    filter: brightness(1.05);
}

.network-confirm-submit:disabled,
.network-confirm-resend:disabled {
    opacity: 0.58;
    cursor: wait;
}

@media (max-width: 480px) {

    .network-confirm-modal {
        padding: 14px;
    }

    .network-confirm-dialog {
        padding: 26px 18px 20px;
    }

    .network-confirm-title {
        font-size: 20px;
    }

    .network-confirm-code {
        font-size: 21px;
        letter-spacing: 0.22em;
    }
}