.content__section p,
.desk_feed p,
.content__section ol li {
    font-size: 18px !important;
    color: #000;
}

.contents p {
    font-size: 18px;
    color: #000;
}

.modal {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0 0 0 / 85%);
    transition: all 0.4s;
    z-index: 12;
}
.summarize_now {
    padding: 8px 15px;
    margin: 0;
    font-size: 16px;
    line-height: 18px;
    color: #fff;
    transition: 0.2s ease-in-out;
    background: #fa565d;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    min-width: 110px;
}
.summarize_now:hover {
    background: #f8424a;
}

.modal:target {
    visibility: visible;
    opacity: 1;
}

.modal__content {
    border-radius: 4px;
    position: relative;
    width: 500px;
    max-width: 90%;
    background: #ffffff;
    padding: 6em 1em;
}

.modal__footer {
    text-align: right;
}
.modal__footer a {
    color: #585858;
}
/* .modes_list .selected_mode {
    color: #000;
    padding: 4px 11px !important;
    letter-spacing: 0.02em;
} */
/* .premium_grad_text {
    margin: 0;
} */

.modal__close {
    position: absolute;
    top: -8px;
    right: 10px;
    font-size: 38px;
    color: #f70a0a;
    text-decoration: none;
}

.content_options {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.option {
    padding: 15px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.option:nth-child(1) {
    background: #feeaba;
}

.option:nth-child(2) {
    background: #d4eef7;
}

.option:nth-child(3) {
    background: #e1e8ed;
}

.option_box {
    border: 2px solid #ccc;
    padding: 10px;
    cursor: pointer;
}

.option_box:hover {
    background: #f8f8f8;
}

.modal {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0 0 0 / 85%);
    transition: all 0.4s;
    z-index: 12;
}

.modal:target {
    visibility: visible;
    opacity: 1;
}

.modal__content {
    border-radius: 4px;
    position: relative;
    width: 500px;
    max-width: 90%;
    background: #ffffff;
    padding: 6em 1em;
}
.modal__footer {
    text-align: right;
}
.modal__footer a {
    color: #585858;
}
.modal__close {
    position: absolute;
    top: -8px;
    right: 10px;
    font-size: 38px;
    color: #f70a0a;
    text-decoration: none;
}

.content_options {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.option {
    padding: 15px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.option:nth-child(1) {
    background: #feeaba;
}

.option:nth-child(2) {
    background: #d4eef7;
}

.option:nth-child(3) {
    background: #e1e8ed;
}

.option_box {
    border: 2px solid #ccc;
    padding: 10px;
    cursor: pointer;
}

.option_box:hover {
    background: #f8f8f8;
}

.content__section p,
.desk_feed p,
.content__section ol li,
.content__section ul li {
    font-size: 18px !important;
    color: #000;
}

.contents p {
    font-size: 18px;
    color: #000;
}

.paraphraser_input_box textarea {
    border: 1.5px solid #dee7ee;
}

.result_icon_i {
    border-radius: 4px !important;
}



span.words {
    color: #f70a0a;
    font-weight: 500;
}

.font-head {
    font-size: 20px;
    font-weight: 500;
}

.summ-panel-input-box .summorg-input-holder {
    text-decoration: none;
    display: block;
    position: absolute;
    font-size: 16px;
    color: #6e6e6e;
    padding: 20px;
    top: calc(22px + 20px);
}

.summorg-input-holder span a {
    text-decoration: underline;
    font-weight: 500;
    cursor: pointer;
}

.summorg-input-holder span a:hover {
    color: #000;
}
#nav-tabContent-article {
    height: 300px !important;
}
#total_words {
    flex-direction: column;
}

.upgrade_span {
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
    text-align: center;
}
.tool-text-copy {
    left: -10px !important;
}
#downTextTooltip {
    left: -15px !important;
}
#resetTextTooltip {
    left: -25px;
}

.upgrade_img {
    width: 14px;
}
.button_upload,
.result_option_box {
    min-width: 107px;
}
.result_option_box {
    justify-content: end;
}

.length_words {
    gap: 0px;
    justify-content: start !important;
}
.tool__footer_article {
    min-height: 68px;
}
.output_footer_article .result_options {
    min-height: 68px;
    padding: 16px;
}

#upload_LoBtn {
    gap: 5px;
    align-items: center;
}

/* Mobile Dropdown START */

/* Container for label and dropdown */
.dropdown-container {
    display: none;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    width: 100%;
}

/* Label */
.dropdown-label {
    color: #05103c;
    font-family: Roboto;
    font-size: 18px;
    font-weight: 500;
    line-height: 20px;
    text-align: right;
}

/* Dropdown container */
.dropdown {
    position: relative;
    width: 100%;
    max-width: 240px;
    min-width: 175px;
    font-size: 16px;
}

/* Selected item */
.dropdown-selected {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border: 1px solid #dce6f7;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s;
}

.dropdown-selected:hover {
    border-color: #007bff; /* Light blue hover effect */
}

/* Arrow */

.arrow {
    font-size: 16px;
    margin-left: 8px;
    transition: transform 0.3s ease;
    color: #666;
}

/* Rotate the arrow when the dropdown is active */
.dropdown-selected.active .arrow {
    transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px;
}

.dropdown-menu.d-none {
    display: none;
}

/* List items */
.dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px;
    cursor: pointer;
}

.dropdown-item:last-child {
    border-bottom: none;
}

/* Hover effect */
.dropdown-item:hover {
    background-color: #fff;
}

/* Active state */
.dropdown-item.active {
    background-color: #f7f8fc;
    border-radius: 6px;
}

/* Optional for better spacing */
.dropdown-item span {
    margin-right: auto;
}

/* Mobile Dropdown END */
@media (max-width: 768px) {
    .parent-div {
        flex-direction: column;
    }
    .result__expand,
    .upload_text {
        display: none;
    }
    .w-50 {
        width: 100% !important;
    }

    .summorg-input-holder {
        padding: 16px 24px !important;
        top: calc(50px + 20px) !important;
    }
    .modes_list {
        justify-content: center;
    }
}
@media (max-width: 550px) {
    .content_input_width .modes_list {
        display: none;
    }
    .content_input_width .dropdown-container {
        display: flex;
        justify-content: space-between;
    }
}

@media (max-width: 485px) {
    .button_upload {
        min-width: 83px;
    }
    .result_option_box {
        justify-content: end;
        min-width: 50px;
    }
    .tool__footer_article {
        padding: 0 12px;
    }
    .upload__button,
    .upload__button:hover {
        padding: 6px;
    }
    .result_options {
        padding: 0 16px;
    }
    .modes_list span {
        width: 100% !important;
        text-align: center !important;
        justify-content: center;
    }
}
