/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 18 de jul. de 2026, 15:00:37
    Author     : glaub
*/

/* =========================================================
   PÁGINA DE SENHA APÓS CADASTRO
========================================================= */

.password-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 45px 20px;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(124, 58, 237, 0.22),
            transparent 34%
        ),
        radial-gradient(
            circle at 90% 15%,
            rgba(59, 130, 246, 0.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 75% 90%,
            rgba(236, 72, 153, 0.16),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #0d1117 0%,
            #111827 52%,
            #160f25 100%
        );
}

.password-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 42px 42px;
    pointer-events: none;
}

.register-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
}

.register-decoration-one {
    top: -110px;
    left: -80px;
    width: 320px;
    height: 320px;
    background: rgba(124, 58, 237, 0.14);
}

.register-decoration-two {
    right: -120px;
    bottom: -160px;
    width: 410px;
    height: 410px;
    background: rgba(236, 72, 153, 0.12);
}

.register-decoration-three {
    top: 25%;
    right: 12%;
    width: 170px;
    height: 170px;
    background: rgba(59, 130, 246, 0.1);
}

.password-wrapper {
    position: relative;
    z-index: 2;
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    background: rgba(17, 24, 39, 0.78);
    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.45),
        inset 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(22px);
}

/* CONTEÚDO PRINCIPAL */

.password-card {
    padding: clamp(30px, 5vw, 58px);
    background:
        linear-gradient(
            145deg,
            rgba(22, 27, 34, 0.97),
            rgba(17, 24, 39, 0.94)
        );
}

.register-brand {
    margin-bottom: 38px;
}

.register-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.register-logo:hover {
    color: #fff;
}

.register-logo-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            var(--site-primary),
            var(--site-secondary)
        );
    color: #fff;
    font-size: 1.35rem;
    box-shadow:
        0 12px 30px rgba(124, 58, 237, 0.38);
}

.register-logo-text {
    display: flex;
    flex-direction: column;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.1;
}

.register-logo-text strong {
    margin-top: 3px;
    font-size: 1.12rem;
    font-weight: 900;
}

.register-header {
    margin-bottom: 30px;
}

.register-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 17px;
    padding: 8px 13px;
    border: 1px solid rgba(74, 222, 128, 0.22);
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.1);
    color: #86efac;
    font-size: 0.78rem;
    font-weight: 800;
}

.register-header h1 {
    margin: 0 0 13px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.register-header p {
    max-width: 590px;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.97rem;
    line-height: 1.75;
}

/* CARDS DAS INFORMAÇÕES */

.password-info-card {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.045);
    transition:
        border-color 0.25s ease,
        background 0.25s ease;
}

.password-info-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    background: rgba(255, 255, 255, 0.065);
}

.password-info-icon {
    width: 43px;
    min-width: 43px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(124, 58, 237, 0.15);
    color: #c4b5fd;
    font-size: 1.08rem;
}

.password-info-content {
    min-width: 0;
}

.password-info-card small {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.73rem;
    font-weight: 700;
}

.password-info-card strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 0.93rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.password-generated-card {
    display: block;
}

.password-info-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 13px;
}

.password-input-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 47px 47px;
    gap: 8px;
}

.register-input {
    width: 100%;
    min-height: 51px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    outline: none;
    background: rgba(13, 17, 23, 0.72);
    color: #fff;
    font-family: inherit;
    font-size: 0.94rem;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.register-input::placeholder {
    color: rgba(255, 255, 255, 0.34);
}

.register-input:focus {
    border-color: rgba(124, 58, 237, 0.75);
    background: rgba(13, 17, 23, 0.92);
    box-shadow:
        0 0 0 4px rgba(124, 58, 237, 0.12);
}

.password-generated-input {
    font-family: "Courier New", monospace;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.password-action {
    width: 47px;
    height: 51px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.065);
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s ease;
}

.password-action:hover {
    border-color: rgba(124, 58, 237, 0.45);
    background: rgba(124, 58, 237, 0.16);
    color: #fff;
    transform: translateY(-1px);
}

.password-copy-feedback {
    max-height: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    margin-top: 0;
    color: #86efac;
    font-size: 0.75rem;
    font-weight: 800;
    opacity: 0;
    transition: 0.25s ease;
}

.password-copy-feedback.active {
    max-height: 30px;
    margin-top: 10px;
    opacity: 1;
}

/* FORÇA DA SENHA */

.password-strength {
    margin: 18px 0;
}

.password-strength-header,
.password-custom-strength-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 9px;
    font-size: 0.76rem;
}

.password-strength-header span,
.password-custom-strength-header span {
    color: rgba(255, 255, 255, 0.46);
    font-weight: 700;
}

.password-strength-header strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #86efac;
    font-weight: 800;
}

.password-strength-bar {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.password-strength-fill {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            #22c55e,
            #4ade80,
            #86efac
        );
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.35);
}

/* ALERTA */

.password-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 22px 0;
    padding: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.08);
}

.password-alert-icon {
    color: #60a5fa;
    font-size: 1rem;
}

.password-alert strong {
    display: block;
    margin-bottom: 4px;
    color: #dbeafe;
    font-size: 0.82rem;
}

.password-alert p {
    margin: 0;
    color: rgba(219, 234, 254, 0.64);
    font-size: 0.76rem;
    line-height: 1.55;
}

/* BOTÕES */

.password-buttons {
    display: grid;
    gap: 11px;
}

.password-continue-form {
    margin: 0;
}

.register-submit-button,
.register-back-button,
.password-cancel-button {
    width: 100%;
    min-height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 15px;
    font-family: inherit;
    font-size: 0.91rem;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.register-submit-button {
    justify-content: space-between;
    padding: 0 19px;
    border: 0;
    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #9333ea,
            #ec4899
        );
    color: #fff;
    box-shadow:
        0 14px 30px rgba(124, 58, 237, 0.27);
}

.register-submit-text {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.register-submit-arrow {
    transition: transform 0.2s ease;
}

.register-submit-button:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow:
        0 18px 38px rgba(124, 58, 237, 0.38);
}

.register-submit-button:hover .register-submit-arrow {
    transform: translateX(4px);
}

.register-back-button,
.password-cancel-button {
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.76);
}

.register-back-button:hover,
.password-cancel-button:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}

/* FORMULÁRIO DE ALTERAÇÃO */

.password-change-box {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 20px;
    background: rgba(13, 17, 23, 0.55);
    opacity: 0;
    transform: translateY(-10px);
    transition:
        max-height 0.5s ease,
        margin-top 0.35s ease,
        padding 0.35s ease,
        border-color 0.35s ease,
        opacity 0.35s ease,
        transform 0.35s ease;
}

.password-change-box.active {
    max-height: 750px;
    margin-top: 22px;
    padding: 22px;
    border-color: rgba(255, 255, 255, 0.09);
    opacity: 1;
    transform: translateY(0);
}

.password-change-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 21px;
}

.password-change-icon {
    width: 44px;
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background:
        linear-gradient(
            135deg,
            rgba(124, 58, 237, 0.25),
            rgba(236, 72, 153, 0.18)
        );
    color: #d8b4fe;
    font-size: 1.1rem;
}

.password-change-header h2 {
    margin: 1px 0 5px;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
}

.password-change-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.75rem;
    line-height: 1.55;
}

.register-field {
    margin-bottom: 17px;
}

.register-field label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 800;
}

.password-field-wrapper {
    position: relative;
}

.password-field-wrapper > i {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.37);
    transform: translateY(-50%);
}

.password-field-wrapper .register-input {
    padding-left: 45px;
    padding-right: 52px;
}

.password-field-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.46);
    cursor: pointer;
    transform: translateY(-50%);
}

.password-field-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.password-custom-strength {
    margin: -5px 0 18px;
}

.password-custom-strength-header strong {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.72rem;
}

.password-custom-strength-bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.password-custom-strength-bars span {
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    transition:
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.password-custom-strength.level-1 span:nth-child(1) {
    background: #ef4444;
}

.password-custom-strength.level-2 span:nth-child(-n+2) {
    background: #f59e0b;
}

.password-custom-strength.level-3 span:nth-child(-n+3) {
    background: #3b82f6;
}

.password-custom-strength.level-4 span {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.22);
}

.password-validation-message {
    min-height: 18px;
    display: block;
    margin-top: 7px;
    color: #fca5a5;
    font-size: 0.7rem;
    font-weight: 700;
}

.password-validation-message.valid {
    color: #86efac;
}

.password-change-actions {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 10px;
    margin-top: 6px;
}

/* PAINEL DIREITO */

.password-showcase {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: clamp(34px, 5vw, 58px);
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(96, 165, 250, 0.3),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 90%,
            rgba(236, 72, 153, 0.28),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #24113f 0%,
            #181331 42%,
            #101827 100%
        );
}

.password-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        );
    background-size: 38px 38px;
    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.7),
            transparent
        );
    pointer-events: none;
}

.password-showcase-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.password-showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 22px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.77rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.password-showcase h2 {
    max-width: 440px;
    margin: 0 0 17px;
    color: #fff;
    font-size: clamp(2.2rem, 4.4vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.password-showcase > .password-showcase-content > p {
    max-width: 470px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.93rem;
    line-height: 1.75;
}

.password-features {
    display: grid;
    gap: 11px;
}

.password-feature {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.password-feature:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.09);
    transform: translateX(4px);
}

.password-feature-icon {
    width: 43px;
    min-width: 43px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background:
        linear-gradient(
            135deg,
            rgba(124, 58, 237, 0.38),
            rgba(236, 72, 153, 0.28)
        );
    color: #fff;
    font-size: 1.08rem;
}

.password-feature strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 0.83rem;
}

.password-feature small {
    color: rgba(255, 255, 255, 0.47);
    font-size: 0.7rem;
}

.password-showcase-player {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 26px;
    padding: 14px;
    border: 1px solid rgba(134, 239, 172, 0.14);
    border-radius: 17px;
    background: rgba(34, 197, 94, 0.07);
}

.password-player-avatar {
    width: 43px;
    min-width: 43px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #ec4899
        );
    color: #fff;
}

.password-showcase-player div:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.password-showcase-player span {
    display: block;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.47);
    font-size: 0.68rem;
}

.password-showcase-player strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.password-player-status {
    width: 31px;
    min-width: 31px;
    height: 31px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.16);
    color: #86efac !important;
}

.password-showcase-controller {
    position: absolute;
    right: -52px;
    bottom: -42px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.045);
    font-size: 15rem;
    line-height: 1;
    transform: rotate(-15deg);
    pointer-events: none;
}

.controller-glow {
    position: absolute;
    inset: 25%;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.35);
    filter: blur(50px);
}

/* RESPONSIVIDADE */

@media (max-width: 991.98px) {

    .password-wrapper {
        max-width: 730px;
        grid-template-columns: 1fr;
    }

    .password-showcase {
        min-height: 560px;
    }

    .password-showcase h2 {
        max-width: 520px;
    }
}

@media (max-width: 575.98px) {

    .password-page {
        display: block;
        padding: 15px;
    }

    .password-wrapper {
        border-radius: 22px;
    }

    .password-card,
    .password-showcase {
        padding: 25px 19px;
    }

    .register-brand {
        margin-bottom: 29px;
    }

    .register-header h1 {
        font-size: 2rem;
    }

    .password-input-group {
        grid-template-columns: minmax(0, 1fr) 45px 45px;
        gap: 6px;
    }

    .password-action {
        width: 45px;
    }

    .password-change-box.active {
        padding: 17px;
    }

    .password-change-actions {
        grid-template-columns: 1fr;
    }

    .password-change-actions .password-cancel-button {
        order: 2;
    }

    .password-showcase {
        min-height: auto;
    }

    .password-showcase h2 {
        font-size: 2.35rem;
    }

    .password-showcase-controller {
        right: -35px;
        bottom: -20px;
        font-size: 10rem;
    }
}