body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding: 20px;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
}


main {
    width: 95%;
    max-width: 1600px;
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 200vh;
}

.row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.inline-container {
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 0.9em;
}

.inline-container h2 {
    margin: 0 10px 0 0;
    color: #333;
}

.btn {
    background-color: #d3d3d3;
    color: #333;
    padding: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.8em;
    margin: 5px;
    border-radius: 5px;
}

.btn:hover, .btn.selected {
    background-color: #0057b8;
    color: white;
}

.form-group {
    width: 20%;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

textarea {
    width: 100%;
    height: 500px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    white-space: pre-wrap;
    overflow-y: scroll;
    font-size: 1.2em;
}

.form-actions {
    display: flex;
    gap: 10px;
}

input[type="submit"], input[type="reset"] {
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #1679AB;
    color: white;
}

input[type="submit"]:hover, input[type="reset"]:hover {
    background-color: #0057b8;
}

.word-lists {
    display: flex;
    width: 75%;
    justify-content: space-between;
    background-color: rgba(200, 200, 200, 0.1);
    padding: 20px;
    border-radius: 10px;
    height: calc(100% - 60px);
}

.word-lists > .card {
    flex: 0 0 45%;
    background-color: rgba(224, 247, 250, 0.3);
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    height: 100%;
}

.card h2 {
    margin-top: 0;
    text-align: center;
}

.title-btn {
    width: 100%;
    background-color: #0057b8;
    color: white;
    padding: 10px;
    border: none;
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 10px;
    cursor: default;
}

#unusedWords, #registeredWords {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#unusedWords p, #registeredWords p {
    flex-basis: calc(20% - 10px);
    margin: 5px;
    padding: 5px;
    background-color: #f0f0f0;
    border-radius: 5px;
    text-align: center;
    cursor: move;
}

.selected-word {
    background-color: #a5d6a7;
    border: 2px solid #4caf50;
}
