body {
    font-family: Arial, sans-serif;
}
#letterbox {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

/* Style for the letterbox container */
.letterbox1 {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #ccc;
    padding: 10px;
    width: 400px;
}

/* Style for individual letter box */
.letter {
    width: 50px;
    height: 50px;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

#close-btn {
    position: absolute;
    background: #fff;
    border: 2px solid #999;
    color: #555;
    border-radius: 12px;
    height: 25px;
    width: 25px;
    /* padding: 1px; */
    top: -10px;
    right: -10px;
    box-shadow: 2px 2px 10px #555;
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
}

.tableHead {
    width: 100%;
}

@media screen and (max-width: 680px) {
    .tableHead td {
        float: left;
    }
}

/* Styles for the overlay */
.overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 999;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5);
    /* Black w/ opacity */

}

.overlay-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #dff7ff !important;
    margin: 10px;
    border: 1px solid #13b9e5;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    color: #154194;
}

.close-btn1 {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f44336;
    /* Red background */
    color: white;
    /* White text */
    text-align: center;
    line-height: 30px;
    /* Center text vertically */
    font-size: 20px;
    cursor: pointer;
}

.suggestion-box {
    position: absolute;
    top: 100%; /* Places it directly below the input box */
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Ensures it stays above other elements */
    display: none; /* Hidden by default */
    max-height: 200px; /* Prevents it from growing too large */
    overflow-y: auto;
}

/* Show the suggestion box when it contains content */
.suggestion-box.active {
    display: block;
}

.keyword-container {
    display: inline-block;
}

.keyword-label {
    background-color: #007bff;
    color: #fff;
    padding: 5px 5px;
    margin: 5px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
}

.keyword-input {
    background-color: #007bff;
    color: #fff;
    border: none;
}

.close-button {
    margin-left: 5px;
    cursor: pointer;
}
.suggestion {
    cursor: pointer;
}

.suggestion:hover {
    background-color: yellow;
}
.hide {
    display: none;
}

.show {
    display: block;
}