:root {
    --gold-primary: #FFD700;
    --gold-secondary: #FFC000;
    --gold-dark: #D4AF37;
    --black-primary: #0A0A0A;
    --black-secondary: #1A1A1A;
    --black-tertiary: #2A2A2A;
    --text-light: #F5F5F5;
    --text-gray: #AAAAAA;
    --error: #E74C3C;
    --medium: #F39C12;
    --success: #2ECC71;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}


body {
    background: var(--black-primary);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
}

.loading-wave {
    display: inline-flex;
    align-items: flex-end;
    gap: 4px;
    height: 10px; /* altura da onda */
}

    .loading-wave span {
        width: 6px;
        height: 6px;
        background-color: white;
        border-radius: 50%;
        animation: wave 1s infinite ease-in-out;
    }

        .loading-wave span:nth-child(1) {
            animation-delay: 0s;
        }

        .loading-wave span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .loading-wave span:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes wave {
    0%, 60%, 100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-6px);
    }
}

.password-container {
    background: var(--black-secondary);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 450px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

    .password-container::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,215,0,0.05) 0%, rgba(255,255,255,0) 70%);
        z-index: 0;
    }

.logo {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

    .logo svg {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .logo .logo-text {
        font-family: 'Playfair Display', serif;
        color: var(--gold-primary);
        font-size: 28px;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .logo p {
        color: var(--text-gray);
        font-size: 14px;
        width: 100%;
        margin-top: 8px;
    }

.input-group {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-align: left;
}

    .input-group label {
        display: block;
        margin-bottom: 8px;
        color: var(--text-gray);
        font-weight: 500;
        font-size: 14px;
    }

    .input-group input {
        width: 100%;
        padding: 15px 20px;
        border: 1px solid #333;
        border-radius: 8px;
        background-color: var(--black-tertiary);
        color: var(--text-light);
        font-size: 16px;
        outline: none;
        transition: all 0.3s;
    }

        .input-group input:focus {
            border-color: var(--gold-primary);
            box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
        }

.password-toggle {
    position: absolute;
    right: 15px;
    top: 40px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s;
}

    .password-toggle:hover {
        color: var(--gold-primary);
    }

.change-btn {
    background: linear-gradient(to right, var(--gold-primary), var(--gold-dark));
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 15px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s;
    margin: 25px 0 20px;
    position: relative;
    z-index: 1;
}

    .change-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
    }

    .change-btn:disabled {
        background: #444;
        color: #777;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.back-link {
    color: var(--text-gray);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

    .back-link a {
        color: var(--gold-primary);
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s;
        position: relative;
    }

        .back-link a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 1px;
            background: var(--gold-primary);
            transition: width 0.3s;
        }

        .back-link a:hover::after {
            width: 100%;
        }

.password-strength {
    margin-top: 10px;
    height: 5px;
    background: var(--black-tertiary);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.strength-meter {
    height: 100%;
    width: 0%;
    border-radius: 5px;
    transition: width 0.3s, background 0.3s;
}

.strength-text {
    font-size: 12px;
    margin-top: 5px;
    text-align: right;
}

.password-requirements {
    margin: 10px 0 5px;
    padding-left: 5px;
    font-size: 12px;
    color: var(--text-gray);
    text-align: left;
}

.requirement {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

    .requirement i {
        margin-right: 5px;
        font-size: 10px;
        color: var(--error);
    }

    .requirement.valid i {
        color: var(--success);
    }

.error-message {
    color: var(--error);
    font-size: 12px;
    margin-top: 5px;
    text-align: left;
    display: none;
}

.input-group.error input {
    border-color: var(--error);
}

.input-group.error .error-message {
    display: block;
}

@media (max-width: 480px) {
    .password-container {
        width: 90%;
        padding: 30px 20px;
    }

    .logo .logo-text {
        font-size: 24px;
    }
}
