
/* ============================================================
   REMOVE LINE BREAKS
   remove-line-breaks.css
   ============================================================ */


/* ============================================================
   BASE PAGE
   ============================================================ */

html {
    margin: 0;
    padding: 0;
    border: none;
    font-family: "Roboto", Arial, sans-serif;
}

.remove-line-breaks-page {
    width: 100%;
    padding: 105px 15px 30px;
    color: #333;
    font-family: "Roboto", Arial, sans-serif;
}

.remove-line-breaks-page *,
.remove-line-breaks-page *::before,
.remove-line-breaks-page *::after {
    box-sizing: border-box;
}

.remove-line-breaks-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    align-items: start;
}

.remove-line-breaks-main {
    min-width: 0;
}

.remove-line-breaks-tool-section {
    width: 100%;
    min-width: 0;
}

.remove-line-breaks-page button,
.remove-line-breaks-page textarea,
.remove-line-breaks-page input,
.remove-line-breaks-page select {
    font-family: "Roboto", Arial, sans-serif;
}

.remove-line-breaks-page a {
    color: #1155cc;
    text-decoration: none;
}

.remove-line-breaks-page a:hover {
    text-decoration: underline;
}


/* ============================================================
   PAGE HEADING
   ============================================================ */

.remove-line-breaks-heading {
    margin-bottom: 22px;
    text-align: center;
}

.remove-line-breaks-heading h1 {
    margin: 0 0 10px;
    padding: 0;

    color: #333;

    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}

.remove-line-breaks-intro {
    max-width: 720px;
    margin: 0 auto;

    color: #555;

    font-size: 17px;
    line-height: 1.55;
}


/* ============================================================
   SIDE-BY-SIDE TEXT COLUMNS
   ============================================================ */

.remove-line-breaks-text-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;

    width: 100%;
    min-width: 0;

    align-items: start;
}

.remove-line-breaks-input-section,
.remove-line-breaks-output-section {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.remove-line-breaks-page .textarea-column-title {
    display: block;

    margin: 0 0 7px;

    color: #444;

    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
}


/* ============================================================
   TEXTAREA WRAPPER
   ============================================================ */

.remove-line-breaks-textarea-wrapper {
    position: relative;
    width: 100%;
    min-width: 0;
}


/* ============================================================
   TEXTAREAS
   ============================================================ */

.remove-line-breaks-page .remove-line-breaks-textarea {
    display: block;

    width: 100%;
    max-width: 100%;

    height: 300px;
    min-height: 52px;

    margin: 0;
    padding: 16px 17px 68px;

    border: 2px solid #c9ced6;
    border-radius: 10px;

    background: #fff;
    color: #222;

    outline: none;
    resize: vertical;

    white-space: pre-wrap;
    overflow-wrap: break-word;
    overflow-y: auto;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.remove-line-breaks-page .remove-line-breaks-textarea:hover {
    border-color: #aeb4bd;
}

.remove-line-breaks-page .remove-line-breaks-textarea:focus {
    border-color: #5f6368;
    box-shadow: 0 0 0 2px rgba(95, 99, 104, 0.08);
}

.remove-line-breaks-page .remove-line-breaks-textarea::placeholder {
    color: #8a8f98;
    opacity: 1;
}


/* ============================================================
   ORIGINAL TEXT
   ============================================================ */

#originalText {
    height: 300px;
}


/* ============================================================
   CLEANED TEXT
   ============================================================ */

#cleanedText {
    height: 300px;
    background: #fff;
    color: #222;
}

#cleanedText[readonly] {
    cursor: text;
}

#cleanedText:focus {
    border-color: #5f6368;
}


/* ============================================================
   NATIVE TEXTAREA RESIZE HANDLE
   ============================================================ */

.remove-line-breaks-textarea::-webkit-resizer {
    background-color: transparent;
}


/* ============================================================
   TEXTAREA ACTION BUTTON POSITION
   ============================================================ */

.remove-line-breaks-textarea-actions {
    position: absolute;

    right: 22px;
    bottom: 15px;

    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex-wrap: nowrap;
    gap: 8px;

    width: auto;
    margin: 0;
}


/* ============================================================
   ACTION BUTTON BASE
   ============================================================ */

.remove-line-breaks-page .remove-line-breaks-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;
    gap: 7px;

    min-width: 80px;
    min-height: 36px;

    margin: 0;
    padding: 8px 12px;

    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 6px;

    color: #333;

    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;

    text-align: center;
    white-space: nowrap;

    cursor: pointer;

    user-select: none;
    -webkit-tap-highlight-color: transparent;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        opacity 0.15s ease;
}

.remove-line-breaks-action-button i {
    font-size: 15px;
    line-height: 1;
    font-weight: normal;
}

.remove-line-breaks-page .remove-line-breaks-action-button:hover {
    text-decoration: none;
}

.remove-line-breaks-action-button:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}


/* ============================================================
   CLEAR BUTTON
   ============================================================ */

.remove-line-breaks-page .clear-button {
    background: #f3f4f6;
    border-color: #cdd2d8;
    color: #444;
}

.remove-line-breaks-page .clear-button:hover:not(:disabled) {
    background: #e7eaee;
    border-color: #aeb6bf;
}

.remove-line-breaks-page .clear-button:disabled {
    background: #f5f5f5;
    border-color: #e1e3e6;
    color: #aaa;

    cursor: not-allowed;
    opacity: 0.75;
}


/* ============================================================
   COPY BUTTON
   ============================================================ */

.remove-line-breaks-page .copy-button {
    background: #287a38;
    border-color: rgba(0, 0, 0, 0.08);
    color: #fff !important;
}

.remove-line-breaks-page .copy-button:hover:not(:disabled) {
    background: #216b30;
    color: #fff !important;
}

.remove-line-breaks-page .copy-button.copied,
.remove-line-breaks-page .copy-button.is-copied {
    background: #245f30;
    color: #fff !important;
}

.remove-line-breaks-page .copy-button:disabled {
    background: #94b99b;
    color: #fff !important;

    cursor: not-allowed;
    opacity: 0.7;
}

#copyButtonText {
    display: inline-block;
}


/* ============================================================
   COMPACT TEXTAREA SUPPORT
   ============================================================ */

/*
   JavaScript adds .is-compact independently
   to each textarea wrapper when its textarea
   becomes shorter than 120px.

   The action button then moves beneath
   that textarea.

   The native resize handle remains accessible.
*/

.remove-line-breaks-textarea-wrapper.is-compact
.remove-line-breaks-textarea {
    padding-top: 12px;
    padding-bottom: 12px;
}

.remove-line-breaks-textarea-wrapper.is-compact
.remove-line-breaks-textarea-actions {
    position: static;

    right: auto;
    bottom: auto;

    width: 100%;

    margin-top: 8px;
    justify-content: flex-end;
}


/* ============================================================
   LINE BREAK STATISTICS
   ============================================================ */

.remove-line-breaks-text-stats {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    flex-wrap: wrap;
    gap: 6px 12px;

    width: 100%;
    margin-top: 9px;
}

.remove-line-breaks-text-stat {
    display: inline-flex;
    align-items: center;

    flex-wrap: wrap;
    gap: 5px;

    min-width: 0;

    color: #555;

    font-size: 13px;
    line-height: 1.4;
}

.remove-line-breaks-stat-label {
    color: #666;
    font-weight: 400;
}

.remove-line-breaks-stat-value {
    color: #1a73e8;

    font-weight: 700;
    font-variant-numeric: tabular-nums;
}


/* ============================================================
   FIELDSET RESET
   ============================================================ */

.remove-line-breaks-options,
.remove-line-breaks-additional-options {
    display: block;

    width: 100%;
    min-width: 0;

    margin-left: 0;
    margin-right: 0;
    padding: 0;

    border: 0;
}


/* ============================================================
   LINE BREAK OPTIONS
   ============================================================ */

.remove-line-breaks-options {
    margin-top: 25px;
    margin-bottom: 0;
}

.remove-line-breaks-page .remove-line-breaks-controls-title {
    display: block;

    width: 100%;

    margin: 0 0 11px;
    padding: 0;

    color: #444;

    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
}


/* ============================================================
   LINE BREAK MODE GRID
   ============================================================ */

.remove-line-breaks-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;

    width: 100%;
}


/* ============================================================
   MODE OPTION CARDS
   ============================================================ */

.remove-line-breaks-mode-option {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    width: 100%;
    min-width: 0;
    min-height: 75px;

    margin: 0;
    padding: 12px 13px;

    border: 1px solid #cbd2dc;
    border-radius: 7px;

    background: #f7f8fa;
    color: #333;

    cursor: pointer;

    user-select: none;
    -webkit-tap-highlight-color: transparent;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease;
}

.remove-line-breaks-mode-option:hover {
    border-color: #90b5ee;
    background: #edf4ff;
}

.remove-line-breaks-mode-option:focus-within {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}


/* ============================================================
   MODE RADIO BUTTONS
   ============================================================ */

.remove-line-breaks-mode-option input[type="radio"] {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;

    margin: 1px 0 0;

    accent-color: #1a73e8;
    cursor: pointer;
}

.remove-line-breaks-mode-option input[type="radio"]:focus {
    outline: none;
}


/* ============================================================
   MODE CARD CONTENT
   ============================================================ */

.remove-line-breaks-mode-content {
    display: flex;
    flex-direction: column;

    gap: 4px;

    flex: 1;
    min-width: 0;
}

.remove-line-breaks-mode-title {
    display: block;

    color: #333;

    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;

    overflow-wrap: break-word;
}

.remove-line-breaks-mode-description {
    display: block;

    color: #666;

    font-size: 12px;
    line-height: 1.45;
    font-weight: 400;

    overflow-wrap: break-word;
}


/* ============================================================
   SELECTED MODE
   ============================================================ */

.remove-line-breaks-mode-option:has(input[type="radio"]:checked) {
    border-color: #1a73e8;
    background: #e8f0fe;
}

.remove-line-breaks-mode-option:has(input[type="radio"]:checked)
.remove-line-breaks-mode-title {
    color: #1558b0;
}

.remove-line-breaks-mode-option:has(input[type="radio"]:checked)
.remove-line-breaks-mode-description {
    color: #4c6385;
}

.remove-line-breaks-mode-option:has(input[type="radio"]:checked):hover {
    background: #dce9ff;
}


/* ============================================================
   ADDITIONAL OPTIONS
   ============================================================ */

.remove-line-breaks-additional-options {
    margin-top: 20px;
    margin-bottom: 0;
}

.remove-line-breaks-checkbox-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 10px 25px;
    width: 100%;
}


/* ============================================================
   CHECKBOX LABELS
   ============================================================ */

.remove-line-breaks-checkbox-option {
    display: inline-flex;
    align-items: center;

    gap: 8px;
    min-width: 0;

    margin: 0;

    color: #444;

    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;

    cursor: pointer;

    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.remove-line-breaks-checkbox-option:hover {
    color: #222;
}

.remove-line-breaks-checkbox-option input[type="checkbox"] {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;

    margin: 0;

    accent-color: #1a73e8;
    cursor: pointer;
}

.remove-line-breaks-checkbox-option input[type="checkbox"]:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 3px;
}


/* ============================================================
   TOOL RECOMMENDATION
   ============================================================ */

.remove-line-breaks-page .tool-recommendation {
    width: 100%;

    margin-top: 23px;
    padding: 14px 16px;

    border: 1px solid #d6dde7;
    border-radius: 8px;

    background: #f7faff;
}

.remove-line-breaks-page .tool-recommendation p {
    margin: 0;

    color: #444;

    font-size: 15px;
    line-height: 1.55;
}

.remove-line-breaks-page .tool-recommendation strong {
    color: #333;
}

.remove-line-breaks-page .tool-recommendation a strong {
    color: inherit;
}


/* ============================================================
   INFORMATIONAL ARTICLE
   ============================================================ */

.remove-line-breaks-content {
    width: 100%;

    margin-top: 34px;

    color: #333;

    font-size: 17px;
    line-height: 1.7;
}

.remove-line-breaks-content h2 {
    margin: 34px 0 12px;
    padding: 0;

    color: #292929;

    font-size: 25px;
    line-height: 1.3;
    font-weight: 700;
}

.remove-line-breaks-content > h2:first-child {
    margin-top: 0;
}

.remove-line-breaks-content h3 {
    margin: 26px 0 9px;
    padding: 0;

    color: #333;

    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}

.remove-line-breaks-content p {
    margin: 0 0 17px;
    padding: 0;

    color: #444;

    font-size: 17px;
    line-height: 1.7;
}

.remove-line-breaks-content strong {
    color: #333;
}

.remove-line-breaks-content a strong {
    color: inherit;
}

.remove-line-breaks-content em {
    color: #444;
}


/* ============================================================
   ARTICLE LISTS
   ============================================================ */

.remove-line-breaks-content ol,
.remove-line-breaks-content ul {
    margin: 8px 0 20px 28px;
    padding: 0;

    color: #444;
    list-style-position: outside;
}

.remove-line-breaks-content ol {
    list-style-type: decimal;
}

.remove-line-breaks-content ul {
    list-style-type: disc;
}

.remove-line-breaks-content li {
    margin-bottom: 8px;
    padding-left: 3px;

    color: #444;

    font-size: 17px;
    line-height: 1.65;
}

.remove-line-breaks-content ol li {
    list-style: decimal;
}

.remove-line-breaks-content ul li {
    list-style: disc;
}


/* ============================================================
   RELATED TOOLS
   ============================================================ */

.remove-line-breaks-content .related-tools-list {
    margin-top: 10px !important;
}

.remove-line-breaks-content .related-tools-list li {
    margin-bottom: 9px;
}


/* ============================================================
   FAQ SECTION
   ============================================================ */

.remove-line-breaks-content .faq-section {
    margin-top: 38px;
}

.remove-line-breaks-content .faq-section > h2 {
    margin-bottom: 16px;
}

.remove-line-breaks-content .faq-item {
    padding: 17px 0;
    border-bottom: 1px solid #e1e4e8;
}

.remove-line-breaks-content .faq-item:first-of-type {
    border-top: 1px solid #e1e4e8;
}

.remove-line-breaks-content .faq-item h3 {
    margin: 0 0 8px;

    color: #333;

    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.remove-line-breaks-content .faq-item p {
    margin: 0;
}


/* ============================================================
   BOTTOM TOOL LINK
   ============================================================ */

.remove-line-breaks-content .bottom-tool-link {
    margin-top: 28px;
    padding: 15px 17px;

    border: 1px solid #d6dde7;
    border-radius: 8px;

    background: #f7faff;
}

.remove-line-breaks-content .bottom-tool-link p {
    margin: 0;
}


/* ============================================================
   SIDEBAR
   ============================================================ */

.remove-line-breaks-layout > #sidebar {
    width: 300px;
    min-width: 300px;
    min-height: 600px;
}


/* ============================================================
   MEDIUM DESKTOP
   ============================================================ */

@media only screen and (max-width: 1200px) {

    .remove-line-breaks-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .remove-line-breaks-layout {
        gap: 24px;
    }

    .remove-line-breaks-heading h1 {
        font-size: 30px;
    }

    .remove-line-breaks-intro {
        font-size: 16px;
    }

    .remove-line-breaks-text-columns {
        gap: 12px;
    }

    #originalText,
    #cleanedText {
        height: 285px;
    }

    .remove-line-breaks-mode-grid {
        gap: 8px;
    }

    .remove-line-breaks-mode-option {
        padding: 11px 10px;
        gap: 8px;
    }

    .remove-line-breaks-mode-title {
        font-size: 13px;
    }

    .remove-line-breaks-mode-description {
        font-size: 12px;
    }

    .remove-line-breaks-content p,
    .remove-line-breaks-content li {
        font-size: 16px;
    }

    .remove-line-breaks-content h2 {
        font-size: 23px;
    }

    .remove-line-breaks-content h3 {
        font-size: 19px;
    }

}


/* ============================================================
   HIDE SIDEBAR AT TABLET WIDTH
   ============================================================ */

@media only screen and (max-width: 992px) {

    .remove-line-breaks-layout {
        grid-template-columns: minmax(0, 1fr);

        max-width: 900px;
        gap: 0;
    }

    .remove-line-breaks-layout > #sidebar {
        display: none;
    }

    .remove-line-breaks-page {
        padding-top: 102px;
    }

    .remove-line-breaks-text-columns {
        gap: 16px;
    }

    #originalText,
    #cleanedText {
        height: 280px;
    }

}


/* ============================================================
   SMALL TABLET
   ============================================================ */

@media only screen and (max-width: 700px) {

    .remove-line-breaks-heading h1 {
        font-size: 29px;
    }

    .remove-line-breaks-intro {
        font-size: 16px;
    }

    .remove-line-breaks-text-columns {
        gap: 12px;
    }

    #originalText,
    #cleanedText {
        height: 255px;
    }

    .remove-line-breaks-mode-grid {
        gap: 8px;
    }

    .remove-line-breaks-mode-option {
        padding: 10px;
        gap: 8px;
    }

    .remove-line-breaks-mode-description {
        font-size: 11px;
        line-height: 1.4;
    }

    .remove-line-breaks-checkbox-list {
        gap: 10px 18px;
    }

}


/* ============================================================
   STACK TEXTAREAS ON NARROW SCREENS
   ============================================================ */

@media only screen and (max-width: 650px) {

    .remove-line-breaks-text-columns {
        grid-template-columns: minmax(0, 1fr);
        gap: 17px;
    }

    #originalText,
    #cleanedText {
        height: 210px;
    }

    .remove-line-breaks-options {
        margin-top: 22px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media only screen and (max-width: 600px) {

    .remove-line-breaks-page {
        padding-top: 96px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 25px;
    }

    /* HEADING */

    .remove-line-breaks-heading {
        margin-bottom: 18px;
    }

    .remove-line-breaks-heading h1 {
        margin-bottom: 8px;
        font-size: 27px;
    }

    .remove-line-breaks-intro {
        font-size: 15px;
        line-height: 1.5;
    }

    /* TEXTAREA LABELS */

    .remove-line-breaks-page .textarea-column-title {
        margin-bottom: 6px;
        font-size: 13px;
    }

    /* TEXTAREAS */

    .remove-line-breaks-page .remove-line-breaks-textarea {
        min-height: 52px;

        padding: 14px 13px 65px;

        border-radius: 8px;

        font-size: 15px;
        line-height: 1.5;
    }

    #originalText,
    #cleanedText {
        height: 200px;
    }

    /* ACTION BUTTON POSITION */

    .remove-line-breaks-textarea-actions {
        right: 19px;
        bottom: 13px;
        gap: 7px;
    }

    .remove-line-breaks-page .remove-line-breaks-action-button {
        min-width: 72px;
        min-height: 34px;

        padding: 7px 10px;
        border-radius: 6px;

        font-size: 12px;
    }

    .remove-line-breaks-action-button i {
        font-size: 14px;
    }

    /* COMPACT TEXTAREAS */

    .remove-line-breaks-textarea-wrapper.is-compact
    .remove-line-breaks-textarea {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .remove-line-breaks-textarea-wrapper.is-compact
    .remove-line-breaks-textarea-actions {
        position: static;

        right: auto;
        bottom: auto;

        width: 100%;
        margin-top: 8px;

        justify-content: flex-end;
    }

    /* LINE BREAK STATISTICS */

    .remove-line-breaks-text-stats {
        margin-top: 8px;
    }

    .remove-line-breaks-text-stat {
        gap: 4px;
        font-size: 12px;
    }

    /* LINE BREAK OPTIONS */

    .remove-line-breaks-options {
        margin-top: 21px;
    }

    .remove-line-breaks-page .remove-line-breaks-controls-title {
        margin-bottom: 10px;
        font-size: 15px;
    }

    .remove-line-breaks-mode-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .remove-line-breaks-mode-option {
        align-items: flex-start;

        min-height: 0;

        padding: 11px 12px;
        border-radius: 6px;
    }

    .remove-line-breaks-mode-option input[type="radio"] {
        width: 16px;
        height: 16px;
    }

    .remove-line-breaks-mode-content {
        gap: 3px;
    }

    .remove-line-breaks-mode-title {
        font-size: 14px;
        line-height: 1.35;
    }

    .remove-line-breaks-mode-description {
        font-size: 12px;
        line-height: 1.4;
    }

    /* ADDITIONAL OPTIONS */

    .remove-line-breaks-additional-options {
        margin-top: 19px;
    }

    .remove-line-breaks-checkbox-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 11px;
    }

    .remove-line-breaks-checkbox-option {
        font-size: 13px;
    }

    .remove-line-breaks-checkbox-option input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }

    /* RECOMMENDATION */

    .remove-line-breaks-page .tool-recommendation {
        margin-top: 18px;
        padding: 12px 13px;
    }

    .remove-line-breaks-page .tool-recommendation p {
        font-size: 14px;
    }

    /* ARTICLE */

    .remove-line-breaks-content {
        margin-top: 28px;
    }

    .remove-line-breaks-content h2 {
        margin-top: 29px;
        font-size: 22px;
    }

    .remove-line-breaks-content h3 {
        margin-top: 22px;
        font-size: 18px;
    }

    .remove-line-breaks-content p,
    .remove-line-breaks-content li {
        font-size: 16px;
        line-height: 1.65;
    }

    .remove-line-breaks-content ol,
    .remove-line-breaks-content ul {
        margin-left: 23px;
    }

    .remove-line-breaks-content .faq-section {
        margin-top: 32px;
    }

    .remove-line-breaks-content .faq-item {
        padding: 15px 0;
    }

    .remove-line-breaks-content .faq-item h3 {
        font-size: 17px;
    }

    .remove-line-breaks-content .bottom-tool-link {
        padding: 13px 14px;
    }

}


/* ============================================================
   VERY SMALL MOBILE
   ============================================================ */

@media only screen and (max-width: 390px) {

    .remove-line-breaks-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .remove-line-breaks-heading h1 {
        font-size: 26px;
    }

    .remove-line-breaks-intro {
        font-size: 14px;
    }

    #originalText,
    #cleanedText {
        height: 190px;
    }

    .remove-line-breaks-textarea-actions {
        right: 18px;
        bottom: 12px;
        gap: 6px;
    }

    .remove-line-breaks-page .remove-line-breaks-action-button {
        min-width: 67px;
        padding: 7px 8px;
        font-size: 12px;
    }

    .remove-line-breaks-action-button i {
        font-size: 13px;
    }

    .remove-line-breaks-mode-option {
        padding: 10px;
    }

    .remove-line-breaks-content h2 {
        font-size: 21px;
    }

}


/* ============================================================
   EXTRA NARROW SCREENS
   ============================================================ */

@media only screen and (max-width: 320px) {

    .remove-line-breaks-heading h1 {
        font-size: 24px;
    }

    .remove-line-breaks-textarea-actions {
        gap: 4px;
    }

    .remove-line-breaks-page .remove-line-breaks-action-button {
        min-width: 0;
        padding-left: 6px;
        padding-right: 6px;
        font-size: 11px;
    }

    .remove-line-breaks-action-button i {
        font-size: 12px;
    }

    .remove-line-breaks-mode-option {
        padding: 9px 8px;
    }

    .remove-line-breaks-mode-title {
        font-size: 13px;
    }

}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .remove-line-breaks-textarea,
    .remove-line-breaks-mode-option,
    .remove-line-breaks-action-button {
        transition: none !important;
    }

}
