.tool-title {
    font-weight: 600;
    font-size: 40px;
    line-height: 60px;
    text-align: center;
    color: #000;
    width: fit-content;
    margin: 20px auto;
}

.glitch-tool-wrap {
    padding: 0 15px;
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: stretch;
    width: 100%;
}

.website_container.container {
    padding: 0px !important;
}

.container.tool-section {
    padding: 0;
}

.glitch-panel {
    border: 1px solid #e2e0e0;
    border-radius: 12px;
    background: #ffffff;
    height: 400px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #FBFBFB;
    overflow: auto;
    padding: 16px;
    width: 100%;
}

::-webkit-scrollbar {
    width: 2px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #c5cbd6;
    border-radius: 999px;
    cursor: pointer;
}


::-webkit-scrollbar-button {
    display: none;
}

.glitch-panel--input {
    padding: 16px;
}

/* ---------- textarea ---------- */

.glitch-textarea {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000;
    resize: none;
    border: none;
    outline: none;
    height: fit-content;
    width: 100%;

}

.glitch-panel--input {
    position: relative;
}

.glitch-input-area {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    background-color: #fff;
    padding: 12px 0px;
    border-radius: 8px;
    border: 1px solid #E2E0E0;
    cursor: text;
}

#glitch-input {
    max-height: 100%;
    height: 48px;
    padding: 0 20px;
}

#glitch-input::placeholder {
    font-weight: 400 !important;
    font-size: 16px;
    line-height: 24px;
    color: #A0A2AB;
}

/* ---------- results column ---------- */

.glitch-results {
    overflow: hidden;
    background-color: #fff;
    border-radius: 8px;
    height: 100%;
    border: 1px solid #e2e0e0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 12px 0px;

    &.pb-9 {
        padding-bottom: 36px !important;
    }

}

.glitch-results::-webkit-scrollbar {
    width: 6px;
}

.glitch-results::-webkit-scrollbar-thumb {
    background: #c5cbd6;
    border-radius: 8px;
}

.glitch-results::-webkit-scrollbar-track {
    background: transparent;
}

.glitch-row-area {

    margin: 0 !important;
    padding: 0;
    overflow: scroll;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;

}

.glitch-row {
    display: flex;
    align-items: center;
    padding: 0 20px 0px 20px;
    background: white;
    word-break: break-word;
    overflow: visible;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    min-height: 48px;

}

.glitch-row:empty:before {
    content: attr(data-placeholder);
    color: #A0A2AB;
}

.trash-icon {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 28px;
    right: 28px;
    cursor: pointer;
    background-color: #fff;
}

/* ---------- Action buttons ---------- */

.craziness-level {
    padding: 8px 12px;
    box-shadow: 0 -1px 0 0 #E2E0E0;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 16px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #fff;
}

#craziness-level {
    cursor: pointer;
    width: 100%;
    max-width: 196px;
    height: 6px;
    -webkit-appearance: none;
}

#craziness-level::-webkit-slider-runnable-track {
    height: 6px;
    background: transparent;
    border-radius: 100px;
    box-shadow: 0 0 0 1.25px #E2E0E0;
}

#craziness-level::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 12px;
    width: 12px;
    border: 2px solid #fff;
    box-shadow: 0px 0px 2px 0px #00000040;
    background: #41B98E;
    margin-top: -3px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

#craziness-level::-webkit-slider-thumb:hover {
    background: #3aa47f;
}

.copy-text-btn {
    padding: 6px 12px;
    border-radius: 6px;
    width: fit-content;
    position: absolute;
    top: 12px;
    right: 12px;
    outline: none;
    border: none;
    color: #fff;
    background: black;
    font-weight: 500;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
}


/* ---------- responsive ---------- */

@media (max-width: 991px) {
    .website_container.container {
        max-width: 100% !important;
    }
}

@media (max-width: 767px) {
    .glitch-tool-wrap {
        flex-direction: column;
    }

    .glitch-panel {
        padding: 0px;
        background-color: transparent;
        border: none;
        height: fit-content;
        border-radius: 0px;
    }

    .glitch-input-area,
    #glitch-results {
        height: 200px;
    }

    .container.heading h1 {
        line-height: 32px;
    }

    .craziness-level {
        padding: 8px 16px;
        gap: 10px;
        font-size: 14px;
        font-weight: 400;
        white-space: nowrap;
    }

    .trash-icon {
        top: 12px;
        right: 12px;
    }
}