@charset "utf-8";
/*(ver 2.07 change */
#instructionModal {
    font-family: 'Segoe UI', sans-serif;
    background: transparent;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    display: none;
    position: relative;
    top: -33rem;
}

#instructionModal h1 {
    color: #333;
    text-align: center;
}

.lang-switch .swich-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    margin: 10px;
    background: #ccc;
    color: #333;
    transition: background-color 0.3s;
}

.lang-switch .swich-btn.active {
    background: #007acc;
    color: #fff;
}

#instructionModal .modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

#instructionModal .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    min-height: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

#instructionModal .close {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    top: -20px;
    position: relative;
}

#instructionModal .close:hover {
    color: #000;
}

#instructionModal .levels-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

#instructionModal .levels-table th,
#instructionModal .levels-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

#instructionModal .levels-table th {
    background-color: #e8f4fc;
}

.lang-switch {
    height: 50px;
}

.lang-section {
    display: none;
}

.lang-section.active {
    display: block;
}

#instructionModal ul {
    padding-left: 20px;
}

#instructionModal ul li {
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    #instructionModal .modal-content {
        margin: 20% auto;
    }
}