


.container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
    position: relative;
}

.progress-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
}

.progress-label {
    margin-right: 10px;
}

#progress_bar {
    height: 16px;
    background-color: #ff8f00;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.char-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
    gap: 10px;
}

.char {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    border: 2px solid #ddd;
    border-radius: 6px;
    background-color: white;
    transition: all 0.3s ease;
}

.char.on {
    border-color: #3366ee;
    color: #3366ee;
    transform: scale(1.1);
}

.char.ok {
    background-color: #e0e0e0;
    color: #777;
    font-size: 16px;
    border-color: #bbb;
}

.keyboard {
    background-color: #eee;
    border-radius: 8px;
    padding: 10px;
    margin: 20px 0 0 0;
}

.key-row {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.key {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    cursor: default;
    user-select: none;
    transition: all 0.2s ease;
}

.key.down {
    background-color: #666;
    color: white;
    border-color: #333;
    transform: translateY(2px);
}


.setup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 8px;
}

.setup-box {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px; 
}

.setup-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.option-group {
    display: flex;
    gap: 12px; /* 버튼 사이 여백 */
    margin-bottom: 16px; /* 그룹끼리 간격 */
}

.option-group label {
    display: flex;
    align-items: center;
    gap: 4px; /* 체크박스(또는 라디오)와 텍스트 사이 간격 */
    font-size: 16px;
    cursor: pointer;
}


.option-group input {
    margin-right: 8px;
}

.key-visual {
    margin: 15px 0;
    text-align: center;
    font-family: monospace;
    font-size: 25px;
    line-height: 0.9;
    letter-spacing:0.1em;
}

.btn {
    display: block;
    width: 100%;
    background-color: #ffd600;
    color: #333;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #ffc107;
}

@media (max-width: 600px) {
    .char {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .key {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

}


.foot {padding:15px 0 70px 0;float:left; font-size: 13px;color: #B2B2B2; letter-spacing:-0.04em;}
.foot a{color: #595959;}