/* Button styling */
#graph-toggle-button {
    background-color: #56b1bf;
    color: rgb(0, 0, 0);
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-family: "Inter";
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

/* #graph-mode-label {
    font-family: "Inter";
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding: 8px 12px;
    background-color: #eaf5f7;
    border-radius: 6px;
    display: inline-block;
} */
#graph-mode-label {
    font-family: "Inter";
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-right: 14px;
}

#graph-toggle-button:hover {
    background-color: #8ad8e4;
}


.mode-selector {
    display: inline-flex;
    background: #eaf5f7;
    padding: 4px;
    border-radius: 8px;
    gap: 4px;
}

.mode-btn {
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-family: Inter;
    font-size: 15px;
    cursor: pointer;
    background: transparent;
    font-weight: 600;
    color: #21464b;
    transition: 0.1s;
}

.mode-btn:focus,
.mode-btn:active {
    outline: none;
    box-shadow: none;
}

.mode-btn.active {
    background: #56b1bf;
    color: black;
}




/* Container wrapper for centering the button */
.graph-controls {
    margin-top: 1em;
    text-align: center;
}

/* Knowledge graph container with border and background */
#knowledge-graph-container {
    width: 100%;
    height: 700px;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    margin-top: 1em;

}

.subtitle-for-kg-forms {
    font-family: 'Inter', sans-serif;
    font-size: 1.2em;
    font-weight: 500;
    text-align: center;
    margin-bottom: 1em;
}
