::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    /*background: #e0e0e0;*/
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 10px;
    
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #5a0ebc 0%, #1f5bfc 100%);
    width: 10px;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    user-select: none;
}

.slashscreen-container {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000bf;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    backdrop-filter: blur(4px);
    transition: opacity 1s ease-in-out;
}

.splash-image {
    width: 40%;
    max-width: 500px;
    height: auto;
    box-shadow: 7px 7px 10px 2px #00000078;
}

.login-splash-image {
    width: 70%;
    max-width: 800px;
    height: auto;
    box-shadow: 18px 18px 14px 0px #0000003b;
}

.login-splash-container {
    width: 70%;
    max-width: 800px;
    height: auto;
}

.login-splash-logo {
    width: 30%;
    max-width: 400px;
    height: auto;
    margin-top: 100px;
}

.login-fields {
    border: 0;
    border-bottom: 1px solid #ffffff50;
    background: transparent;
    font-family: montserrat;
    font-size: 15px;
    height: auto;
    color:white;
}

.sub-btn {
    background: none;
    border: 0;
    font-size: 20px;
    color: white;
    opacity: 0.5;
}

.sub-btn:hover {
    font-size: 20px;
    color:black;
    opacity: 1;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100vw;
    height: 1.5em;
    background-color: #141414;
    padding: 5px;
}

.user-icon-container {
    width: fit-content;
    max-width: 22%;
    height: 100%;
    margin-right: 4px;
    padding-right: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.user-icon {
    font-size: 21px;
    color: gray;
    transition: color .4s ease-in-out;
}

.user-icon:hover {
    color: #dc894e;
}

.header-menu-container {
    height: 100%;
    padding: 0px 20px;
    display: flex;
    justify-content: center;
    align-items: center;    
}

.menu {
    color: gray;
    font-family: montserrat;
    font-size: 13px;
    margin: 0px 10px;
    transition: color .4s ease-in-out;
}

.menu:hover {
    color: #dc894e;
    border-bottom: 1px solid #dc894e;
}

.main-menu {
    display: none;
    width: 80px;
    height: 70px;
    position: absolute;
    background-color: #555555;
    border: 1px solid black;
    box-shadow: 5px 5px 5px #000000a6;
    padding: 0px;
    border-radius: 10px;
    z-index: 10000;
    top: 20px;
    left: 25%;
}

.dropdown {
    display: none;
    position: absolute;
    background: #212121;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    z-index: 1000;
}

.dropdown a {
    display: block;
    padding: 10px 15px;
    color: white;
    font-family: montserrat;
    font-size: 12px;
    text-decoration: none;
    transition: background 0.5s;
}

.dropdown a:hover {
    background: #555555;
    color: white;
}

.menu:hover .dropdown {
    display: block;
}

.user-icon:hover .dropdown {
    display: block;
}

.container {
    display: flex;
    height: 96.6vh;
    width: 100vw;
    padding: 0;
    margin: 0;
}

.editor-container {
    width: 35%;
    display: flex;
    flex-direction: column;
    background: #212120;
    border-right: 2px solid #ddd;
    overflow-y: auto;
    padding: 0;
    margin: 0;
}

.collapsible {
    background-color: #1e1e1e;
    color: #9e9e9e;
    font-family: Monospace;
    cursor: pointer;
    padding: 0px 10px 0px 0px;
    text-align: left;
    outline: none;
    width: fit-content;
    font-size: 12px;
    transition: 0.3s ease-in-out;
    border:0;
}

.collapsible-container {
    background-color: #1e1e1e;
    color: #9e9e9e;
    font-family: Monospace;
    cursor: pointer;
    padding: 3px 0px 3px 0px;
    width: 100%;
    text-align: left;
    outline: none;
    font-size: 12px;
    transition: 0.3s ease-in-out;
    border:0;
    border-bottom: 1px solid #712c28;
}

.active-btn, .collapsible:hover {
    border: 0;
    color: white;
}

.arrow-btn {
    color: #9e9e9e;
}

.editor-section {
    display: none;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    flex-grow: 0;
    min-height: 0;
    height: 33%;
    overflow-y: auto;
}

.editor-section.active {
    display: block;
    flex-grow: 1;
}

.console-section {
    display: none;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    flex-grow: 0;
    min-height: 0;
    height: 0px;
    overflow: hidden;
}

.console-section.active {
    display: block;
    flex-grow: 1;
    height: 200px;
}


.output {
    width: 65%;
    padding: 0;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    box-sizing: border-box;
    overflow: hidden;
}

.CodeMirror {
    height: 100%;
    font-size: 12px;
    width: 100%;
}

 
.CodeMirror-linenumbers {
    background-color: #1e1e1e;
}


.coll-icons {
    color: #9e9e9e;
    padding-top: 1px;
    font-size: 11px;
}

.coll-icons:hover {
    color: white;
}

.icons {
    opacity: 0;
    transition: opacity .5s ease-in-out;
}

.font-size-icon:hover {
    color: white;
}

iframe#preview {
    width: 100%;
    height: 100%;
    border: 1px solid #ff00002b;
    flex-grow: 1;
}

.console {
    width: 70%;
    height: 100%;
    padding: 5px;
    background-color: #212121;
    overflow-y: auto;
    font-family: Monospace;
    color: white;
}

.console .info {
    color: #4da6ff;
}

.console .error {
    color: #ff4d4d;
}

.console span {
    display: block;
    margin-bottom: 5px;
}

.settings {
    width: 30%;
    height: 100%;
    padding: 5px;
    background-color: #212121;
    overflow-y: auto;
    color: lightgray;
    font-family: Monospace;
    border-left: 1px solid white;
}


.loader {
    display: block;
    width: 100%;
    height: 3.8px;
    display: inline-block;
    position: absolute;
    background: black;
    overflow: hidden;
    right: 0;
    bottom:0;
}

.loader::after {
    content: '';
    width: 192px;
    height: 3.8px;
    /*background: #E91E63;*/
    background: linear-gradient(90deg, #dc554d, #dc954e, #804bd2);
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    animation: animloader 2s linear infinite;
}

@keyframes animloader {
    0% {
        left: 0;
        transform: translateX(-100%);
    }
    100% {
        left: 100%;
        transform: translateX(0%);
    }
}


.popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    overflow: auto;
    backdrop-filter: blur(2px);
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    height: 70%;
    max-height: 70vh;
    overflow: hidden;
    background: #fff;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border-radius: 8px;
    animation: fadeIn 0.5s;
}

.project-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.project-item button {
    margin-left: 10px;
    cursor: pointer;
}

.ref-data {
    height: 89%;
    max-width: 100%;
    overflow: auto;
    overflow-x: hidden;
    
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #555;
    cursor: pointer;
}

.close-btn:hover {
    color: red;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

.results {
    max-height: 400px;
    overflow-y: auto;
}

.reference-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.reference-item h3 {
    margin: 0;
    color: #007BFF;
}

.reference-item p {
    margin: 5px 0;
}

.reference-item pre {
    background: #f4f4f4;
    padding: 10px;
    white-space: pre-wrap;
}

.reference-row {
    border: 1px solid #ccc;
    margin: 10px 0;
    padding: 10px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.reference-row:hover {
    background-color: #f1f1f1;
}

.reference-heading {
    font-weight: bold;
    font-size: 16px;
}

.reference-details {
    display: none;
    padding: 10px;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
}

.reference-row.expanded .reference-details {
    display: block;
}


strong {
    font-size: 14px;
    color: darkblue;
}

p {
    font-size: 14px;
    font-weight: normal;
    padding: 0;
    margin-top: 5px;
}

.row-content {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-left: 4px solid #007bff;
    transition: all 0.3s ease-in-out;
}

/*
pre code {
    background: #607d8b73;
    display: block;
    padding: 10px;
    border-radius: 4px;
    overflow-x: hidden;
    text-wrap: auto !important;
    
}
*/

.clickable-example {
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    border: 1px solid #ccc;
    padding: 10px;
    background: #607d8b73;
    text-wrap: auto;
}

.clickable-example:hover {
    background: #e0e0e0;
}

.clickable-example pre code {
    white-space: pre-wrap;
    background: #607d8b73;
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px 0;
    font-family: monospace;
    color: #333;
    max-width: 100%;
}

pre {
    text-wrap-mode: wrap;
}

.popup-close-btn {
    cursor: pointer;
    padding: 5px 10px;
    border: none;
    background: #007BFF;
    color: white;
    border-radius: 3px;
    transition: background 0.3s ease-in-out;
}

.popup-close-btn:hover {
    background: #0056b3;
}

#message {
    display: none;
    position: absolute;
    top: 14.5%;
    right: 24%;
    border: 1px solid black;
    border-radius: 10px;
    color: black;
    font-size: 12px;
    padding: 5px;
    z-index: 99999;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.input-icons {
    width: 100%;
    margin-bottom: 10px;
}

.input-icons i {
    position: absolute;
}

.icon {
    min-width: 40px;
    font-size: 15px;
    padding: 10px 10px 10px 0px;
}

.input-field {
    width: 100%;
    padding: 5px;
    padding-left: 23px;
    border: 0;
    border-bottom: 1px solid darkgray;
}