/* =========================================================
   INVISIBLE TEXT COPY AND PASTE
   https://charactercounter.com/invisible-text-copy-and-paste
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --it-text: #3d3d3d;
    --it-text-light: rgba(0, 0, 0, 0.62);

    --it-white: #ffffff;
    --it-blue: #4285f4;
    --it-blue-dark: #1a73e8;
    --it-blue-soft: #f5f9ff;

    --it-border: #d9dfe7;
    --it-soft-border: #e7ebf0;

    --it-radius: 12px;
    --it-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}


/* =========================================================
   BOX SIZING AND GENERAL PAGE STYLES
   ========================================================= */

.invisible-text-copy-page *,
.invisible-text-copy-page *::before,
.invisible-text-copy-page *::after {
    box-sizing: border-box;
}

.invisible-text-copy-page {
    color: var(--it-text);
    font-family: Roboto, Arial, sans-serif;
}

.invisible-text-copy-page main {
    width: 100%;
}

.invisible-text-copy-page button,
.invisible-text-copy-page input,
.invisible-text-copy-page select {
    font: inherit;
}

.invisible-text-copy-page button {
    cursor: pointer;
}

.invisible-text-copy-page button:focus-visible,
.invisible-text-copy-page input:focus-visible,
.invisible-text-copy-page select:focus-visible {
    outline: 3px solid rgba(66, 133, 244, 0.35);
    outline-offset: 2px;
}


/* =========================================================
   HEADER
   ========================================================= */

.invisible-text-copy-page .header,
.invisible-text-copy-page .header.activated,
.invisible-text-copy-page .menu {
    background-color: #f1f1f1;
}


/* =========================================================
   PAGE AREA AND SIDEBAR
   ========================================================= */

.invisible-text-main-page {
    width: 100%;
    padding-top: 88px;
    background: var(--it-white);
}

.invisible-text-page-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: stretch;
}

.invisible-text-content-column {
    width: 100%;
    min-width: 0;
}

.invisible-text-copy-page #sidebar {
    width: 300px;
    min-width: 300px;
    min-height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    align-self: stretch;
    background: transparent;
    overflow: visible;
}


/* =========================================================
   TOOL SECTION AND HEADING
   ========================================================= */

.invisible-text-tool-section {
    width: 100%;
    margin: 0;
    padding: 0 0 24px;
    background: var(--it-white);
}

.invisible-text-heading {
    width: 100%;
    max-width: 820px;
    margin: 0 auto 25px;
    padding: 0 12px;
    text-align: center;
}

.invisible-text-title {
    margin: 0 0 16px;
    color: var(--it-text);
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
}

.invisible-text-description {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    color: var(--it-text-light);
    font-size: 17px;
    line-height: 1.55;
    font-weight: 300;
    letter-spacing: 0.2px;
    text-align: center;
    overflow-wrap: break-word;
}

.invisible-text-tool {
    width: 100%;
    min-width: 0;
}


/* =========================================================
   GENERATOR CARD
   ========================================================= */

.invisible-text-generator {
    width: 100%;
    margin: 0;
    padding: 25px;
    background: var(--it-white);
    border: 1px solid var(--it-border);
    border-radius: var(--it-radius);
    box-shadow: var(--it-shadow);
}

.invisible-text-generator > h2 {
    margin: 0 0 7px;
    color: var(--it-text);
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
}

.invisible-text-generator-description {
    margin: 0 0 18px;
    color: var(--it-text-light);
    font-size: 17px;
    line-height: 1.55;
    font-weight: 300;
}


/* =========================================================
   CHARACTER AND QUANTITY OPTIONS
   ========================================================= */

.invisible-text-generator-options {
    width: 100%;
    display: grid;
    grid-template-columns: 168px;
    gap: 0;
    align-items: start;
    justify-content: start;
}

.invisible-text-option {
    width: 100%;
    min-width: 0;
}

.invisible-text-option label {
    display: block;
    margin: 0 0 8px;
    color: var(--it-text);
    font-size: 17px;
    line-height: 1.4;
    font-weight: 600;
    white-space: nowrap;
}

.invisible-text-option input {
    width: 168px;
    min-height: 50px;
    margin: 0;
    padding: 10px 12px;
    color: var(--it-text);
    background: var(--it-white);
    border: 1px solid var(--it-border);
    border-radius: 7px;
    font-size: 18px;
}

.invisible-text-option input:hover {
    border-color: #aeb8c5;
}

/* =========================================================
   COPY BUTTON AND STATUS
   ========================================================= */

.invisible-text-primary-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    color: var(--it-white);
    background: var(--it-blue);
    border: 1px solid var(--it-blue);
    border-radius: 7px;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 600;
    text-align: center;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.invisible-text-primary-button:hover {
    background: var(--it-blue-dark);
    border-color: var(--it-blue-dark);
    box-shadow: 0 3px 9px rgba(26, 115, 232, 0.2);
}

.invisible-text-primary-button:active {
    transform: translateY(1px);
}

.invisible-text-primary-button i {
    font-size: 19px;
    line-height: 1;
}

.invisible-text-copy-button {
    min-width: 230px;
    margin: 0 0 18px;
}

.invisible-text-copy-button.is-copied {
    background: #1e7b1e;
    border-color: #1e7b1e;
}

.invisible-text-status {
    margin: 8px 0 18px;
    color: #236c2c;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
}

.invisible-text-status:empty {
    display: none;
}

.invisible-text-manual-copy {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--it-soft-border);
}

.invisible-text-manual-copy summary {
    width: fit-content;
    color: var(--it-blue-dark);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    cursor: pointer;
}

.invisible-text-manual-copy summary:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.invisible-text-manual-copy summary:focus-visible,
.invisible-text-manual-copy textarea:focus-visible,
.invisible-text-manual-select-button:focus-visible {
    outline: 3px solid rgba(66, 133, 244, 0.35);
    outline-offset: 2px;
}

.invisible-text-manual-copy > p:not(.invisible-text-manual-status) {
    margin: 11px 0 10px;
    color: var(--it-text-light);
    font-size: 14px;
    line-height: 1.55;
}

.invisible-text-manual-copy-field {
    display: flex;
    align-items: center;
    gap: 8px;
}

.invisible-text-manual-copy-marker {
    color: var(--it-text-light);
    font-size: 18px;
    font-weight: 600;
}

.invisible-text-manual-copy-field textarea {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    margin: 0;
    padding: 10px 12px;
    color: var(--it-text);
    background: var(--it-white);
    border: 1px solid var(--it-border);
    border-radius: 7px;
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    resize: vertical;
}

.invisible-text-manual-select-button {
    min-height: 40px;
    margin-top: 10px;
    padding: 8px 13px;
    color: var(--it-blue-dark);
    background: var(--it-white);
    border: 1px solid var(--it-border);
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
}

.invisible-text-manual-select-button:hover {
    background: var(--it-blue-soft);
    border-color: var(--it-blue);
}

.invisible-text-manual-status {
    margin: 8px 0 0;
    color: var(--it-text-light);
    font-size: 13px;
    line-height: 1.45;
}

.invisible-text-manual-status:empty {
    display: none;
}

.invisible-text-test {
    margin-top: 12px;
}

.invisible-text-test summary {
    width: fit-content;
    color: var(--it-blue-dark);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    cursor: pointer;
}

.invisible-text-test summary:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.invisible-text-test summary:focus-visible,
.invisible-text-test textarea:focus-visible {
    outline: 3px solid rgba(66, 133, 244, 0.35);
    outline-offset: 2px;
}

.invisible-text-test > p:not(.invisible-text-test-status) {
    margin: 11px 0 10px;
    color: var(--it-text-light);
    font-size: 14px;
    line-height: 1.55;
}

.invisible-text-test label {
    display: block;
    margin: 10px 0 7px;
    color: var(--it-text);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

.invisible-text-test textarea {
    display: block;
    width: 100%;
    min-height: 82px;
    margin: 0;
    padding: 10px 12px;
    color: var(--it-text);
    background: var(--it-white);
    border: 1px solid var(--it-border);
    border-radius: 7px;
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
    resize: vertical;
}

.invisible-text-test-status {
    margin: 9px 0 0;
    padding: 9px 11px;
    color: var(--it-text);
    background: var(--it-blue-soft);
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   RECOMMENDED INVISIBLE CHARACTER DETECTOR
   ========================================================= */

.invisible-text-detector-promo {
    width: 100%;
    margin: 0;
    padding: 0 0 32px;
}

.invisible-text-detector-promo-content {
    padding: 22px 24px;
    background: var(--it-blue-soft);
    border: 1px solid #dbe8fb;
    border-left: 5px solid var(--it-blue);
    border-radius: var(--it-radius);
    box-shadow: var(--it-shadow);
}

.invisible-text-detector-promo-label {
    display: inline-block;
    margin: 0 0 8px;
    color: var(--it-blue-dark);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.invisible-text-detector-promo-content h2 {
    margin: 0 0 8px;
    color: var(--it-text);
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
}

.invisible-text-detector-promo-content p {
    margin: 0 0 15px;
    color: var(--it-text-light);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 300;
}

.invisible-text-detector-promo-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--it-white);
    background: var(--it-blue);
    border: 1px solid var(--it-blue);
    border-radius: 7px;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.invisible-text-detector-promo-link:hover {
    color: var(--it-white);
    background: var(--it-blue-dark);
    border-color: var(--it-blue-dark);
}

.invisible-text-detector-promo-link i {
    font-size: 18px;
}


/* =========================================================
   GUIDE, RELATED TOOLS, AND FAQ SECTION HEADINGS
   ========================================================= */

.invisible-text-content-column > .section {
    width: 100%;
    margin: 0;
    padding: 48px 0;
    text-align: left;
}

.invisible-text-copy-page .section-title {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 36px;
    padding-bottom: 9px;
    color: var(--it-text);
    font-size: 29px;
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
}

.invisible-text-copy-page .section-title::after {
    display: none;
}

.invisible-text-copy-page .section-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: var(--it-blue);
    border-radius: 999px;
}


/* =========================================================
   ALTERNATIVE INVISIBLE CHARACTERS
   ========================================================= */

.invisible-text-alternatives-content {
    width: 100%;
    margin: 0;
    padding: 24px;
    background: var(--it-white);
    border: 1px solid var(--it-soft-border);
    border-radius: 16px;
    box-shadow: var(--it-shadow);
}

.invisible-text-alternatives-intro {
    margin: 0 0 18px;
    color: var(--it-text-light);
    font-size: 17px;
    line-height: 1.6;
}

.invisible-text-alternatives-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.invisible-text-alternative {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px;
    background: #f8fbff;
    border: 1px solid var(--it-border);
    border-radius: 11px;
}

.invisible-text-alternative-info {
    min-width: 0;
}

.invisible-text-alternative-info h3 {
    margin: 0 0 6px;
    color: var(--it-text);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
}

.invisible-text-alternative-info h3 span {
    color: var(--it-text-light);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.invisible-text-alternative-info p {
    margin: 0;
    color: var(--it-text-light);
    font-size: 14px;
    line-height: 1.5;
}

.invisible-text-alternative-copy-button {
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 13px;
    color: var(--it-blue-dark);
    background: var(--it-white);
    border: 1px solid var(--it-border);
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.invisible-text-alternative-copy-button:hover {
    background: var(--it-blue-soft);
    border-color: var(--it-blue);
}

.invisible-text-alternative-copy-button.is-copied {
    color: #1e7b1e;
    border-color: #8bc98b;
    background: #f3fbf3;
}

.invisible-text-alternative-copy-button i {
    font-size: 16px;
    line-height: 1;
}

.invisible-text-alternative-copy-button:focus-visible {
    outline: 3px solid rgba(66, 133, 244, 0.35);
    outline-offset: 2px;
}


/* =========================================================
   GUIDE
   ========================================================= */

.invisible-text-guide {
    background: transparent;
}

.invisible-text-guide-content {
    width: 100%;
    margin: 0;
    padding: 30px;
    color: var(--it-text);
    background: var(--it-white);
    border: 1px solid var(--it-soft-border);
    border-radius: 16px;
    box-shadow: var(--it-shadow);
    text-align: left;
}

.invisible-text-guide-content h3 {
    margin: 30px 0 11px;
    padding: 11px 14px;
    color: var(--it-text);
    background: #f8fbff;
    border-left: 5px solid var(--it-blue);
    border-radius: 8px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    text-align: left;
}

.invisible-text-guide-content h3:first-of-type {
    margin-top: 24px;
}

.invisible-text-guide-content p,
.invisible-text-guide-content li {
    color: var(--it-text-light);
    font-size: 18px;
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.2px;
    text-align: left;
}

.invisible-text-guide-content p {
    margin: 0 0 17px;
}

.invisible-text-guide-content p:last-child {
    margin-bottom: 0;
}

.invisible-text-guide-content ul {
    margin: 0 0 20px;
    padding-left: 26px;
}

.invisible-text-guide-content li {
    margin: 0 0 10px;
    padding-left: 3px;
}

.invisible-text-guide-content li:last-child {
    margin-bottom: 0;
}

.invisible-text-guide-content strong {
    color: var(--it-text);
    font-weight: 600;
}

.invisible-text-guide-content a {
    color: var(--it-blue-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.invisible-text-guide-content a:hover {
    color: #1558b0;
}


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

.invisible-text-related-tools {
    background: transparent;
}

.invisible-text-related-content {
    width: 100%;
    margin: 0;
}

.invisible-text-related-content > p {
    max-width: 800px;
    margin: 0 auto 25px;
    color: var(--it-text-light);
    font-size: 18px;
    line-height: 1.65;
    font-weight: 300;
    text-align: center;
}

.invisible-text-related-content .related-tools-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}

.invisible-text-related-content .related-tool-card {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px;
    color: var(--it-blue-dark);
    background: var(--it-white);
    border: 1px solid var(--it-border);
    border-radius: 9px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease;
}

.invisible-text-related-content .related-tool-card:hover {
    color: var(--it-blue-dark);
    background: var(--it-blue-soft);
    border-color: var(--it-blue);
    transform: translateY(-2px);
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.07);
}


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

.invisible-text-faq {
    padding-bottom: 65px !important;
    background: transparent;
}

.invisible-text-faq-content {
    width: 100%;
    margin: 0;
}

.invisible-text-faq-item {
    margin-bottom: 13px;
    padding: 19px 21px;
    background: var(--it-white);
    border: 1px solid var(--it-soft-border);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.035);
    text-align: left;
}

.invisible-text-faq-item:last-child {
    margin-bottom: 0;
}

.invisible-text-faq-item h3 {
    margin: 0 0 8px;
    color: var(--it-text);
    font-size: 20px;
    line-height: 1.35;
    text-align: left;
}

.invisible-text-faq-item p {
    margin: 0;
    color: var(--it-text-light);
    font-size: 17px;
    line-height: 1.68;
    font-weight: 300;
    text-align: left;
}

.invisible-text-faq-item strong {
    color: var(--it-text);
    font-weight: 600;
}


/* =========================================================
   CONTENT VISIBILITY
   ========================================================= */

.invisible-text-guide,
.invisible-text-related-tools,
.invisible-text-faq {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
}


/* =========================================================
   WIDE DESKTOP
   ========================================================= */

@media screen and (min-width: 1280px) {
    .invisible-text-page-layout {
        grid-template-columns: 900px 300px;
        gap: 10px;
        justify-content: center;
    }

    .invisible-text-content-column {
        width: 900px;
        max-width: 900px;
    }
}


/* =========================================================
   DESKTOP AND TABLET SIDEBAR
   ========================================================= */

@media screen and (min-width: 992px) and (max-width: 1279px) {
    .invisible-text-page-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 10px;
    }
}

@media screen and (max-width: 991px) {
    .invisible-text-page-layout {
        display: block;
    }

    .invisible-text-content-column {
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
    }

    .invisible-text-copy-page #sidebar {
        display: none;
    }
}


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

@media screen and (max-width: 767px) {
    .invisible-text-alternatives-grid {
        grid-template-columns: 1fr;
    }
}


@media screen and (max-width: 768px) {
    .invisible-text-copy-page .menu {
        background-color: #f1f1f1;
    }

    .invisible-text-main-page {
        padding-top: 80px;
    }

    .invisible-text-tool-section {
        padding-bottom: 20px;
    }

    .invisible-text-title {
        font-size: 34px;
    }

    .invisible-text-content-column > .section {
        padding: 42px 0;
    }

    .invisible-text-copy-page .section-title {
        margin-bottom: 31px;
        font-size: 25px;
    }

    .invisible-text-generator {
        padding: 22px;
    }

    .invisible-text-guide-content {
        padding: 21px 16px;
        border-radius: 13px;
    }

    .invisible-text-guide-content h3 {
        margin-top: 27px;
        padding: 10px 12px;
        font-size: 21px;
    }

    .invisible-text-guide-content p,
    .invisible-text-guide-content li {
        font-size: 17px;
    }

    .invisible-text-faq-item {
        padding: 17px;
    }

    .invisible-text-faq-item h3 {
        font-size: 19px;
    }

    .invisible-text-faq-item p {
        font-size: 16.5px;
    }
}