body section.fullscreen-mode {
    width: 95vw;
    position: relative;
    left: -350px;  /* Replace <PARENT_MARGIN/PADDING_VALUE_HERE> with the actual value */
    /* z-index: 1000; */ /* Ensures the section is on top */
    height: 91vh;  /* Sets the section height to 3/4 of the viewport height */
    /* overflow: auto; */ /* Enables scrolling if inner content exceeds the height */
}

body section.fullscreen-mode .container-tool {
    width: 100%;
    max-width: none;
    margin: 0;
    height: 100%;  /* Ensures the container spans the entire height of the section */
}



/* .fullscreen {
  position: absolute;
  top: 100px; 
  left: 0;
  
} */

.ace_scrollbar::-webkit-scrollbar {
    height: 12px;
    width: 10px;
}

.ace_scrollbar::-webkit-scrollbar-track
{
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #fff; /* Matches ace monokai */
    border-radius: 10px;
}

.ace_scrollbar::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
    border-radius: 10px;
}
.ace_scrollbar.ace_scrollbar-h::-webkit-scrollbar {
    height: 12px;
}


.toolTitle {
    color: #000;
    font-weight: bold;
    font-size: 18px;
}
.ace_editor {
    font-family: 'Roboto Mono', monospace;
    font-size: 13px;
}
.container-tool {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    /* padding: 0 10px */
}

.tool-section {
    min-height: 450px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 7px 0 #e5dfdf;
    position: relative;
    max-width: 100%;
}

/* Fullscreen styles */  
.tool-section.fullscreen {
    min-height: auto;
    height: 100%;
  }

.converter-tool-section-area button.tool-button-s {
    background: var(--converter-color)
}

.tool-header {
    background-color: #edf3fc;
}
.tool-header select {
    color: #181818!important
}

.tool-header .header__input {
    max-width: 50%!important;
    width: 100%;
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 10px
}

.tool-header .header__input p {
    min-width: 90px
}

.tool-header .header__input input {
    width: 100%;
    min-width: 250px;
    padding: 7px;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    font-size: 16px
}

.flex {
    display: flex;
    align-items: center
}

.flex-sb {
    justify-content: space-between
}

.flex-c {
    justify-content: center
}

.flex-se {
    justify-content: space-evenly
}

.flex-ic {
    align-items: center!important
}

.flex-st {
    justify-content: flex-start
}

.flex-e {
    justify-content: flex-end
}

.flex-cg-10 {
    column-gap: 15px
}
.section1-maintools .flex-element:hover>.flex-sb .tag-number {
    color: #fff
}
.section1-maintools .flex-element:hover>.flex-sb-more div .view-more {
    color: #fff
}

.section1-maintools .flex-element:hover>.flex-sb-more div .arrow {
    filter: brightness(0) invert(1)
}

.flex-converter:hover>.flex-sb .converter-tag-btn {
    background: #fff;
    color: var(--converter-color)
}

.flex-validator:hover {
    background: var(--validator-color)
}

.flex-validator:hover>.flex-sb .validator-tag-btn {
    background: #fff;
    color: var(--validator-color)
}

.flex-beautifier:hover {
    background: var(--beautifier-color)
}

.flex-beautifier:hover>.flex-sb .beautifier-tag-btn {
    background: #fff;
    color: var(--beautifier-color)
}

.flex-minifier:hover {
    background: var(--minifier-color)
}

.flex-minifier:hover>.flex-sb .minifier-tag-btn {
    background: #fff;
    color: var(--minifier-color)
}

.p-20 {
    padding: 15px
}
.b-b {
    border-bottom: 1px solid #d2d2d2
}

.b-r {
    border-right: 1px solid #d2d2d2
}
.input-div,.output-div {
    width: 50%;
    height: 346px
}

.input-div textarea {
    width: 100%;
    border: none;
    height: 280px;
    resize: none;
    padding: 15px;
    font-size: var(--font-size-x-default);
    color: var(--background-dark-gray);
    overflow-x: hidden;
    word-break: break-all;
    border-bottom: 1px solid #80808057
}

.output-div textarea {
    width: 100%;
    border: none;
    height: 280px;
    resize: none;
    padding: 15px;
    font-size: var(--font-size-x-default);
    color: var(--background-dark-gray);
    border-bottom: 1px solid #80808057
}
.flex-cg-10 {
    column-gap: 15px
}

[data-tooltip] {
    position: relative;
    display: inline-block
}

[data-tooltip]:hover:after,[data-tooltip]:hover:before {
    opacity: 1
}

[data-tooltip]:after,[data-tooltip]:before {
    position: absolute;
    top: -8px;
    left: 50%;
    z-index: 9999;
    opacity: 0
}

[data-tooltip]:before {
    content: "";
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    border-width: 4px 6px 0;
    border-style: solid;
    border-color: rgba(0,0,0,.8) transparent transparent
}

[data-tooltip]:after {
    width: max-content;
    content: attr(data-tooltip);
    -webkit-transform: translateX(-50%) translateY(-100%);
    -ms-transform: translateX(-50%) translateY(-100%);
    transform: translateX(-50%) translateY(-100%);
    background: rgba(0,0,0,.7);
    text-align: center;
    color: #fff;
    padding: 4px 2px;
    font-size: 12px;
    min-width: 80px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    pointer-events: none;
    padding: 4px
}

[data-tooltip].active:after {
    content: attr(data-tooltip-active)!important
}

[data-tooltip].nav-tab-active:after {
    opacity: 0
}

[data-tooltip].nav-tab-active:before {
    opacity: 0
}

[data-tooltip].nav-tab.active:after {
    opacity: 0
}

[data-tooltip].nav-tab.active:before {
    opacity: 0
}
button.tool-button-s {
    border: none;
    color: #fff;
    padding: 7px 40px;
    border-radius: 5px;
    font-size: var(--font-size-x-default);
    font-weight: 100;
    cursor: pointer
}
.converter-tool-section-area button.tool-button-s {
    background: var(--converter-color)
}

.beautifier-tool-section-area button.tool-button-s {
    background: var(--beautifier-color)
}

.validator-tool-section-area button.tool-button-s {
    background: var(--validator-color)
}

.minifier-tool-section-area button.tool-button-s {
    background: var(--minifier-color)
}

.othertool-tool-section-area button.tool-button-s {
    background: var(--othertool-color)
}

.cryptography-tool-section-area button.tool-button-s {
    background-color: var(--cryptography-color)!important
}

.generator-tool-section-area button.tool-button-s {
    background-color: var(--randomtool-color)!important
}

.Generator-tool-section-area button.tool-button-s {
    background-color: var(--randomtool-color)!important
}
.input-div,.output-div {
    width: 50%;
    height: 370px
}

.icon-output {
    width: auto;
    height: 42px;
    cursor: pointer
}
.icon-top {
    width: auto;
    height: 42px;
}
.file_upload {
    width: 26px;
    cursor: pointer
}
.url_link {
    width: 22px;
    cursor: pointer
}

.sample {
    width: 26px;
    cursor: pointer
}
.ace_editor {
    border-bottom: 1px solid #80808057;
}
.header-right {
    justify-content: flex-end;
}



@media screen and (max-width: 500px) {
    .container-tool {
        max-width: 100%
    }
    .tool-section {
        min-height: 750px
    }
    .b-r {
        border-bottom: 1px solid #d2d2d2;
        border-right: none
    }
    .input-div,.output-div {
        width: 100%
    }

}

@media (max-width: 768px) {
    .tool-area {
        flex-direction: column;
    }
    .tool-section {
        box-shadow: none;
    }
    

    .input-div, .output-div {
        height: 450px;
        display: block;
        width: 100%;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        border: 1px solid #e1e1e1;
    }

    .input-div {
        
        margin-bottom: 30px;
        border-bottom: 1px solid #ccc;
    }
    .output-div {
        margin-bottom: 30px;
    }


}
.b-r {
    border-right: none;
}


@media (min-width: 769px) {
    .b-r {
        border-right: 1px solid #e0e0e0;
    }
    /* .tool-section.fullscreen {
        position: fixed; 
        top: 75px; 
        left: 0;
        width: 100%;
        height: calc(100% - 75px); 
        z-index: 9999;
      } */
      /* .tool-section.fullscreen {
        position: absolute;
        top: 100px;
        left: 0;
        right: 0;
        bottom: 100px;
      } */
}

