/* Make scrollbars thinner and less obtrusive */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent; /* or a subtle background color */
}

::-webkit-scrollbar-thumb {
    background-color: rgba(100, 100, 100, 0.5); /* semi-transparent dark */
    border-radius: 4px;
    border: 2px solid transparent; /* space around thumb */
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(100, 100, 100, 0.7); /* darker on hover */
}  

::-webkit-scrollbar-corner {
    background: transparent; /* or match your page background */
}  

/* vs-code style */
.editor-background {
    background-color: #ffffff;
    padding: 0;
    margin: 0 !important;
}

.navigator {
    background-color: #f3f3f3;
    height: 50px;
    padding: 0;
    margin: 0 !important;
    text-align: left;
}

.navigator-container {
    height: 50px;
    background-color: #f3f3f3;
    padding: 0;
    margin: 0 !important;
}

.nav-icon {
    margin-right: 10px;
}

.gray-color {
    background-color: #868686 !important;
    
}

.my-nav-item {
    margin-left: 10px;
}

.options-bg {
    border: 3px solid #efefef;
    background-color:  #f3f3f3;
}

.options-button {
    background-color: #f3f3f3;
    padding: 3px;
    border-radius: 6px;
    margin-left: 10px;
    cursor: pointer;
}

.green-border-button {
    background-color: #429c45;
    border: 1px solid #4CAF50;
}

.red-border-button {
    background-color: #f44336;
    border: 1px solid #f44336;
}

.blue-border-button {
    background-color: #008CBA;
    border: 1px solid #008CBA;
}

.warning-border-button {
    background-color: #ff9800;
    border: 1px solid #ff9800;
}

/* Attached to the top of the screen */
.navigator-borders {
    border: 2px solid #f3f3f3;
    border-bottom: none;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    background-color: #fEfEfE;
}

.editor {
    height: calc(100vh - 50px);
    text-align: left;
}

.editor-container {
    height: calc(100vh - 50px);
    background-color: #f8fCf4;
}

.terminal {
    text-align: left;
    height: 100%;
    overflow: scroll;
    background-color: #f9fAf9;
}

.description {
    color: black;
    height: 50%;
    min-height: 100px;
}

.xterm-screen {
    height: 100% !important;
}

.xterm-screen {
    background-color: rgb(25, 26, 25);
}

.black-text {
    color: black !important;
}

.panel-header {
    background-color:  #f3f3f3;
    padding: 1px;
    cursor: move; /* Shows the move cursor */
    height: 22px;
}

.panel-content {
    padding-bottom: 1px;
    height: calc(100% - 70px);
    overflow: scroll;
    width: 100%;
    padding: 3px;
}

.description-panel-content {
    padding-bottom: 1px;
    height: calc(100% - 90px);
    overflow: scroll;
    width: 100%;
    padding: 3px;
}

.panel-header-title {
    color: brown;
    font-size: 15px;
    float: right;
    padding-right: 10px;
    padding-bottom: 2px;
    height: 0px;
}

.panel-container {
    width: 100%;
    height: 100%;
    border: 2px solid #f3f3f3;
    background-color: #fEfEfE;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom: 15px solid #f3f3f3;
    color: black;
}

.nav-button {
    width: 100%;
    background-color: #f3f3f3;
    border: none;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

.black-text {
    color: black !important;
}

.danger-text {
    color: red !important;
}

.wheat-text {
    color: brown !important;
}

.warning-text {
    color: orange !important;
}

.primary-text {
    color: #007bff !important;
}

.w-100 {
    width: 100%;
}

.nav-text {
    color: black !important;
}

.invert-color {
    filter: invert(0);
}

.navbar-bg {
    background-color: #f3f3f3 !important;
    padding: 2px;
    border-radius: 6px;
}

/* Search Bar Styles - Light Theme */
.search-input {
    background-color: #ffffff !important;
    border-color: #ced4da !important;
    color: #495057 !important;
}

.search-input:focus {
    background-color: #ffffff !important;
    border-color: #007acc !important;
    color: #495057 !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 204, 0.25) !important;
}

.search-input::placeholder {
    color: #6c757d !important;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    margin-top: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 1050;
    max-height: 200px;
    overflow-y: auto;
}

.search-result-item {
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom-color: #ced4da !important;
}

.search-result-item:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.search-result-title {
    padding: 5px;
    color: #495057;
}

.search-result-meta {
    padding: 5px;
    color: #6c757d;
}