html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* Custom styles for active menu items */
.nav-item.active > .nav-link,
.dropdown-item.active > .nav-link {
    color: #007bff; /* Bright blue text color */
    font-weight: bold; /* Make the text bold */
    transition: color 0.3s ease; /* Smooth transition */
}

    .nav-item.active > .nav-link:hover,
    .dropdown-item.active > .nav-link:hover {
        color: #66b2ff; /* Lighter blue text color on hover */
    }

/* Optional: Style the parent dropdown when a child is active */
.nav-item.dropdown.active > .nav-link {
    color: #007bff; /* Bright blue text color */
    font-weight: bold; /* Make the text bold */
    transition: color 0.3s ease; /* Smooth transition */
}


/* Default layout for laptops & PCs */
/*.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}*/

.source-editor,
.buttons,
.destination-editor {
    flex: 1;
    margin: 10px;
}

/* Responsive layout for mobile devices & tablets */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: stretch;
    }

    .source-editor,
    .buttons,
    .destination-editor {
        margin: 10px 0;
    }
}

 

.hide {
    display: none !important;
}


.full-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    /*z-index: 9999;*/
    background: var(--color-surface);
}

.editor-header {
    display: flex;
    justify-content: space-between;
    padding: 5px;
    background-color: grey;
    color: white;
}

/* Image to Base64*/

.file-upload-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    /*border: 2px dashed #ccc;*/
    /*text-align: center;*/
}

.file-upload-container input[type="file"] {
    display: none;
}

.file-upload-container .upload-area {
    padding: 40px;
    border: 2px dashed #ccc;
    cursor: pointer;
    font-size: 16px;
}

.file-upload-container .upload-area,
.textarea {
    color: var(--color-fg);
    background: var(--color-surface);
    border-color: var(--color-border);
}

.file-upload-container .output {
    margin-top: 20px;
}

.file-upload-container .output textarea {
    width: 100%;
    height: 100px;
    margin-top: 10px;
    padding: 10px;
}

.textarea {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    font-size: 12px;
    font-family: monospace;
    resize: none;
    padding: 5px;
    border: 2px dashed #cccccc
}

.drag-over {
    border: 2px dashed #007bff;
    background-color: grey;
}


.hand-coursor {
    cursor: pointer !important;
}

.editor-actions {
    user-select: none;
}


.editor-fullscreen {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999;
    background: var(--color-surface);
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

body.editor-fullscreen-active {
    overflow: hidden;
}