﻿.steam-twofaWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #212731; 
    color: #d1d7e0; 
    padding: 40px 20px;
    border-radius: 16px;
    margin-top: -30px;
}

.steam-logoText {
    font-size: 3rem;
    font-weight: 700;
    color: #1FA2F1;
    margin-bottom: 20px;
    font-family: unset;
}

.steam-twofaGrid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.steam-twofaForm {
    background-color: #17181a;
    padding: 20px 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 370px;
    box-sizing: border-box;
    text-align: justify;
    color: #d1d7e0;
}

    .steam-twofaForm h2 {
        margin: 0;
        font-weight: 700;
    }

    .steam-twofaForm label {
        display: flex;
        flex-direction: column;
        font-weight: 600;
    }

    .steam-twofaForm input {
        border: none;
        border-radius: 10px;
        padding: 12px;
        background-color: #3a4751; 
        color: #d1d7e0; 
        font-size: 15px;
        outline: none;
    }

    .steam-twofaForm button {
        background-color: #1fa2f1;
        color: #d1d7e0;
        font-weight: 600;
        padding: 12px;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        font-size: 15px;
        transition: background-color 0.2s ease;
    }

        .steam-twofaForm button:hover {
            background-color: #3390f4; 
        }

        .steam-twofaForm button:disabled {
            opacity: 0.6;
            cursor: default;
        }

.steam-codePanel {
    background-color: #17181a; 
    padding: 28px 24px;
    border-radius: 16px;
    width: 370px;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    text-align: left;
    line-height: 1;
    color: #d1d7e0; 
}

    .steam-codePanel h3 {
        color: #51a6ff;
        margin-bottom: 10px;
    }

.steam-codeDigits {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

    .steam-codeDigits div {
        background-color: #555;
        color: white;
        padding: 10px 14px;
        border-radius: 6px;
        font-weight: 600;
        font-size: 1.2rem;
    }

.steam-copyIcon {
    height: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .steam-twofaGrid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .steam-twofaForm,
    .steam-codePanel {
        max-width: 90vw;
    }
}
