.form-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    max-width: 800px;
    border: 1px solid #e2e0e0;
    border-radius: 12px;
    background-color: var(--secondary-color);
    margin: auto;
    margin-bottom: 32px;
}

h2{
    font-size: 32px !important;
    font-weight: 600 !important;
    line-height: 48px !important;
}
h3{
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 35px !important;
}
.result_box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 800px;
    background-color: var(--secondary-color);
    border: 1px solid #e2e0e0;
    border-radius: 12px;
    margin: auto;
    margin-bottom: 32px;
    height: 280px;

}

.input-text {
    width: 100%;
    min-height: 140px;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 16px;
    border: none;
    border-radius: 5px;
    background-color: #F7F8FD;
    resize: none;
    font-family: var(--font-family-poppins);
}
.textarea_section {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 140px;
    border: 1px solid #000000;
    border-radius: 5px;
    background-color: #F7F8FD;
    font-family: var(--font-family-poppins);
}
.wordCounter {
    display: flex;
    min-height: 26px;
    justify-content: end;
    padding: 0px 16px 8px 10px;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: #717273;
}
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.result_options {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-radius: 12px 12px 0px 0px;
    background-color: #FBFBFB;
    border-bottom: 1px solid #E2E0E0;
}
.result_footor {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.modes_div{
    display: flex;
    column-gap: 20px;
    flex-wrap: wrap;
}
.modes_div .mode{
    padding: 10px;

    cursor: pointer;
}
.mode.selected{
    border-bottom: 2px solid #000000;
}
.download_div{
    display: flex;
    align-items: center;
}
.download_div img{
    cursor: pointer;
}
.result{
    padding: 13px;
    max-height: 150px;
    min-height: 150px;
    overflow-y: auto;
    background-color: #F7F8FD;
    border-radius: 8px;

    border: 1px solid #000000;
}
.counter_result{
    color: #E2E0E0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.counter_result span{
    font-size: 14px;
    font-weight: 400;
    color: #000;
}
.result_words{
    width: 72px;
}
.result_area{
    display: flex;
    flex-direction: column;
    padding: 13px;
    gap: 16px;
}
.checkboxes {
    display: flex;
    gap: 10px;
    padding: 0px 5px;
}

.char-count {
    font-size: 12px;
    color: #999;
}

.select-options {
    display: flex;
    gap: 15px;
    margin-top: 4px;
}

.select-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.tool-modes {
    padding: 8px;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    background-color: #ffffff;
    border: 1px solid #e2e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tool-modes p{
    font-size: 14px;
    font-weight: 500;
    color: #3A3A3A;
}
.label_description {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #717273;
}
.checkboxes span {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #3a3a3a;
}
.select-group label {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #717273;
}
.download .tooltiptext 
{  
    left: 114%;
 }
.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 26px;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.custom-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #ffffff;
    border-radius: 5px;
    border: 1px solid #e2e0e0;
}
#generate_caption{
 min-width: 176px;   
}
.custom-checkbox input:checked ~ .checkmark {
    background-color: #41b98e;
    border-color: #41b98e;
}
.tool_button{
    position: relative;
}
.captcha{
    position: absolute;
    bottom: 40px;

}
.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    background-image: url(/web_assets/frontend/images/check-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 13px;
    height: 10px;
    top: 4px;
    left: 3px;
}
.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.input-text::-webkit-scrollbar {
    width: 4px;
}
.input-text::-webkit-scrollbar-track {
    background-color: #cfcfcf;
}
.input-text::-webkit-scrollbar-thumb {
    background: #000;
}

.result::-webkit-scrollbar {
    width: 4px;
}
.result::-webkit-scrollbar-track {
    background-color: unset;
    border-radius: 6x;
}
.result::-webkit-scrollbar-thumb {
    background: #000;
    border-radius:20px;
}
.loading{
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 80%;
    position: absolute;
    border-radius: 5px;
    z-index: 10;
}
.loader{
    height: 0;
    width: 0;
    padding: 15px;
    border: 6px solid #dedede;
    border-right-color: #1e1f23;
    border-radius: 22px;
    animation: rotate 1s infinite linear;
    position: absolute;
    left: 47%;
    top: 35%;
    z-index: 11;
}
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.select-tone{
    position: relative;
    cursor: pointer;
}
.select-tone-options{
    position: absolute;
    width: 98%;
    z-index: 99;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e0e0;
    border-radius: 10px;
    top: 45px;
    left: 3px;
    padding: 8px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.select-tone-options span{
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #3A3A3A;
    cursor: pointer;
    padding: 8px 14px; 
    border-radius: 10px;
}
.tone_options {
    flex-direction: row;
    justify-content: space-between;
}
.features_insta_item{
    width: 50%;
}
.tone_options div{
    display: flex;
    flex-direction: column;
}
.features_insta h3{
    margin-bottom: 18px;
}
.select-tone-options span:hover{
   background-color: #F6F6F6; 
   color: #000000;
}
.content-container{
    max-width: 775px;
    margin: auto;
    text-align: center; 
}
.content-container p {
    margin-bottom: 80px;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    color: #3A3A3A;
}
.features_insta{
    display: flex;
    gap: 30px;
}
.content-container h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 48px;
    margin-bottom: 10px;
}
.announcement{
    display: flex;
    max-width: 785px;
    margin: auto;
    align-items: start;
    margin-bottom: 60px;
}
.announcement img{
    max-width: unset;
}
.announcement_text p, .announcement_text{
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: #3A3A3A;
}
a{
    text-decoration: none;
    text-decoration: underline;
    color: #3A3A3A;
}
.content-container ul, .content-container ol{
    text-align: start;
}
.content-container ul li, .content-container ol li{
    margin-left: 27px;
    color: #3A3A3A;
    line-height: 32px;
    margin-bottom: 10px;
}
li::marker {
   font-size: 18px !important;
   color: #3A3A3A;
}
@media screen and (max-width: 550px) {
    .features_insta_item {
        width: 100%;
        }
    .features_insta {
        flex-direction: column;
    }
    
.result {
    border-radius: 4px;
}
}
