.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 50px 20px 20px 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
}

.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

.modal-table {
    width: 100%;
    border-collapse: separate;
    border: 0.3px solid #ddd;
    border-radius: 5px;
    border-spacing: 0;
    overflow: hidden;
}

.modal-table th {
    padding: 10px;
    background-color: #f4f4f4;
    white-space: nowrap;
    text-align: center;
    border-right: 0.3px solid #ddd;
    border-bottom: 0.1px solid #ddd;
    width: 40%;
}

.modal-table td {
    padding: 10px;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
    text-align: left;
    vertical-align: middle;
    border-bottom: 0.1px solid #ddd;
    width: 60%;
}

select {
    border: 0.1px solid #ddd;
    border-radius: 2px;
    padding: 5px;
}

textarea {
    width: 100%;
    resize: none;
    border: none;
    border-radius: 2px;
    padding: 1px;
    box-sizing: border-box;
}

textarea:focus {
    outline: none;
    border-color: #dadada;
}

.modal-footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-footer button {
    width: 20%;
    margin: 15px 2.5px 0 2.5px;
}

@media (max-width: 768px) {
    textarea {
        font-size: 13px;
    }
}

/* chart */
.chart-link {
    margin-left: 3px;
    font-size: 12px;
    color: black;
    text-decoration: none;
    vertical-align: middle;
    display: inline-block;
}

.chart-link:hover {
    color: #3367d6;
    text-decoration: none;
}
