@import url("/assets/css/colors.css");
@import url("/assets/css/common.css");
@import url("/language-translator/views/css/additional_toolbar_style.css");
@import url("/summarizer/views/css/summarizer-right-panel-style.css");

body {
    margin: 0;
    height: 100vh;
    background-color: var(--color-white);
}

.summarizer-title{
    margin: 0;
    margin-top: 15px;
    margin-bottom: 5px;
    color: var(--header-text-color);
    text-align: center;
    font-family: Satoshi;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.signin-with-google svg {
    vertical-align: sub;
}

.main-container {
    background: transparent;
    display: flex;
    flex-direction: row;
    height: calc(100vh - [header-height]);
    position: relative;
}

.includes-sidebar {
    width: 100px;
    height: 93vh;
    background: #f5f5f5;
}

.main-text-body-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: var(--color-blue-500);
}

#main-text-body {
    background: #fff;
    border-radius: 8px;
    padding-left: 24px;
    padding-top: 0px;
    padding-right: 24px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: var(--color-blue-500);
}

#main-text-body h1 {
    margin: 0;
    margin-top: 15px;
    margin-bottom: 5px;
    color: var(--Humanize-Dark-Blue-Dark-blue-700, #485c6e);
    text-align: center;
    font-family: Satoshi;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

#main-text-body p {
    margin: 0;
    color: var(--Humanize-Dark-Blue-Dark-blue-700, #485c6e);
    text-align: center;
    font-family: Satoshi;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.wrapper {
    display: flex;
    width: 100%;
    padding: 24px;
    height: auto;
    flex-direction: row;
    gap: 24px;
    padding-bottom: 40px;
    padding-right: 0px;
}

.body-wrapper {
    display: flex;
    width: 100%;
    height: auto;
    padding-bottom: 40px;
    flex-direction: column;
}

.languages-row{
    flex-direction: row;
    display: flex;
    gap: 10px;
    padding: 0px 1px;
}

.all-languages-button,
.language-item{
    height: 38px;
    padding: 4px 8px;
    font-family: Satoshi;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    color: var(--color-gray-400);
    cursor: pointer;
    border-width: 1px, 1px, 0px, 1px;
    border-style: solid;
    border-color: transparent;
    display: flex;
    align-items: center;
    gap: 4px;
}

.language-item svg{
    display: none;
}

.all-languages-button.active,
.language-item.active{
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0px 1px 6px 0px #0000001F;
    color: var(--color-gray-600);
    background-color: var(--color-white)
}

.language-dropdown {
    margin-top: 8px;
    flex-wrap: wrap;
    max-width: 60vw;
    gap: 12px;
    box-shadow: 0px 16px 32px -3px #00000014;
    background-color: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    position: absolute;
    z-index: 5;
    width: 480px;
    overflow-y: auto;
    display: none;
    flex-direction: column;
}

.language-dropdown-mobile {
    display: none;
}


.language-item:hover {
    background-color: #f0f0f0;
}

.language-section {
    position: relative;
    display: flex;
}

.language-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.all-language-item-mobile,
.all-language-item {
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    width: 140px;
    align-items: center;
    justify-content: space-between;
}

.all-language-item svg{
    height: 14px;
    width: 14px;
    display: none;
}

.all-language-item-mobile.active,
.all-language-item.active {
    border-left: 2px solid var(--color-primary-light);
    font-weight: 700;
    color: var(--color-text-505050);
}

.all-language-item.active svg {
    display: flex;
}

.all-language-item:hover {
    background-color: #ECECF7;
}

.language-items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.custom-mode-dropdown-overlay,
.mobile-word-length-overlay,
.language-dropdown-overlay {
    display: none;
}

.language-search {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 8px;
    padding: 12px 20px;
    border: 1px solid var(--color-blue-400);
    background-color: #FBFBFD;
    transition: all 0.3s ease;
    gap: 8px;
}

#languageSearchMobile,
#languageSearch {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    background: transparent;
    resize: none;
    min-height: 20px;
    line-height: 1.4;
    font-family: inherit;
}

.summarizer-wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-width: 1px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
    background-color: var(--color-white);
    border: 1px solid var(--border-color);
    box-shadow: 0px 1px 6px 0px #0000001F;
}

.modes-word-length-row{
    height: 48px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 32px;
    padding-right: 16px;
    padding-left: 16px;
    border-bottom: 1px solid var(--border-color);
    font-family: Satoshi;
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
}

.modes-title{
    color: var(--color-gray-500);
}

.modes-row{
    height: 48px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 16px;
    vertical-align: middle;
    color: var(--color-gray-500);
}

.mode-tooltip{
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    margin-top: 8px;
    background: #fff;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.2),
            0px 8px 24px -8px rgba(0, 0, 0, 0.2);
    white-space: normal;
    z-index: 10;
    width: 220px;
    max-width: 220px;
    word-break: break-word;
    color: #2F2F2F;
    font-family: Satoshi;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
}

.mode-tooltip-text{
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.modes-item{
    height: 48px;
    font-weight: 500;
    color: var(--color-gray-500);
    align-items: center;
    display: flex;
    cursor: pointer;
    white-space: nowrap;
    gap: 4px;
    position: relative;
}

.modes-item.active{
    font-weight: 500;
    color: var(--color-primary-light);
    border-bottom: 1px solid var(--color-primary-light);
}

.word-length{
    display: flex;
    flex-direction: row;height: 48px;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.word-length-slider-info-row-mobile{
    display: none;
}

.modes-title.word-length-mobile svg {
    display: none;
}

.desktop-colon-word-length {
    display: flex;
}

.mobile-word-length-overlay{
    display: none;
}

.word-length-slider {
    width: 162px;
    position: relative;
    margin: 40px 0;
}

.slider-track {
    width: 154px;
    height: 4px;
    background: #e8f3fa;
    border-radius: 6px;
    position: relative;
}

.slider-dot {
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: #adb5bd;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.slider-dot.active{
    background: var(--color-primary-light);
}

.slider-dot[data-index="0"] {
    left: 0px;
}

.slider-dot[data-index="1"] {
    left: 38.5px;
}

.slider-dot[data-index="2"] {
    left: 77px;
}

.slider-dot[data-index="3"] {
    left: 115.5px;
}

.slider-dot[data-index="4"] {
    left: 154px;
}

.slider-thumb {
    position: absolute;
    top: 50%;
    left: 0px;
    width: 18px;
    height: 18px;
    background: var(--color-primary-light);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    cursor: grab;
    transition: left 0.2s;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.15);
}

.slider-thumb:active {
    cursor: grabbing;
}

.input-output-wrapper{
    flex-direction: row;
    display: flex;
    height: 100%;
    width: 100%;
    min-height: 60vh;
}

.input-column {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100%;
    position: relative;
}

.input-mobile-header,
.output-mobile-header{
    display: none;
}

.input-text-area-container {
    flex: 1;
    height: 100%;
    width: 100%;
}

.paste-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 6px;
    cursor: pointer;
    align-items: center;
    gap: 8px;
    font-family: Satoshi;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    pointer-events: all;
    border: 1px solid #BFCFDE;
    background-color: #FBFBFD;
    height: 42px;
    border-width: 1px;
    flex-direction: row;
    display: flex;
    color: #265BAA;
    padding-left: 12px;
    padding-right: 12px;
}

.delete-input-output {
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 6px;
    cursor: pointer;
    align-items: center;
    pointer-events: all;
    border: 1px solid #BFCFDE;
    background-color: #FBFBFD;
    border-width: 1px;
    display: none;
    color: #265BAA;
    padding: 5px;
}

.delete-input-output:hover {
    transform: scale(1.1);
    background: #f8f9fa;
}

textarea::placeholder{
    color: var(--color-gray-100);
}

.language-summarizer-text-area {
    display: flex;
    border: none;
    outline: none;
    white-space: pre-wrap;
    overflow: scroll;
    resize: none;
    border-radius: 0px;
    padding-top: 12px;
    padding-right: 40px;
    padding-bottom: 12px;
    padding-left: 16px;
    grid-area: 2 / 1 / 3 / 2;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: Satoshi;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    flex: 1;
    height: auto;
    min-height: 100%;
    width: 100%;
    scrollbar-width: thin;
    transition: height 0.2s ease;
    -ms-overflow-style: none;
    color: var(--color-text-505050);
    scrollbar-width: none;  /* For Firefox */
    -ms-overflow-style: none;  /* For IE and Edge */

}

.scroll-container::-webkit-scrollbar {
  display: none;          /* For Chrome, Safari, and Opera */
}

.language-summarizer-text-area:disabled {
    background: transparent;
}

.language-summarizer-text-area::-webkit-scrollbar {
    display: none;
}

.summarize-resizer {
    cursor: col-resize;
    background: hsl(210, 16%, 93%);
    border-left: 0.5px solid #e9ecef;
    border-right: 0.5px solid #e9ecef;
    z-index: 2;
    transition: background 0.2s;
    display: block;
    border-radius: 2px;
}

.input-footer-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 68px;
    justify-content: space-between;
    gap: 8px;
    padding: 0px 16px;
    position: relative;
    border-top: var(--border-color) 1px solid;
}

.upload-file.mobile{
    display: none;
}

.upload-file {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
    font-family: Satoshi;
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    color: var(--text-secondary);
}

.upload-file:hover {
    background-color: #f5f5f5;
}

.upload-file input[type="file"] {
    display: none;
}

.summarize-button {
    padding: 8px 12px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--color-primary-light);
    font-family: Satoshi;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    display: flex;
    color: var(--color-white);
    cursor: pointer;
    gap: 8px;
    width: 120px;
    border: none;
}
.summarize-button:disabled {
    background: #6c757d;
    transform: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.summarize-button.mobile{
    display: none;
}

.buttons-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 68px;
    justify-content: end;
    gap: 8px;
}

.buttons-row.output{
    display: none;
}

.character-count {
    font-family: Roboto;
    font-weight: 500;
    font-size: 12px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    color: var(--text-secondary);
}

.output-column {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100%;
    position: relative;
    /* border-left: 0.5px solid var(--border-color); */
}

.output-wrapper {
    position: relative;
    flex: 1;
    overflow: hidden;
    /* border-bottom: var(--border-color) 1px solid; */
}

.shimmer-wrapper {
    padding: 16px;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
}

.shimmer-line {
    height: 12px;
    background: #f0f0f0;
    margin-bottom: 10px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.shimmer-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150px;
    height: 100%;
    width: 150px;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.6) 50%,
            transparent 100%);
    animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

/* Width variations for realism */
.shimmer-line.short {
    width: 40%;
}

.shimmer-line.medium {
    width: 60%;
}

.shimmer-line.long {
    width: 80%;
}

.shimmer-line:not(.short):not(.medium):not(.long) {
    width: 100%;
}

.output-area {
    display: block;
    white-space: normal;
    padding: 15px 45px 15px 15px;
    background: var(--color-white);
    width: 100%;
    line-height: 150%;
    overflow-y: auto;
    height: 100%;
    font-family: Satoshi;
    font-weight: 400;
    font-size: 14px;
    color: var(--color-text-505050);
    scrollbar-width: thin;
}

.output-footer-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 68px;
    justify-content: space-between;
    gap: 8px;
    padding: 0px 16px;
    border-top: var(--border-color) 1px solid;
}

.download-output,
.expand-collapse-output,
.dots-verticle-menu,
.word-length-mobile-button,
.copy-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.download-output:hover,
.copy-summary:hover {
    background-color: #f5f5f5;
}

.download-output svg,
.copy-summary svg {
    width: 16px;
    height: 16px;
}

.expand-collapse-output,
.word-length-mobile-button,
.dots-verticle-menu {
    display: none;
}

.download-dropdown {
    position: relative;
    display: inline-block;
}

.download-dropdown-content {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 0;
    background-color: white;
    min-width: 170px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 1000;
    border: 1px solid #e9ecef;
    margin-bottom: 8px;
}

.download-dropdown-content.show {
    display: block;
}

.download-option {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.download-option span {
    font-size: 12px;
}

.download-option:last-child {
    border-bottom: none;
}

.download-option:hover {
    background-color: #f8f9fa;
}

.download-option:first-child {
    border-radius: 8px 8px 0 0;
}

.download-option:last-child {
    border-radius: 0 0 8px 8px;
}

.download-option-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-output {
    position: relative;
    cursor: pointer;
}

.download-output::after {
    /* content: ''; */
    position: absolute;
    top: -2px;
    right: -2px;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-bottom: 3px solid #757682;
    transition: transform 0.3s ease;
}

.download-output.active::after {
    transform: rotate(180deg);
}

.humanize-ai-button {
    display: block;
}

.humanize-ai-button.mobile {
    display: none;
}

.humanize-btn {
    background-color: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    color: #717171;
    font-size: 14px;
    align-items: center;
    font-weight: 500;
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.humanize-btn:hover {
    background-color: #f5f5f5;
}

.summarize-button-loader {
    width: 20px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    border-right-color: var(--color-primary-light);
    animation: l2 1s infinite linear;
}

@keyframes l2 {
    to {
        transform: rotate(1turn)
    }
}

.additional-toolbar{
    justify-content: start;  
    padding-top: 32px;  
}

@media (max-width: 990px) {
    .additional-toolbar {
        display: none !important;
        ;
    }
}

#custom-mode-btn {
    position: relative;
}

.custom-dropdown {
    position: absolute;
    z-index: 1000;
    border-radius: 8px;
}

.dropdown-custom-content {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    gap: 8px;

    /* Animation properties */
    animation: slideDownFadeIn 0.3s ease-out forwards;
    opacity: 0;
    transform: translateY(-8px);
}

@keyframes slideDownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-dropdown-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-505050);
}

#customModeTextArea::placeholder {
    color: #717171;
    font-size: 14px;
    font-weight: 400;
}

.dropdown-input-wrapper {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

#customModeTextArea {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-weight: 400;
}

#customModeOption {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 16vw;
}

.suggestions-section h4{
    margin-bottom: 8px;
    color: var(--color-text-505050);
    font-weight: 700;
    font-size: 14px;
}

.suggestion-tag{
    border-radius: 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 990px) {
    .includes-sidebar {
        width: auto !important;
    }

    #main-text-body {
        padding-top: 60px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .wrapper {
        padding: 24px 0px !important;
    }

    .summarizer-wrapper {
        box-shadow: none;
        border: none;
    }

    .input-column,
    .output-column {
        width: 100%;
        border: 1px solid var(--border-color);
        box-shadow: 0px 1px 6px 0px #0000001F;
        border-radius: 12px;
        min-height: 400px;
    }

    .output-column {
        margin-bottom: 40px;
    }

    .input-output-wrapper {
        border: none;
        box-shadow: none;
        flex-direction: column;
        border-radius: 0px;
        gap: 12px;
        height: fit-content;
        max-height: fit-content;
    }

    .input-mobile-header,
    .output-mobile-header {
        display: flex;
        width: 100%;
        height: 68px;
        border-bottom: var(--border-color) 1px solid;
        gap: 12px;
        align-items: end;
        padding: 0px 12px;
        justify-content: space-between;
        border-bottom: var(--border-color) 1px solid;
    }

    .input-mobile-header{
        align-items: center;
    }

    .modes-word-length-row{
        height: 0px;
    }

    .modes-row.desktop{
        display: none;
    }

    .modes-row{
        overflow: scroll;
        scrollbar-width: none;
    }

    .word-length{
        position: fixed;
        bottom: 0px;
        left: 0px;
        right: 0px;
        background-color: white;
        z-index: 10002;
        padding: 12px 0px;
        border: 1px solid var(--border-color);
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        box-shadow: 0px 1px 6px 0px #0000001F;
        display: none;
        justify-content: start;
        height: fit-content;
        flex-direction: column;
    }

    .modes-title.word-length-mobile{
        color: var(--color-gray-500);
        justify-content: space-between;
        display: flex;
        width: 100%;
        padding: 16px;
        border-bottom: 1px solid #D3D3D3;
    }

    .word-length-slider-info-row-mobile {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        padding: 16px;
        padding-top: 0px;
    }

    .word-length-slider-info-column-mobile.right{
        display: flex;
        flex-direction: column;
        align-items: end;
    }

    .word-length-slider-info-column-title{
        font-family: Satoshi;
        font-weight: 700;
        font-style: Bold;
        font-size: 14px;
        line-height: 150%;
        color: #505050;
    }

    .word-length-slider-info-column-subtitle{
        font-family: Satoshi;
        font-weight: 400;
        font-style: Bold;
        font-size: 12px;
        line-height: 150%;
        color: #8D8D8D;
    }

    .modes-title.word-length-mobile svg{
        display: flex;
    }

    .desktop-colon-word-length{
        display: none;
    }

    .word-length-slider{
        width: 100%;
        padding: 0px 12px;
        margin: 20px 0px;
    }

    .slider-track {
        width: 100%;
    }

    .slider-dot[data-index="0"] {
        left: 0%;
    }

    .slider-dot[data-index="1"] {
        left: 25%;
    }

    .slider-dot[data-index="2"] {
        left: 50%;
    }

    .slider-dot[data-index="3"] {
        left: 75%;
    }

    .slider-dot[data-index="4"] {
        left: 100%;
    }

    .all-languages-button-mobile{
        flex-direction: row;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .summarize-resizer {
        display: none;
    }

    .input-text-area-container {
        display: flex;
    }

    .languageTranslatorTextArea {
        height: auto;
    }

    .summarize-button.mobile {
        display: flex;
    }

    .custom-dropdown.mobile{
        position: fixed;
        left: 0px;
        right: 0px;
        bottom: 0px;
        width: 100%;
        z-index: 10002;
    }

    .dropdown-custom-content.mobile{
        width: -webkit-fill-available;
        bottom: 0px;
    }

    .languages-row {
        display: none;
    }

    .language-selector {
        background-color: transparent;
        border: none;
        width: auto;
        gap: 12px;
        margin-left: 8px;
        margin-right: 8px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .language-dropdown-icon {
        display: none;
    }

    .language-selector-text {
        padding-left: 0px;
    }

    .output-area {
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .buttons-row.input {
        display: none;
    }

    .upload-file.mobile{
        display: flex;
        border: 1px solid var(--border-color);
        position: absolute;
        top: calc(50% + 52px);
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 6px;
    }

    .paste-button{
        padding-left: 16px;
        padding-right: 16px;
    }

    .input-footer-row {
        justify-content: center;
    }

    .delete-input-output {
        bottom: 18px;
        right: 16px;
        top: auto;
        z-index: 1;
    }

    .character-count.output {
        position: absolute;
        top: 25px;
        left: 0px;
        right: 0px;
        display: none;
    }

    .humanize-ai-button {
        display: none;
    }

    .humanize-ai-button.mobile {
        display: block;
    }

    .output-footer-buttons-row {
        flex-direction: row;
        display: flex;
        gap: 10px;
    }

    .expand-collapse-output,
    .dots-verticle-menu {
        display: flex;
    }

    .word-length-mobile-button{
        display: flex;
        margin-bottom: 8px;
    }

    .mobile-word-length-overlay {
        height: 100vh;
        width: 100vw;
        display: none;
        position: absolute;
        top: 0px;
        bottom: 0px;
        right: 0px;
        left: 0px;
        background: rgb(0, 0, 0, 0.34);
        z-index: 10000;
    }

    .mobile-word-length-container {
        display: flex;
        position: fixed;
        bottom: 0px;
        left: 0px;
        right: 0px;
        background-color: white;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        align-items: center;
        justify-content: start;
        padding: 0px 20px;
    }

    .word-length-column-mobile{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: start;
        gap: 20px;
        width: 100%;
        justify-content: space-between;
    }

    .buttons-row.output {
        justify-content: space-between;
        flex: 1;
        display: flex;
    }

    .output-footer-row {
        display: flex;
    }

    .translate-button.mobile {
        display: flex;
    }

    .download-dropdown-content {
        left: 0px;
    }

    .content-header.mobile {
        justify-content: space-between;
        padding: 0px 16px;
        display: flex;
        min-height: 68px;
    }

    .language-dropdown-mobile {
        margin-top: 8px;
        max-width: 100%;
        gap: 12px;
        box-shadow: 0px 16px 32px -3px #00000014;
        background-color: var(--color-white);
        border: 1px solid var(--border-color);
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        padding: 12px;
        position: absolute;
        z-index: 5;
        width: 100%;
        overflow-y: auto;
        display: none;
        flex-direction: column;
        bottom: 0px;
        height: 50vh;
        align-items: center;
        justify-content: end;
        padding: 0px;
        overflow-x: hidden;
        scrollbar-width: none;
    }

    .language-items-container-mobile {
        display: flex;
        flex-wrap: unset;
        flex-direction: column;
        overflow-y: scroll;
        max-height: 50vh;
        width: 100%;
        padding: 6px;
        flex: 1;
    }

    .custom-mode-dropdown-overlay,
    .mobile-word-length-overlay,
    .language-dropdown-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 10001;
    }

    .all-language-item-mobile{
        padding: 10px 10px;
    }

    body.no-scroll {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    .language-search.mobile {
        width: calc(100vw - 32px);
        margin: 16px;
        margin-bottom: 0px;
    }

    .input-language-item,
    .output-language-item {
        width: 100%;
        padding: 12px 10px;
    }

    .input-language-dropdown-title,
    .output-language-dropdown-title {
        width: 100%;
        height: 56px;
        justify-content: start;
        padding: 16px;
        border-bottom-width: 1px;
        border-bottom: 1px solid #D3D3D3;
        font-family: Satoshi;
        font-weight: 700;
        font-size: 16px;
        line-height: 150%;
        letter-spacing: 0%;
        vertical-align: middle;
        color: var(--color-gray-500);
    }

    .mobile-search-box {
        border-top: 1px solid #F1F1F1
    }

    .language-summarizer-right-panel {
        position: absolute !important;
        bottom: 0px;
        left: 0px;
        top: auto;
        right: 0px !important;
        width: 100% !important;
        z-index: 100001 !important;
        height: 50vh !important;
    }
}


.modes-premium-icon {
    position: relative;
    top: 2px;
}

.premium-feature-banner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 19px 24px;
  background-color: #F2F2F9;

}

.premium-feature-content {
  background-color: var(--color-white);
  box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.12);
  border-radius: 5px;
  align-items: center;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: relative;
}


.circle-1-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
}

.circle-2-bottom {
  position: absolute;
  bottom: 0px;
  left: 0;
}

.circle-3-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
}

.circle-1-top {
  position: absolute;
  top: 0;
  right: 0;
}

.circle-2-top {
  position: absolute;
  top: 0;
  right: 30px;
}

.circle-3-top {
  position: absolute;
  top: 0;
  right: 0;
}

.premium-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  align-items: center;
}

.premium-feature-of-mode {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  width: 72%;
  padding: 10px;
  margin: auto;
}

.mode-types {
  background-color: #e9e9f3;
  color: #717171;
  font-weight: 500;
  font-size: 14px;
  padding: 2px 4px;
  border-radius: 6px;
}

.premium-feature-quality {
  color: #717171 !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  text-align: center !important;
}
/* ******************************** Premium Button Styles ****************************************** */

.premium-upgrade-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #3C72E6, #4EC1C9);
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  margin: auto;
  width: 200px;
  height: 40px;
  justify-content: center;
}

.premium-upgrade-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(60, 114, 230, 0.3);
}
/* ******************************** Premium Button Styles ****************************************** */
.mode-banner-title {
  color: var(--color-primary-dark) !important;
  font-weight: 700 !important;
  font-size: 18px !important;
}

.mode-banner-description {
  color: #717171 !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  text-align: center !important;
  width: 70% !important;
}

/* ******************************* Download Premium Popup ****************************************** */

.premium-popup-card {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  padding: 20px;
  margin-bottom: 15px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1), inset 0 0 16px rgba(255, 255, 255, 1);
  background: var(--color-white);
  backdrop-filter: blur(16px) saturate(200%);
}

@media (max-width: 786px) {
  .premium-popup-card {
    display: none !important;
  }
}

.premium-popup-card::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: white;
  background: linear-gradient(135deg, rgba(38, 91, 170, 0.15) 0%, rgba(38, 91, 170, 0.1) 30%, rgba(38, 91, 170, 0) 70%);
}

.premium-popup-card::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 9px solid transparent;
  border-top-color: #e0e0e0;
  z-index: -1;
    background: linear-gradient(135deg, rgba(38, 91, 170, 0.15) 0%, rgba(38, 91, 170, 0.1) 30%, rgba(38, 91, 170, 0) 70%);

}

.download-output:hover .premium-popup-card {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}
/* ******************************* Download Premium Popup ****************************************** */
.slider-premium-icon {
    position: absolute;
    top: -7px;
    left: -5px;

}

.premium-popup {
    position: absolute;
    background: linear-gradient(to right bottom, rgb(230, 237, 243), rgb(255, 255, 255));    
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 16px;
    width: 300px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    transform: translateY(8px);
    top: 100%;
    left: 50%;
    margin-top: 8px;
    transform: translateX(-50%);
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.premium-popup p {
    margin: 0 0 8px 0;
}

.word-exceeded {
  display: flex;
  color: #F74545;
  font-size: 12px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.popup-message {
    padding: 4px 0px;
    font-weight: 500 !important;
}

@media (max-width: 786px) {
    .output-column {
        min-height: 600px;
    }
    .mode-types {
        font-size: 12px;
    }

}


/* *********************************************** Modal Popup Styles *************************************** */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease-out;
}

.popup-modal {
  background: white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  width: 50vw;
  max-height: 90vh;
  animation: slideIn 0.3s ease-out;
  
  overflow-y: auto; /* Ensure scrolling works */
  
  /* Hide scrollbar for Chrome, Safari, Opera, Edge */
  &::-webkit-scrollbar {
    display: none; /* Completely hides the scrollbar */
    width: 0; /* Removes scrollbar space */
    height: 0;
  }
  
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */

}

@media (max-width: 786px) {
  .popup-modal {
    width: 100% !important;
  }
  .verify-container-guest {
    width: 100vw !important;
  }
  .humanize-content-logo {
    display: none !important;
  }
}


.elab-content{
  border-top: 1px solid var(--color-white);
  border-bottom: 1px solid var(--color-white);
  padding: 20px 0px;
}

.elab-content-item {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 10px 0px;

}

.humanize-user-statistics-item {
  background-color: var(--color-white);
  padding: 2px 8px;
  border-radius: 6px;
  gap: 2px;
  width: fit-content;
  align-items: center;
  display: flex;
}

.humanize-user-statistics {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0px;
}

.humanize-user-statistics-item span {
  color: var(--color-primary-dark);
  font-weight: 500;
  font-size: 12px;
}

.elab-content-item p {
 color: var(--color-white);
 margin: 0px;
}

.popup-header {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  /* padding: 24px 24px 16px; */
  border-bottom: 1px solid #e9ecef;
}

.humanize-content {
  padding: 13px;
}

.humanize-content-title{
  color: #92B2D1;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}

.humanize-content-strong{
  color: var(--color-white);
  font-style: italic;
}

.humanize-content-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
}

.popup-header h2 {
  margin: 0;
  color: #333;
  font-size: 24px;
}

.popup-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.popup-close:hover {
  background: #f8f9fa;
  color: #333;
}

.close-popup-icon-desktop{
  cursor: pointer;
}



.limit-popup {
  /* text-align: center; */
  display: flex;

}


@media (max-width: 786px) {
  .limit-popup {
    flex-direction: column;
  }
  .popup-modal {
    max-height: 100dvh;
    width: 100vw;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .sign-up-container-guest {
    width: 100vw !important;
  }

  .sign-up-container {
     width: 100vw !important;
  }

  .humanize-content {
       width: 100vw !important;
  }
}

.sign-up-container {
  width: 50vw;
  padding: 20px;
}

.sign-up-container-guest{
    width: 50vw;
    display: flex;
    flex-direction: column;
    gap: 10px;
  padding: 70px 20px 20px 20px;
}

.guest-premium-content-container{
  padding: 24px 0px;
  border-top: 1px solid #F1F1F1;
  border-bottom: 1px solid #F1F1F1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.signin-with-google{
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid #6A94C4;
  display: flex;
  justify-content: center;
  align-items: center;
    width: 100%;
}

.already-have-account{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.daily-limit-icon {
  padding: 2px 8px;
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid #882626;
  background-color: #FEECEC;
  width: fit-content;
  border-radius: 6px;
  color: #AF3131;
}

.guest-premium-content{
  font-weight: 400;
  font-size: 14px;
  color: #2F2F2F;
}

.daily-limit-icon-guest {
    padding: 2px 8px;
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid #B0A024;
  background-color: #FEFCEB;
  width: fit-content;
  color: #685F15;
  border-radius: 6px;
   font-weight: 700;
  font-size: 12px;
}

.view-price-pricing{
  background-color: var(--color-primary-light);
  color: var(--color-white);
  align-items: center;
  border: none;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
}

@media (max-width: 786px) {
  .limit-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0px 20px;
  }
}

@media (min-width: 787px) {
  .limit-popup-header {
    display: none;
  }
}

.view-price-pricing:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

.upgrading-text {
  padding: 5px 0px;
  margin: 0px;
}

.unlock-premium-title {
  color: #2F2F2F;
  font-weight: 700;
  font-size: 16px;
}

.unlock-premium-title-guest {
    color: #2F2F2F;
  font-weight: 700;
  font-size: 22px;
}

.all-premium-unlock-features{
  padding: 10px 0px;
}

.all-premium-unlock-features-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 4px 0px;
  color: #2F2F2F;
}

.bold-content {
  font-weight: 700;
}

.premium-unlock-features-content{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.italic-logo {
  color: var(--color-primary-dark);
  font-style: italic;
}

.daily-limit-icon span {
  color: #AF3131;
  font-weight: 700;
  font-size: 12px;
  margin-top: 3px;
}

.humanize-content {
  width: 50vw;
  /* height: 70vh; */
  background-color: var(--color-primary-dark);
}

.popup-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

  .verify-container-guest {
    width: 50vw;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
  }

  .verify-premium-content-container {
    padding: 4px 0px;
    border-top: 1px solid #F1F1F1;
    border-bottom: 1px solid #F1F1F1;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

/* *********************************************** Modal Popup Styles *************************************** */

.premium-feature-container {
    padding: 10px;
  }

@media (max-width: 786px) {
   .premium-feature-container {
    padding: 0px;
  }
}
.bottom-modal-freeze-header{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid var(--Humanize-Grey-grey-100, #d3d3d3);
}

  .bottom-modal-freeze-header h2 {
    color: var(--Humanize-Tropical-Blue-tropical-blue-900, #595a64);
    font-family: Satoshi;
    font-size: 16px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
  }

    .close-btn-freeze {
    float: right;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
  }


  @media (max-width: 786px) {
    .premium-popup {
        display: none !important;
    }
  }