.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #2b2b2b;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #444;
    width: 50%;
    color: #e0e0e0;
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

#graphInput,#directedGraphInput,#undirectedGraphInput {
    width: 100%;
    height: 200px;
    background-color: #1e1e1e;
    color: #e0e0e0;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #444;
    border-radius: 5px;
}

#loadGraphButton {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #444;
    color: #e0e0e0;
    border: 1px solid #555;
    border-radius: 5px;
    cursor: pointer;
}

#loadGraphButton:hover {
    background-color: #555;
}

#graphURLInput {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background-color: #1e1e1e;
    color: #e0e0e0;
    border: 1px solid #444;
    border-radius: 5px;
    box-sizing: border-box;
}

#loadGraphFromURLButton {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #444;
    color: #e0e0e0;
    border: 1px solid #555;
    border-radius: 5px;
    cursor: pointer;
}

#loadGraphFromURLButton:hover {
    background-color: #555;
}
