* {
    padding: 0px;
    margin: 0px;
    font-family: "Poppins",
        sans-serif;
    box-sizing: border-box;
}

:root {
    --primary-color: #009688;
    --ligth-bg: #f5f7fdaf;
}


.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-light {
    background-color: var(--ligth-bg);
}

button {
    font-size: 16px !important;
}

.header__section {
    max-width: 720px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;

    p {
        text-align: center;
    }
}

h1 {
    font-size: 38px !important;
    font-weight: 600 !important;
}

h2 {
    font-size: 28px !important;
    font-weight: 600 !important;
}

h3 {
    font-size: 20px !important;
    font-weight: 600 !important;

}

p {
    font-size: 18px !important;
}

.logo__icon svg {
    background: linear-gradient(180deg, var(--primary-color), #000000) !important;
}

.hero {
    background: linear-gradient(-45deg, var(--ligth-bg), #0096880f);
    min-height: 660px !important;
}

.tool_wrapper {
    box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px,
        rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px,
        rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px,
        rgba(42, 51, 70, 0.04) 0px 6px 6px -3px,
        rgba(14, 63, 126, 0.04) 0px 12px 12px -6px,
        rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
}

.d-none {
    display: none !important;
}

.bg-shadow {
    background: linear-gradient(-45deg, var(--ligth-bg), #0096880f);
}

.tool_wrapper {
    width: 75vw !important;
    margin: auto;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    margin-top: 20px;

    .tool {
        min-height: 380px;
        display: flex;
        margin-bottom: 10px;
        gap: 10px;
    }

    .input_sec {
        min-height: 100%;
        display: flex;
        width: 100%;
        border-radius: 12px;
        padding: 10px;
        border: 1px dashed var(--primary-color);
    }

    .output_sec {
        min-height: 100%;
        display: flex;
        width: 100%;
        flex-direction: column;
        height: inherit;
        gap: 20px;
        border: 1px dashed var(--primary-color);
        border-radius: 12px;
        padding: 10px;
    }

    .image_card_wrapper {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-height: 300px;
        overflow-y: auto;
        padding-right: 10px;
    }

    .output__options {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .clear_all {
        background-color: rgb(243, 243, 243);
        padding: 6px 30px;
        border-radius: 7px;
        color: #000;
    }

    .convert_all {
        background: linear-gradient(0deg, #000, var(--primary-color));
        padding: 6px 30px;
        border-radius: 7px;
        color: #fff;
    }
}

.feature_cards
{
    background: linear-gradient(-45deg, var(--ligth-bg), #0096880f);
}

.uses__cards {
    flex-direction: column;
    gap: 20px;
}

.image_card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(-45deg, var(--ligth-bg), #89fff40f);
    padding: 5px;
    padding: 10px;
    border-radius: 12px;
    padding-right: 25px;

    >div {
        display: flex;
        gap: 24px;
        align-items: center;

        img {
            width: 60px;
            height: 60px;
            border: 1px solid var(--primary-color);
            border-radius: 7px;
            padding: 5px;
            border-radius: 12px;
        }

        .image__info {
            font-size: 14px;
            display: flex;
            flex-direction: column;
            justify-content: center;

            p {
                font-size: 16px !important;
            }
        }
    }

    button {
        img {
            width: 16px;
        }
    }


}


.custom-scrollbar {
    overflow-y: auto;
}


.custom-scrollbar::-webkit-scrollbar {
    width: 12px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), #000000) !important;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-color), #000000) !important;
}

/* Custom Scrollbar for Firefox */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}


.output_results__wrapper {
    width: 100%;

    .result__startover {
        display: flex;
        justify-content: space-between;
        width: 98%;
        margin: 0px auto;
        margin-bottom: 10px;
        align-items: center;

        span {
            color: #808080;
        }

        button {
            background-color: #f1f3f7;
            color: #000;
            border-radius: 5px;
            padding: 5px 15px;
            font-size: 14px !important;
            display: flex;
            gap: 8px;
            align-items: center;
            color: #808080;

            img {
                width: 16px;
                transform: rotate(55deg);
            }
        }

    }

    .output_results {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;

        .result__card__loading {
            &::before {
                content: '';
                position: absolute;
                height: 5px;
                width: 100%;
                display: flex;
                bottom: 0px;
                background: linear-gradient(90deg, #fff, var(--primary-color), #fff);
                width: 30%;
                animation: imageLoaderAnimate 2s ease-out infinite;
            }

        }

        .result_card {
            display: flex;
            width: 100%;
            justify-content: space-between;
            height: fit-content;
            position: relative;
            border: 1px solid rgb(236, 236, 236);
            padding: 6px;
            border-radius: 7px;
            width: 98%;
            margin: 0px auto;
            box-shadow: rgba(99, 99, 99, 0.1) 0px 2px 8px 0px;
            position: relative;
            overflow: hidden;



            .result_data {
                display: flex;
                width: 100%;
                gap: 10px;
                align-items: center;
            }





            .image__wrapper {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 8px;

                img {
                    width: 120px;
                    height: 100px;
                    border-radius: 7px;
                    border: 1px solid var(--primary-color);
                    padding: 5px;
                }

                span {
                    font-size: 10px;
                    color: #808080;
                }
            }


            textarea {
                display: flex;
                height: 120px;
                flex-grow: 1;
                padding-right: 36px;
                outline: none;
                border: none;
                resize: none;
                font-size: 14px !important;
                padding-left: 10px;
                border-left: 1px solid rgb(236, 236, 236);
            }

            .result_card_options {
                height: fit-content;
                position: absolute;
                right: 25px;
                display: flex;
                flex-direction: column;
                gap: 12px;
                top: 50%;
                transform: translateY(-50%);

                button {
                    background-color: #f1f3f7;
                    width: 26px;
                    height: 26px;
                    border-radius: 5px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }

                img {
                    width: 18px;
                    height: 18px;
                }
            }
        }
    }
}


.feature_cards>div,
.uses__cards,
.where_cards>div,
.working__cards>div {
    box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px,
        rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px,
        rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px,
        rgba(42, 51, 70, 0.04) 0px 6px 6px -3px,
        rgba(14, 63, 126, 0.04) 0px 12px 12px -6px,
        rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
    transition: 0.3s ease;
}

.feature_cards>div:hover,
.where_cards>div:hover,
.working__cards>div:hover {
    background: linear-gradient(-45deg, #0096880f, var(--ligth-bg));
}


@keyframes imageLoaderAnimate {
    0% {
        left: -35%;
    }

    100% {
        left: 100%;
    }
}


.why__table {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    margin: auto;
    box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px,
        rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px,
        rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px,
        rgba(42, 51, 70, 0.04) 0px 6px 6px -3px,
        rgba(14, 63, 126, 0.04) 0px 12px 12px -6px,
        rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;

    td {
        padding: 15px;
        border-left: 1px solid #eee;
        font-size: 18px !important;
    }

    tr {
        border-bottom: 1px solid #eee;
    }
}


.faqs {
    display: flex;
    width: 90%;
    margin: auto;
    gap: 20px;
    margin-top: 40px;
    padding: 20px !important;
    flex-wrap: wrap;
    background: linear-gradient(-45deg, #0096880f, var(--ligth-bg));
    border-radius: 12px;
}

.faqs>div {
    background-color: #fff;
    border-radius: 12px;
    min-width: 45%;
    flex: 1;
    max-width: 50%;
    padding: 20px;
    box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px,
        rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px,
        rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px,
        rgba(42, 51, 70, 0.04) 0px 6px 6px -3px,
        rgba(14, 63, 126, 0.04) 0px 12px 12px -6px,
        rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;

    img {
        width: 16px !important;
    }
}

.faqs>div div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: center;
    background: linear-gradient(-45deg, #0096880f, var(--ligth-bg));
    padding: 15px;
    border-radius: 7px;
}


footer {
    background: linear-gradient(-45deg, #0096880f, var(--ligth-bg));
}

.footer__links a {
    background: linear-gradient(180deg, var(--primary-color), #000000) !important;
}

@media (max-width: 1024px) {
    .tool_wrapper {
        width: 90vw !important;
    }


    .header__section {
        text-align: center;
    }

    .header__section p {
        max-width: 90vw !important;
        text-align: center;
        margin: auto;
    }

    .faqs {
        flex-direction: column;
    }

    .faqs>div {
        max-width: 100% !important;

        img {
            width: 18px !important;
        }
    }
}


@media (max-width: 768px) {
    .tool {
        flex-direction: column;

        .input_sec__afterInput {
            min-height: 180px !important;
        }

        .input_sec {
            min-height: 380px;
        }

        .output_sec {
            min-height: 360px;
            justify-content: space-between;
        }
    }

    h1 {
        font-size: 28px !important;
    }

    h2 {
        font-size: 24px !important;
    }

}
