@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,700");

html, body {
    margin:0;   
    /*margin-right:10px;*/
    height: 100%;
    /*font-family: "Poppins", sans-serif;*/
    /*font-family: Arial, Helvetica, sans-serif;*/
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

#container { 
    margin-top: 1%; 
    margin-left:10px;
    margin-right:10px;
    display: flex;
    flex-direction: column;
}

#content {    
    overflow-y: auto; /* Enable vertical scrolling if content exceeds viewport */ 
}

#rowDiv {
    width:100%;
    margin-top:6px;
    display: flex;
    overflow-x:auto; 
    /*border: solid 1px; */
    padding-left:10px; 
    padding-right: 10px;
    margin-bottom: 15px;
}

#leftDiv {
    box-sizing: border-box;
    width: 50%;
    display: none;
    margin-right: 10px; /* Add left margin */
}

.c-20{
    width: 20% !important;}

.c-100{
    width: 100% !important;
}
.bold{
    font-weight: bold;
}

#rightDiv {
    box-sizing: border-box;
    width: 50%; /*calc(50% - 10px);*/
    display: none;    
}

#taxonomyTable{
    /*border: solid 1px;*/
    border-collapse: collapse;
    width: 100%;
}

#taxonomyTable th, td{
    text-align: left;
}

#taxonomyTable th{
    background-color: #f2f2f2;
}

#keywordsTable  {
    border-collapse: collapse;
    width: 100%;            
}

#keywordDesc  {			
    border-collapse: collapse;
    width: 100%;     
    vertical-align: top;
}

/* Responsive styles for the table */
#keywordExamples {
    border-collapse: collapse;
    width: 100%;
}

#keywordExamples td, th {
    padding: 3px; /* Optional: Add padding to cells for better spacing */
}

#keywordDesc td, th {
    padding: 3px; /* Optional: Add padding to cells for better spacing */
}

/* Styles for table header */
#keywordsTable th {
    display: none; /* Hide table headers on small screens */
}

/* Styles for table cells */
#keywordsTable td {
    display: block;
    /*padding: 10px; /* Adjust as needed */
    border: 1px solid #ddd; /* Add borders between cells */
    box-sizing: border-box;
}

#keywordsTable td.selected {
    background-color: #f0f0f0; /* Highlight color for selected cell */
}

/* Add this to highlight the entire cell on hover */
#keywordsTable td:hover {
    background-color: #e0e0e0; /* Highlight color on hover */
}

h2 {
    margin-bottom: 10px;
}

#id_question_table {
    height: calc(100vh - 330px); 
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
}

#gen_question_table {
    /*height: 280px; */
    height: calc(100vh - 310px);
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
}

#tableQuestion table {
    border-collapse: collapse;
    width: 100%;
}

#taxoresult_table th, td {
    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.pagination-links {
    white-space: nowrap; /* Prevent line breaks */
}

/* Style for the search box container */
.search-container {
    position: relative;
    width: 300px; /* Adjust the width as needed */
}

/* Style for the search input */
.search-input {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

/* Style for the search icon */
.search-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

/* Set the left menu width */
#sidebar {
    width: 20%;
}

/* Set the main content width */
#main-content {
    width: 80%;
}

/* Show table headers on larger screens */
@media (min-width: 768px) {
    #keywordsTable th {
        display: table-cell;
    }
}

/* Small screens (stacked) */
@media screen and (max-width: 767px) {
    html, body {
        margin-left: 0;
        margin-right: 0;
    }
    
    #rowDiv {
        flex-direction: column; /* Stack leftDiv and rightDiv vertically on small screens */
    }

    #leftDiv, #rightDiv {
        float: none;
        width: 100%;
        margin-bottom: 10px; /* Vertical spacing between leftDiv and rightDiv */
        margin-left:0px;
    }

    #id_question_table {
        flex: 1;
        /*height:100px;*/
    }

    #taxonomyTable{
        width:100%;
    }

    #question{
        width:100% !important;
    }

    #tableQuestion{
        width: 100%;
    }
    
    #keyword{
        width:100%;
    }

    #searchWord{
        width:100%;
        margin-bottom: 5px;
    }
    #taxonomyTable{
        width: 500px;
    }
}

/* Media query for small screens (mobile phones) */
@media only screen and (max-width: 600px) {
    #id_question_table {
        height: calc(100vh - 350px); 
    }

    #gen_question_table {
        height: calc(100vh - 330px);
    }
}