body {
    background-image: url('/assets/rede.png');
    background-size: cover;
    font-family: 'Inter', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    color: #ffffff; /* text-white */
}

    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgb(0 0 0 / 70%); /* Escureci um pouco para melhor contraste */
        z-index: -1;
    }

.wrapper {
    display: flex;
    width: 920px;
    max-width: 95%;
    background: #242526; /* bg-card */
    border-radius: 16px;
    border: 1px solid #3e4042; /* border-color */
    min-height: 462px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.left-panel {
    flex: 1.4;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1 {
    color: #2d88ff; /* primary-color/accent */
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 10px;
}

p.desc {
    color: #b0b3b8; /* text-gray */
    margin-bottom: 30px;
}

.input-box {
    position: relative;
    margin-bottom: 20px;
}

    .input-box i {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #b0b3b8; /* text-gray */
    }

input {
    width: 100%;
    padding: 16px 16px 16px 50px;
    background: #18191a; /* bg-dark */
    border: 2px solid #3e4042; /* border-color */
    border-radius: 10px;
    color: white;
    box-sizing: border-box;
    transition: 0.3s;
}

    input:focus {
        border-color: #2d88ff; /* primary-color/accent */
        outline: none;
    }

#code {
    font-family: monospace;
    font-size: 1.8rem;
    letter-spacing: 8px;
    text-align: center;
    padding-left: 15px;
    color: #2d88ff; /* primary-color/accent */
    text-transform: uppercase;
}

.password-reqs {
    background: #18191a; /* bg-dark */
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #3e4042; /* border-color */
    margin-bottom: 20px;
}

.req-item {
    font-size: 0.85rem;
    color: #b0b3b8; /* text-gray */
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

    .req-item i {
        width: 20px;
        text-align: center;
        margin-right: 5px;
        font-size: 0.7rem;
    }

    .req-item.valid {
        color: #28a745; /* green-check */
        font-weight: bold;
    }

button {
    width: 100%;
    padding: 16px;
    background: #2d88ff; /* primary-color/accent */
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    transition: 0.3s;
}

    button:hover {
        background-color: #1877f2; /* facebook-blue (um pouco mais escuro) */
        transform: translateY(-2px);
    }

    button:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;
        background-color: #4A5568;
    }

.error {
    color: #F56565;
    background: rgba(245, 101, 101, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    display: none;
}

.right-panel {
    flex: 0.8;
    /* Ajustado para gradiente escuro em vez de azulado */
    background: linear-gradient(180deg, #242526, #18191a);
    border-left: 1px solid #3e4042; /* border-color */
}

.sec-header {
    height: 135px;
    /* Gradiente sutil com a cor de destaque */
    background: linear-gradient(135deg, #2d88ff, #18191a);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 37px;
}

.sec-avatar {
    width: 100px;
    height: 100px;
    background: #242526; /* bg-card */
    border: 6px solid #18191a; /* bg-dark */
    border-radius: 50%;
    position: absolute;
    bottom: -50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2d88ff; /* primary-color/accent */
    font-size: 2.5rem;
}

.sec-body {
    padding: 1px 40px;
    text-align: center;
}

#sec-title {
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
}

#sec-desc {
    color: #b0b3b8; /* text-gray */
    font-size: 0.9rem;
    margin-top: 5px;
}

.history-item {
    background: #18191a; /* bg-dark */
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    text-align: left;
    border: 1px solid #3e4042; /* border-color (opcional, para definição) */
}

.h-icon {
    width: 35px;
    height: 35px;
    background: rgba(45, 136, 255, 0.1); /* accent com transparência */
    color: #2d88ff; /* primary-color/accent */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
}

.h-info div {
    font-size: 0.9rem;
    color: white;
    font-weight: 600;
}

.h-info small {
    font-size: 0.75rem;
    color: #b0b3b8; /* text-gray */
    display: block;
}

.step {
    display: none;
    animation: fadeIn 0.5s ease;
}

    .step.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .wrapper {
        flex-direction: column;
        height: auto;
    }

    .right-panel {
        display: none;
    }
}

.btn-prev {
    background: transparent;
    border: 1px solid #3e4042; /* border-color */
    color: #b0b3b8; /* text-gray */
    flex: 1;
    padding: 14px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    margin-top: 15px;
}

    .btn-prev:hover {
        border-color: #b0b3b8; /* text-gray */
        color: #fff;
        background-color: #3a3b3c; /* hover-color */
    }
