/* ================= GENERAL ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f7f8fc;
    color: #222;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

button,
input,
select {
    font-family: inherit;
}

button,
a,
input,
select {
    outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(91, 77, 246, 0.35);
}


/* ================= HEADER ================= */

.site-header {
    width: 100%;
    min-height: 72px;
    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;

    position: sticky;
    top: 0;
    z-index: 1000;
}


/* ================= LOGO ================= */

.logo a {
    color: #5b4df6;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.7px;
}

.logo a:hover {
    color: #493be0;
}


/* ================= NAVBAR ================= */

.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar a {
    color: #333333;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #5b4df6;
}

/* Login / Logout button */

.navbar a:last-child {
    background-color: #5b4df6;
    color: #ffffff;
    padding: 9px 18px;
    border-radius: 7px;
}

.navbar a:last-child:hover {
    background-color: #493be0;
    color: #ffffff;
}


/* ================= HERO ================= */

.hero {
    min-height: 570px;
    padding: 90px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        radial-gradient(
            circle at top left,
            rgba(91, 77, 246, 0.10),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f4f2ff 0%,
            #ffffff 50%,
            #eef7ff 100%
        );
}

.hero-content {
    width: 100%;
    max-width: 850px;
}

.hero-small-title {
    color: #5b4df6;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hero h1 {
    color: #171717;
    font-size: 58px;
    line-height: 1.1;
    letter-spacing: -1.7px;
    margin-bottom: 22px;
}

.hero-description {
    max-width: 650px;
    margin: 0 auto 32px;

    color: #666666;
    font-size: 18px;
}


/* ================= HERO BUTTONS ================= */

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    padding: 13px 25px;

    border-radius: 8px;

    font-size: 15px;
    font-weight: 700;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.primary-btn {
    background-color: #5b4df6;
    color: #ffffff;
    box-shadow: 0 7px 18px rgba(91, 77, 246, 0.20);
}

.primary-btn:hover {
    background-color: #493be0;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(91, 77, 246, 0.25);
}

.secondary-btn {
    background-color: #ffffff;
    color: #5b4df6;
    border: 1px solid #d9d5ff;
}

.secondary-btn:hover {
    background-color: #f0eeff;
    color: #493be0;
    transform: translateY(-2px);
}


/* ================= TOOLS SECTION ================= */

.tools-section {
    padding: 90px 7%;
    background-color: #f7f8fc;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-label {
    color: #5b4df6;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-heading h2,
.about-content h2,
.contact-content h2 {
    color: #171717;
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-heading > p:last-child {
    color: #707070;
    font-size: 16px;
}


/* ================= TOOL CATEGORY ================= */

.tool-category {
    max-width: 1150px;
    margin: 0 auto 65px;
}

.tool-category:last-child {
    margin-bottom: 0;
}

.tool-category-heading {
    text-align: center;
    margin-bottom: 30px;
}

.tool-category-heading h3 {
    color: #222222;
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 7px;
}

.tool-category-heading p {
    color: #777777;
    font-size: 15px;
}


/* ================= TOOL GRID ================= */

.tool-grid {
    max-width: 1150px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.tool-category .tool-grid {
    max-width: none;
    margin: 0;
}


/* ================= TOOL CARD ================= */

.tool-card {
    min-height: 220px;
    padding: 28px 23px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    background-color: #ffffff;
    border: 1px solid #e8e8ef;
    border-radius: 14px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-6px);
    border-color: #c9c4ff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

.tool-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #efedff;
    color: #5b4df6;

    border-radius: 10px;

    font-size: 20px;
    font-weight: 800;
}

.tool-card h3 {
    color: #222222;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 9px;
}

.tool-card p {
    color: #777777;
    font-size: 14px;
}


/* ================= ABOUT ================= */

.about-section {
    padding: 100px 7%;
    background-color: #ffffff;
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    max-width: 700px;
    margin: 0 auto 20px;
}

.about-content p:not(.section-label) {
    max-width: 700px;
    margin: 8px auto;

    color: #6d6d6d;
    font-size: 16px;
}


/* ================= CONTACT ================= */

.contact-section {
    padding: 90px 7%;
    background-color: #f0efff;
    text-align: center;
}

.contact-content {
    max-width: 650px;
    margin: 0 auto;
}

.contact-content h2 {
    margin-bottom: 15px;
}

.contact-content > p:not(.section-label) {
    color: #666666;
    margin-bottom: 20px;
}

.email-link {
    display: inline-block;

    padding: 10px 18px;

    background-color: #ffffff;
    border: 1px solid #d9d5ff;
    border-radius: 8px;

    color: #5b4df6;
    font-weight: 700;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.email-link:hover {
    background-color: #5b4df6;
    color: #ffffff;
}


/* ================= AUTH PAGE ================= */

.auth-section {
    min-height: calc(100vh - 145px);
    padding: 70px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #f4f2ff 0%,
            #ffffff 50%,
            #eef7ff 100%
        );
}

.auth-card {
    width: 100%;
    max-width: 460px;

    padding: 42px;

    background-color: #ffffff;
    border: 1px solid #e9e8f2;
    border-radius: 16px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.auth-card .section-label {
    text-align: center;
}

.auth-card h1 {
    color: #171717;
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 12px;
    text-align: center;
}

.auth-description {
    color: #777777;
    font-size: 15px;
    margin-bottom: 30px;
    text-align: center;
}


/* ================= AUTH FORM ================= */

.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;

    color: #333333;
    font-size: 14px;
    font-weight: 700;

    margin-bottom: 7px;
}

.form-group input {
    width: 100%;
    padding: 13px 14px;

    border: 1px solid #dcdce5;
    border-radius: 8px;

    outline: none;
    font-size: 15px;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.form-group input:focus {
    border-color: #5b4df6;
    box-shadow: 0 0 0 3px rgba(91, 77, 246, 0.10);
}


/* ================= AUTH BUTTON ================= */

.auth-btn {
    width: 100%;
    padding: 13px;

    border: none;
    border-radius: 8px;

    background-color: #5b4df6;
    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.auth-btn:hover {
    background-color: #493be0;
    transform: translateY(-2px);
}


/* ================= AUTH MESSAGE ================= */

#login-message,
#signup-message {
    margin-top: 15px;

    font-size: 14px;
    font-weight: 600;

    text-align: center;
}

.success-message {
    color: #16803c;
}

.error-message {
    color: #d93025;
}


/* ================= AUTH DIVIDER ================= */

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 28px 0 22px;

    color: #999999;
    font-size: 12px;
    font-weight: 700;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #e5e5e5;
}


/* ================= SIGNUP TEXT ================= */

.signup-text {
    margin-bottom: 18px;

    color: #666666;
    font-size: 14px;
    text-align: center;
}

.signup-text a {
    color: #5b4df6;
    font-weight: 700;
}

.signup-text a:hover {
    text-decoration: underline;
}


/* ================= BACK HOME ================= */

.back-home {
    display: block;

    color: #666666;
    font-size: 14px;
    font-weight: 600;

    text-align: center;
}

.back-home:hover {
    color: #5b4df6;
}


/* ================= FOOTER ================= */

.site-footer {
    padding: 25px 20px;

    background-color: #171717;
    color: #bbbbbb;

    font-size: 14px;
    text-align: center;
}


/* =========================================================
   SHARED TOOL PAGE DESIGN
   ========================================================= */

.tool-page-section {
    min-height: calc(100vh - 72px);
    padding: 70px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #f4f2ff 0%,
            #ffffff 50%,
            #eef7ff 100%
        );
}

.tool-page-card {
    width: 100%;
    max-width: 720px;

    padding: 45px 40px;

    background-color: #ffffff;
    border: 1px solid #e5e4ee;
    border-radius: 18px;

    text-align: center;

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.tool-page-card h1 {
    color: #171717;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.tool-page-description {
    color: #707070;
    font-size: 17px;
    margin-bottom: 30px;
}


/* ================= UPLOAD AREA ================= */

.merge-upload-area {
    padding: 35px 20px;
    margin-bottom: 25px;

    background-color: #f8f7ff;
    border: 2px dashed #cfcaff;
    border-radius: 14px;
}

.file-select-btn {
    display: inline-block;

    padding: 13px 25px;

    background-color: #5b4df6;
    color: #ffffff;

    border-radius: 8px;

    font-weight: 700;
    cursor: pointer;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.file-select-btn:hover {
    background-color: #493be0;
    transform: translateY(-2px);
}

#pdf-files,
#split-pdf-file,
#compress-pdf-file,
#pdf-to-jpg-file,
#pdf-to-word-file,
#word-to-pdf-file,
#pdf-to-excel-file,
#excel-to-pdf-file,
#pdf-to-powerpoint-file,
#powerpoint-to-pdf-file,
#jpg-to-pdf-file,
#protect-pdf-file,
#unlock-pdf-file,
#crop-pdf-file,
#rotate-pdf-file,
#delete-pdf-file,
#extract-pdf-file,
#reorder-pdf-file,
#translate-pdf-file,
#watermark-pdf-file,
#add-page-numbers-file,
#sign-pdf-file {
    display: none;
}

.file-help-text {
    margin-top: 14px;
    color: #777777;
    font-size: 14px;
}


/* ================= SELECTED FILES ================= */

.selected-files {
    margin-bottom: 25px;
    text-align: left;
}

.selected-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding: 11px 14px;
    margin-bottom: 9px;

    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 9px;

    font-size: 14px;
}

.selected-file-name {
    color: #333333;
    font-weight: 600;
    word-break: break-word;
}

.remove-file-btn {
    padding: 6px 10px;

    border: none;
    border-radius: 6px;

    background-color: #ffe9e9;
    color: #d33333;

    cursor: pointer;
    font-weight: 700;
}

.remove-file-btn:hover {
    background-color: #ffd5d5;
}


/* ================= TOOL ACTION BUTTON ================= */

.tool-action-btn {
    width: 100%;
    padding: 14px 20px;

    border: none;
    border-radius: 8px;

    background-color: #5b4df6;
    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.tool-action-btn:hover {
    background-color: #493be0;
    transform: translateY(-2px);
}

.tool-action-btn:disabled {
    background-color: #bdb9e8;
    cursor: not-allowed;
    transform: none;
}


/* ================= TOOL MESSAGE ================= */

.tool-message {
    min-height: 24px;
    margin-top: 15px;

    font-size: 14px;
    font-weight: 600;
}

.tool-message.success-message {
    color: #16803c;
}

.tool-message.error-message {
    color: #d33333;
}


/* =========================================================
   SPLIT PDF
   ========================================================= */

.split-file-info,
.compress-file-info {
    padding: 12px 15px;
    margin-bottom: 22px;

    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 9px;

    color: #444444;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

.split-options {
    margin-bottom: 25px;
    text-align: left;
}

.split-options label {
    display: block;

    color: #333333;
    font-size: 15px;
    font-weight: 700;

    margin-bottom: 8px;
}

.split-options input {
    width: 100%;
    padding: 12px 14px;

    border: 1px solid #dcdce5;
    border-radius: 8px;

    outline: none;
    font-size: 15px;
}

.split-options input:focus {
    border-color: #5b4df6;
    box-shadow: 0 0 0 3px rgba(91, 77, 246, 0.10);
}

.split-options p {
    margin-top: 8px;
    color: #777777;
    font-size: 13px;
}


/* =========================================================
   PDF TO JPG
   ========================================================= */

.jpg-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;

    margin-top: 20px;
    margin-bottom: 25px;
}

.jpg-preview-card {
    padding: 12px;

    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 10px;

    text-align: center;
}

.jpg-preview-card canvas {
    width: 100%;
    height: auto;
    display: block;

    background-color: #ffffff;
    border-radius: 6px;
}

.jpg-preview-card p {
    margin: 10px 0 0;

    color: #555555;
    font-size: 13px;
    font-weight: 600;
}

.jpg-download-btn {
    display: inline-block;

    padding: 8px 12px;
    margin-top: 10px;

    border: none;
    border-radius: 6px;

    background-color: #5b4df6;
    color: #ffffff;

    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.jpg-download-btn:hover {
    opacity: 0.9;
}


/* =========================================================
   PDF TO WORD
   ========================================================= */

#pdf-to-word-button,
#word-to-pdf-button {
    margin-top: 10px;
}

#pdf-to-word-message,
#word-to-pdf-message {
    margin-top: 18px;
    color: #555555;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   WORD TO PDF
   ========================================================= */

#word-to-pdf-info,
#pdf-to-word-info {
    padding: 12px 15px;
    margin-bottom: 22px;

    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 9px;

    color: #444444;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}


/* =========================================================
   JPG TO PDF
   ========================================================= */

.jpg-to-pdf-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;

    margin-top: 20px;
    margin-bottom: 25px;
}

.jpg-to-pdf-preview-card {
    padding: 12px;

    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 10px;

    text-align: center;
}

.jpg-to-pdf-preview-card img {
    width: 100%;
    height: 180px;

    display: block;

    object-fit: contain;

    background-color: #ffffff;
    border-radius: 6px;
}

.jpg-to-pdf-preview-card p {
    margin: 10px 0 8px;

    color: #555555;
    font-size: 13px;
    font-weight: 600;
}

.jpg-remove-btn {
    padding: 7px 12px;

    border: none;
    border-radius: 6px;

    background-color: #e74c3c;
    color: #ffffff;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
}

.jpg-remove-btn:hover {
    opacity: 0.9;
}


/* =========================================================
   PROTECT PDF
   ========================================================= */

.pdf-password-area {
    margin-top: 20px;
    margin-bottom: 20px;
}

.pdf-password-input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;

    border: 1px solid #dcdce5;
    border-radius: 8px;

    outline: none;
    font-size: 14px;
}

.pdf-password-input:focus {
    border-color: #5b4df6;
    box-shadow: 0 0 0 3px rgba(91, 77, 246, 0.10);
}


/* =========================================================
   CROP PDF
   ========================================================= */

.crop-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 15px;

    margin-top: 20px;
    margin-bottom: 22px;

    text-align: left;
}

.crop-options label {
    color: #444444;
    font-size: 14px;
    font-weight: 600;
}

.crop-options input {
    width: 100%;
    padding: 11px 12px;

    border: 1px solid #dcdce5;
    border-radius: 8px;

    outline: none;
    font-size: 14px;
}

.crop-options input:focus {
    border-color: #5b4df6;
}


/* =========================================================
   ROTATE PDF
   ========================================================= */

.rotate-options {
    margin-top: 20px;
    margin-bottom: 22px;

    text-align: left;
}

.rotate-options label {
    display: block;

    margin-bottom: 8px;

    color: #444444;
    font-size: 14px;
    font-weight: 600;
}

.rotate-options select {
    width: 100%;
    padding: 11px 12px;

    border: 1px solid #dcdce5;
    border-radius: 8px;

    background-color: #ffffff;
    color: #444444;

    outline: none;
    font-size: 14px;
}

.rotate-options select:focus {
    border-color: #5b4df6;
}


/* =========================================================
   DELETE PDF PAGES
   ========================================================= */

.delete-pages-options,
.extract-pages-options,
.reorder-pages-options {
    margin-top: 20px;
    margin-bottom: 22px;

    text-align: left;
}

.delete-pages-options label,
.extract-pages-options label,
.reorder-pages-options label {
    display: block;

    margin-bottom: 8px;

    color: #444444;
    font-size: 14px;
    font-weight: 600;
}

.delete-pages-options input,
.extract-pages-options input,
.reorder-pages-options input {
    width: 100%;
    padding: 11px 12px;

    border: 1px solid #dcdce5;
    border-radius: 8px;

    outline: none;
    font-size: 14px;
}

.delete-pages-options input:focus,
.extract-pages-options input:focus,
.reorder-pages-options input:focus {
    border-color: #5b4df6;
}

.delete-pages-help,
.extract-pages-help,
.reorder-pages-help {
    margin-top: 8px;

    color: #777777;
    font-size: 12px;
}


/* =========================================================
   WATERMARK PDF
   ========================================================= */

.watermark-options {
    margin-top: 20px;
    margin-bottom: 22px;

    text-align: left;
}

.watermark-options label {
    display: block;

    margin-bottom: 8px;

    color: #444444;
    font-size: 14px;
    font-weight: 600;
}

.watermark-options input {
    width: 100%;
    padding: 11px 12px;

    border: 1px solid #dcdce5;
    border-radius: 8px;

    outline: none;
    font-size: 14px;
}

.watermark-options input:focus {
    border-color: #5b4df6;
}


/* =========================================================
   ADD PAGE NUMBERS
   ========================================================= */

.page-number-options,
.sign-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;

    margin-top: 20px;
    margin-bottom: 22px;

    text-align: left;
}

.page-number-option label,
.sign-option label {
    display: block;

    margin-bottom: 8px;

    color: #444444;
    font-size: 14px;
    font-weight: 600;
}

.page-number-option select,
.page-number-option input,
.sign-option input,
.sign-option select {
    width: 100%;
    padding: 11px 12px;

    border: 1px solid #dcdce5;
    border-radius: 8px;

    background-color: #ffffff;
    color: #444444;

    outline: none;
    font-size: 14px;
}

.page-number-option select:focus,
.page-number-option input:focus,
.sign-option input:focus,
.sign-option select:focus {
    border-color: #5b4df6;
}


/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 1100px) {

    .site-header {
        padding: 0 5%;
    }

    .tools-section,
    .about-section,
    .contact-section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .tool-grid,
    .tool-category .tool-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 900px) {

    .hero h1 {
        font-size: 48px;
    }

    .tool-grid,
    .tool-category .tool-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tool-page-card {
        max-width: 680px;
    }
}


@media (max-width: 700px) {

    .site-header {
        min-height: auto;
        padding: 18px 5%;

        flex-direction: column;
        gap: 15px;
    }

    .navbar {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar a {
        font-size: 13px;
    }

    .hero {
        min-height: 500px;
        padding: 65px 20px;
    }

    .hero h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 16px;
    }

    .tools-section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .tool-grid,
    .tool-category .tool-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .about-content h2,
    .contact-content h2 {
        font-size: 31px;
    }

    .tool-category-heading h3 {
        font-size: 23px;
    }

    .tool-category {
        margin-bottom: 50px;
    }

    .auth-card {
        padding: 30px 22px;
    }

    .auth-card h1 {
        font-size: 27px;
    }

    .tool-page-section {
        padding: 45px 15px;
    }

    .tool-page-card {
        padding: 35px 22px;
        border-radius: 14px;
    }

    .tool-page-card h1 {
        font-size: 34px;
    }

    .tool-page-description {
        font-size: 16px;
    }

    .page-number-options,
    .sign-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}


@media (max-width: 500px) {

    .crop-options {
        grid-template-columns: 1fr;
    }

    .hero-small-title {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
    }

    .file-select-btn {
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .selected-file {
        align-items: flex-start;
    }
}
.forgot-password {
    text-align: center;
    margin: 18px 0 12px;
}

.forgot-password a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.create-account {
    text-align: center;
    margin: 12px 0 20px;
}

.back-home {
    display: block;
    text-align: center;
}
/* ================================
   PROFESSIONAL FOOTER LINKS
================================ */

.footer-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8b9cff;
    text-decoration: underline;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
}
/* ================= ALTERNATE & MIX ================= */

#alternate-pdf-1,
#alternate-pdf-2 {
    display: none;
}
/* =====================================================
   ORGANIZE PDF TOOL
===================================================== */

.organize-pages-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 25px;
    margin-bottom: 25px;
    max-height: 600px;
    overflow-y: auto;
    padding: 5px;
}


.organize-page {
    background-color: #f8f7ff;
    border: 2px solid #e5e4ee;
    border-radius: 12px;
    padding: 10px;
    cursor: grab;
    transition: 0.2s;
    position: relative;
}


.organize-page:hover {
    border-color: #5b4df6;
    transform: translateY(-2px);
}


.organize-page.dragging {
    opacity: 0.5;
}


.organize-page canvas {
    width: 100%;
    height: auto;
    display: block;
    background-color: #ffffff;
    border-radius: 6px;
}


.organize-page-number {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}


.organize-page.drag-over {
    border-color: #5b4df6;
    transform: scale(1.03);
}


#organize-pdf-file {
    display: none;
}


@media (max-width: 700px) {

    .organize-pages-container {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 450px) {

    .organize-pages-container {
        grid-template-columns: 1fr;
    }

}
/* =====================================================
   SPLIT BY BOOKMARKS TOOL
===================================================== */

#split-bookmarks-file {
    display: none;
}


#split-bookmarks-list {
    text-align: left;
    margin-top: 20px;
    margin-bottom: 25px;
}


.split-bookmark-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    background-color: #f7f7fb;

    border: 1px solid #e5e5ec;

    border-radius: 9px;

    padding: 12px 14px;

    margin-bottom: 9px;

    font-size: 14px;
}


.split-bookmark-name {
    color: #333;

    font-weight: 600;

    word-break: break-word;
}


.split-bookmark-page {
    color: #5b4df6;

    font-weight: 700;

    white-space: nowrap;
}


.split-bookmark-warning {
    background-color: #fff7e6;

    border: 1px solid #f0d28a;

    color: #8a6400;

    border-radius: 9px;

    padding: 12px 14px;

    margin-top: 20px;

    font-size: 14px;

    text-align: left;
}
/* =====================================================
   SPLIT IN HALF TOOL
===================================================== */

#split-half-file {
    display: none;
}


.split-half-info-box {
    background-color: #f7f7fb;

    border: 1px solid #e5e5ec;

    border-radius: 10px;

    padding: 14px 16px;

    margin-top: 20px;

    margin-bottom: 25px;

    text-align: left;

    font-size: 14px;

    color: #333;
}


.split-half-info-box strong {
    color: #5b4df6;
}


.split-half-part {
    margin-top: 6px;
}


.split-half-warning {
    background-color: #fff7e6;

    border: 1px solid #f0d28a;

    color: #8a6400;

    border-radius: 9px;

    padding: 12px 14px;

    margin-top: 15px;

    font-size: 14px;

    text-align: left;
}
/* =====================================================
   SPLIT BY SIZE TOOL
===================================================== */

#split-size-file {
    display: none;
}


/* ================= OPTIONS BOX ================= */

.split-size-method-box {
    background-color: #f8f7ff;
    border: 1px solid #e5e4ee;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 25px;
    text-align: left;
}


.split-size-method-title {
    color: #333;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
}


/* ================= OPTION BOX ================= */

.split-size-option-box {
    background-color: #ffffff;
    border: 1px solid #e5e4ee;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 15px;
}


.split-size-option-box:last-child {
    margin-bottom: 0;
}


/* ================= LABEL ================= */

.split-size-label {
    display: block;
    color: #333;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}


/* ================= INPUT ROW ================= */

.split-size-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}


.split-size-input {
    width: 150px;
    padding: 11px 12px;
    border: 1px solid #d9d7e5;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}


.split-size-input:focus {
    border-color: #5b4df6;

    box-shadow:
        0 0 0 3px rgba(91, 77, 246, 0.10);
}


/* ================= UNIT ================= */

.split-size-unit-select {
    min-width: 100px;
    padding: 11px 12px;

    border: 1px solid #d9d7e5;
    border-radius: 8px;

    background-color: #ffffff;

    color: #333;

    font-size: 15px;
    font-weight: 700;

    outline: none;

    cursor: pointer;
}


.split-size-unit-select:focus {
    border-color: #5b4df6;
}


.split-size-unit {
    font-size: 15px;
    font-weight: 700;
    color: #555;
}


/* ================= SMALL TEXT ================= */

.split-size-small-text {
    color: #777;
    font-size: 13px;
    margin-top: 10px;
    margin-bottom: 0;
}


/* ================= INFO BOX ================= */

.split-size-info-box {
    background-color: #f7f7fb;

    border: 1px solid #e5e5ec;

    border-radius: 10px;

    padding: 14px 16px;

    margin-bottom: 25px;

    text-align: left;

    font-size: 14px;

    color: #333;
}


.split-size-info-box strong {
    color: #5b4df6;
}


.split-size-warning {
    background-color: #fff7e6;

    border: 1px solid #f0d28a;

    color: #8a6400;

    border-radius: 9px;

    padding: 12px 14px;

    margin-bottom: 20px;

    font-size: 14px;

    text-align: left;
}


/* ================= MOBILE ================= */

@media (max-width: 500px) {

    .split-size-input-row {
        flex-direction: column;
        align-items: stretch;
    }


    .split-size-input {
        width: 100%;
    }


    .split-size-unit-select {
        width: 100%;
    }

}
/* =====================================================
   SPLIT BY TEXT TOOL
===================================================== */

#split-text-file {
    display: none;
}


/* ================= SETTINGS ================= */

.split-text-settings {
    background-color: #f8f7ff;
    border: 1px solid #e5e4ee;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 25px;
    text-align: left;
}


/* ================= LABEL ================= */

.split-text-label {
    display: block;
    color: #333;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}


/* ================= TEXT INPUT ================= */

.split-text-input {
    width: 100%;
    box-sizing: border-box;

    padding: 12px 13px;

    border: 1px solid #d9d7e5;
    border-radius: 8px;

    background-color: #ffffff;

    color: #333;

    font-size: 15px;

    outline: none;

    transition: 0.2s;
}


.split-text-input:focus {
    border-color: #5b4df6;

    box-shadow:
        0 0 0 3px rgba(91, 77, 246, 0.10);
}


.split-text-input::placeholder {
    color: #999;
}


/* ================= HELP TEXT ================= */

.split-text-help {
    color: #777;

    font-size: 13px;

    line-height: 1.5;

    margin-top: 10px;

    margin-bottom: 0;
}


/* ================= INFO BOX ================= */

.split-text-info-box {
    background-color: #f7f7fb;

    border: 1px solid #e5e5ec;

    border-radius: 10px;

    padding: 14px 16px;

    margin-bottom: 25px;

    text-align: left;

    font-size: 14px;

    color: #333;
}


.split-text-info-box strong {
    color: #5b4df6;
}


/* ================= FOUND PAGES ================= */

.split-text-pages {
    margin-top: 10px;
}


.split-text-page-item {
    display: inline-block;

    background-color: #eeeeff;

    color: #5b4df6;

    border: 1px solid #dcd8ff;

    border-radius: 6px;

    padding: 5px 9px;

    margin: 4px 4px 0 0;

    font-size: 13px;

    font-weight: 700;
}


/* ================= WARNING ================= */

.split-text-warning {
    background-color: #fff7e6;

    border: 1px solid #f0d28a;

    color: #8a6400;

    border-radius: 9px;

    padding: 12px 14px;

    margin-bottom: 20px;

    font-size: 14px;

    text-align: left;
}


/* ================= MOBILE ================= */

@media (max-width: 500px) {

    .split-text-settings {
        padding: 16px;
    }


    .split-text-input {
        font-size: 14px;
    }

}
/* =====================================================
   FLATTEN PDF TOOL
===================================================== */

.flatten-pdf-info {
    width: 100%;
    margin: 0 auto 25px;
    text-align: left;
}

.flatten-pdf-file-name {
    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 9px;
    padding: 12px 15px;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}


/* ================= FLATTEN BUTTON ================= */

#flatten-pdf-button {
    width: 100%;
    max-width: 300px;
    margin: 5px auto 20px;
    display: block;
}


/* ================= MESSAGE ================= */

#flatten-pdf-message {
    min-height: 22px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
}


/* ================= SUCCESS MESSAGE ================= */

#flatten-pdf-message.success-message {
    color: #168a45;
}


/* ================= ERROR MESSAGE ================= */

#flatten-pdf-message.error-message {
    color: #d33;
}


/* ================= DISABLED BUTTON ================= */

#flatten-pdf-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}


/* ================= MOBILE ================= */

@media (max-width: 600px) {

    #flatten-pdf-button {
        max-width: 100%;
    }

}
/* Hide native Flatten PDF file input */

#flatten-pdf-file {
    display: none;
}
/* =====================================================
   PDF TO TEXT TOOL
===================================================== */


/* ================= HIDE FILE INPUT ================= */

#pdf-to-text-file {
    display: none;
}


/* ================= FILE INFO ================= */

#pdf-to-text-info {
    width: 100%;
    margin-bottom: 25px;
}


/* ================= CONVERT BUTTON ================= */

#pdf-to-text-button {
    width: 100%;
    max-width: 300px;
    margin: 5px auto 20px;
    display: block;
}


/* ================= MESSAGE ================= */

#pdf-to-text-message {
    min-height: 22px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
}


/* ================= SUCCESS ================= */

#pdf-to-text-message.success-message {
    color: #168a45;
}


/* ================= ERROR ================= */

#pdf-to-text-message.error-message {
    color: #d33;
}


/* ================= DISABLED ================= */

#pdf-to-text-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}


/* ================= MOBILE ================= */

@media (max-width: 600px) {

    #pdf-to-text-button {
        max-width: 100%;
    }

}
/* =====================================================
   HTML TO PDF TOOL
===================================================== */


/* ================= CARD ================= */

.html-to-pdf-card {
    max-width: 800px;
}


/* ================= TABS ================= */

.html-pdf-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}


.html-pdf-tab {
    border: 1px solid #ddd9ff;
    background-color: #f7f6ff;
    color: #4c42c9;
    padding: 11px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}


.html-pdf-tab:hover {
    background-color: #ebe9ff;
}


.html-pdf-tab.active {
    background-color: #5b4df6;
    color: #ffffff;
    border-color: #5b4df6;
}


/* ================= OPTION SECTIONS ================= */

.html-pdf-option-section {
    display: none;
}


.html-pdf-option-section.active {
    display: block;
}


/* ================= HIDE FILE INPUT ================= */

#html-pdf-file {
    display: none;
}


/* ================= INPUT GROUP ================= */

.html-pdf-input-group {
    text-align: left;
    margin-bottom: 15px;
}


.html-pdf-input-label {
    display: block;
    margin-bottom: 8px;
    color: #333333;
    font-size: 15px;
    font-weight: 700;
}


/* ================= TEXT INPUT ================= */

.html-pdf-text-input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 15px;
    border: 1px solid #dcdce6;
    border-radius: 9px;
    background-color: #ffffff;
    color: #222222;
    font-size: 15px;
    outline: none;
}


.html-pdf-text-input:focus {
    border-color: #5b4df6;
    box-shadow:
        0 0 0 3px
        rgba(91, 77, 246, 0.12);
}


/* ================= HTML CODE ================= */

.html-pdf-code-input {
    width: 100%;
    min-height: 300px;
    box-sizing: border-box;

    resize: vertical;

    padding: 15px;

    border: 1px solid #dcdce6;
    border-radius: 10px;

    background-color: #fafafa;

    color: #222222;

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 14px;

    line-height: 1.6;

    outline: none;
}


.html-pdf-code-input:focus {
    border-color: #5b4df6;

    box-shadow:
        0 0 0 3px
        rgba(91, 77, 246, 0.12);
}


/* ================= HELP TEXT ================= */

.html-pdf-help {
    color: #777777;
    font-size: 14px;
    margin: 10px 0 20px;
}


.html-pdf-url-note {
    color: #888888;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 15px;
}


/* ================= ACTION BUTTON ================= */

#html-pdf-file-button,
#html-pdf-url-button,
#html-pdf-code-button {
    width: 100%;
    max-width: 320px;
    margin: 10px auto 15px;
    display: block;
}


/* ================= MESSAGE ================= */

#html-pdf-message {
    min-height: 22px;
    margin-top: 15px;
    line-height: 1.5;
    font-size: 14px;
}


#html-pdf-message.success-message {
    color: #168a45;
}


#html-pdf-message.error-message {
    color: #d33;
}


/* ================= DISABLED ================= */

#html-pdf-file-button:disabled,
#html-pdf-url-button:disabled,
#html-pdf-code-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}


/* ================= MOBILE ================= */

@media (max-width: 600px) {

    .html-pdf-tabs {
        flex-direction: column;
    }


    .html-pdf-tab {
        width: 100%;
    }


    #html-pdf-file-button,
    #html-pdf-url-button,
    #html-pdf-code-button {
        max-width: 100%;
    }


    .html-pdf-code-input {
        min-height: 250px;
    }

}
/* =====================================================
   CREATE BOOKMARKS TOOL
===================================================== */

.create-bookmarks-card {
    max-width: 800px;
}

#create-bookmarks-file {
    display: none;
}

.create-bookmarks-file-info {
    width: 100%;
    margin: 0 auto 25px;
    text-align: left;
}

.create-bookmarks-file-name {
    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 9px;
    padding: 12px 15px;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}


/* BOOKMARK EDITOR */

.bookmark-editor {
    display: none;
    width: 100%;
    text-align: left;
    margin-bottom: 25px;
}

.bookmark-editor.show {
    display: block;
}

.bookmark-editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 10px;
}

.bookmark-editor-header h3 {
    margin: 0;
    color: #222222;
    font-size: 20px;
}

.add-bookmark-button {
    border: none;
    background-color: #5b4df6;
    color: #ffffff;
    padding: 9px 14px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.add-bookmark-button:hover {
    background-color: #493be0;
    transform: translateY(-1px);
}

.bookmark-help-text {
    color: #777777;
    font-size: 14px;
    margin: 0 0 15px;
    line-height: 1.5;
}


/* BOOKMARK ROW */

.bookmark-row {
    display: grid;
    grid-template-columns: 1fr 120px 42px;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.bookmark-title-input,
.bookmark-page-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddddE7;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 11px 12px;
    font-size: 14px;
    color: #333333;
    outline: none;
    transition: 0.2s;
}

.bookmark-title-input:focus,
.bookmark-page-input:focus {
    border-color: #5b4df6;
    box-shadow: 0 0 0 3px rgba(91, 77, 246, 0.08);
}

.bookmark-page-input {
    text-align: center;
}

.remove-bookmark-button {
    width: 42px;
    height: 42px;
    border: none;
    background-color: #ffe9e9;
    color: #d33;
    border-radius: 7px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: 0.2s;
}

.remove-bookmark-button:hover {
    background-color: #ffd5d5;
}


/* CREATE BUTTON */

#create-bookmarks-button {
    width: 100%;
    max-width: 300px;
    margin: 5px auto 20px;
    display: block;
}

#create-bookmarks-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}


/* MESSAGE */

#create-bookmarks-message {
    min-height: 22px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
}

#create-bookmarks-message.success-message {
    color: #168a45;
}

#create-bookmarks-message.error-message {
    color: #d33;
}


/* MOBILE */

@media (max-width: 600px) {

    .bookmark-editor-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .add-bookmark-button {
        width: 100%;
    }

    .bookmark-row {
        grid-template-columns: 1fr;
    }

    .bookmark-page-input {
        text-align: left;
    }

    .remove-bookmark-button {
        width: 100%;
        height: 38px;
    }

    #create-bookmarks-button {
        max-width: 100%;
    }
}
/* =====================================================
   EDIT METADATA TOOL
===================================================== */

.edit-metadata-card {
    max-width: 800px;
}

#edit-metadata-file {
    display: none;
}


/* FILE INFORMATION */

.edit-metadata-file-info {
    width: 100%;
    margin: 0 auto 25px;
    text-align: left;
}

.edit-metadata-file-name {
    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 9px;
    padding: 12px 15px;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}


/* OPTIONS */

.metadata-options {
    display: none;
    width: 100%;
    text-align: left;
    margin-bottom: 25px;
}

.metadata-options.show {
    display: block;
}

.metadata-options h3 {
    margin: 0 0 15px;
    color: #222222;
    font-size: 20px;
}


/* OPTION CARD */

.metadata-option-card {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 15px;

    border: 1px solid #e5e5ec;
    background-color: #ffffff;

    border-radius: 12px;

    padding: 16px;

    margin-bottom: 12px;

    text-align: left;

    cursor: pointer;

    transition: 0.25s;
}

.metadata-option-card:hover {
    border-color: #bdb6ff;
    background-color: #f8f7ff;
    transform: translateY(-1px);
}

.metadata-option-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #f1efff;

    border-radius: 9px;

    font-size: 20px;
}

.metadata-option-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.metadata-option-content strong {
    color: #222222;
    font-size: 15px;
}

.metadata-option-content small {
    color: #777777;
    font-size: 13px;
    line-height: 1.5;
}


/* EDIT FORM */

.metadata-edit-form {
    display: none;
    width: 100%;
    text-align: left;
    margin-bottom: 25px;
}

.metadata-edit-form.show {
    display: block;
}

.metadata-form-header {
    margin-bottom: 20px;
}

.metadata-form-header h3 {
    margin: 0 0 6px;
    color: #222222;
    font-size: 20px;
}

.metadata-form-header p {
    margin: 0;
    color: #777777;
    font-size: 13px;
    line-height: 1.5;
}


/* METADATA FIELD */

.metadata-field {
    margin-bottom: 15px;
}

.metadata-field label {
    display: block;
    margin-bottom: 7px;

    color: #333333;

    font-size: 14px;
    font-weight: 700;
}

.metadata-input {
    width: 100%;
    box-sizing: border-box;

    border: 1px solid #ddddE7;
    background-color: #ffffff;

    border-radius: 8px;

    padding: 11px 12px;

    font-size: 14px;
    color: #333333;

    outline: none;

    transition: 0.2s;
}

.metadata-input:focus {
    border-color: #5b4df6;
    box-shadow:
        0 0 0 3px rgba(91, 77, 246, 0.08);
}


/* BUTTONS */

#update-metadata-button {
    width: 100%;
    max-width: 300px;

    margin: 8px auto 0;

    display: block;
}

.metadata-remove-button {
    display: none;

    width: 100%;
    max-width: 300px;

    margin: 5px auto 20px;
}

.metadata-remove-button.show {
    display: block;
}


/* MESSAGE */

#edit-metadata-message {
    min-height: 22px;

    margin-top: 10px;

    font-size: 14px;
    line-height: 1.5;
}

#edit-metadata-message.success-message {
    color: #168a45;
}

#edit-metadata-message.error-message {
    color: #d33;
}


/* DISABLED */

#update-metadata-button:disabled,
#remove-metadata-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}


/* MOBILE */

@media (max-width: 600px) {

    .metadata-option-card {
        padding: 14px;
    }

    .metadata-option-icon {
        width: 38px;
        height: 38px;
    }

    #update-metadata-button,
    .metadata-remove-button {
        max-width: 100%;
    }

}
/* =====================================================
   EXTRACT IMAGES TOOL
===================================================== */

.extract-images-card {
    max-width: 800px;
}

#extract-images-file {
    display: none;
}

.extract-images-file-info {
    width: 100%;
    margin: 0 auto 25px;
    text-align: left;
}

.extract-images-file-name {
    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 9px;
    padding: 12px 15px;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}


/* OPTIONS */

.extract-images-options {
    display: none;
    width: 100%;
    text-align: left;
    margin-bottom: 25px;
}

.extract-images-options.show {
    display: block;
}

.extract-images-options h3 {
    margin: 0 0 15px;
    color: #222222;
    font-size: 20px;
}


/* OPTION CARD */

.extract-images-option-card {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 15px;

    border: 1px solid #e5e5ec;
    background-color: #ffffff;

    border-radius: 12px;

    padding: 16px;

    margin-bottom: 12px;

    text-align: left;

    cursor: pointer;

    transition: 0.25s;
}

.extract-images-option-card:hover {
    border-color: #bdb6ff;
    background-color: #f8f7ff;
    transform: translateY(-1px);
}


/* OPTION ICON */

.extract-images-option-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #f1efff;

    border-radius: 9px;

    font-size: 20px;
}


/* OPTION CONTENT */

.extract-images-option-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.extract-images-option-content strong {
    color: #222222;
    font-size: 15px;
}

.extract-images-option-content small {
    color: #777777;
    font-size: 13px;
    line-height: 1.5;
}


/* ACTION BUTTON */

#extract-images-button {
    width: 100%;
    max-width: 300px;

    margin: 5px auto 20px;

    display: none;
}

#extract-images-button.show {
    display: block;
}


/* MESSAGE */

#extract-images-message {
    min-height: 22px;

    margin-top: 10px;

    font-size: 14px;

    line-height: 1.5;
}

#extract-images-message.success-message {
    color: #168a45;
}

#extract-images-message.error-message {
    color: #d33;
}


/* DISABLED */

#extract-images-button:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;
}


/* MOBILE */

@media (max-width: 600px) {

    .extract-images-option-card {
        padding: 14px;
    }

    .extract-images-option-icon {
        width: 38px;
        height: 38px;
    }

    #extract-images-button {
        max-width: 100%;
    }

}
/* =====================================================
   FLIP PDF TOOL
===================================================== */

.flip-pdf-card {
    max-width: 800px;
}

#flip-pdf-file {
    display: none;
}


/* FILE INFO */

.flip-pdf-file-info {
    width: 100%;
    margin: 0 auto 25px;
    text-align: left;
}

.flip-pdf-file-name {
    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 9px;
    padding: 12px 15px;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}


/* OPTIONS */

.flip-pdf-options {
    display: none;
    width: 100%;
    text-align: left;
    margin-bottom: 25px;
}

.flip-pdf-options.show {
    display: block;
}

.flip-pdf-options h3 {
    margin: 0 0 15px;
    color: #222222;
    font-size: 20px;
}


/* OPTION CARD */

.flip-pdf-option-card {
    width: 100%;

    display: flex;
    align-items: flex-start;

    gap: 15px;

    border: 1px solid #e5e5ec;

    background-color: #ffffff;

    border-radius: 12px;

    padding: 16px;

    margin-bottom: 12px;

    text-align: left;

    cursor: pointer;

    transition: 0.25s;
}

.flip-pdf-option-card:hover {
    border-color: #bdb6ff;

    background-color: #f8f7ff;

    transform: translateY(-1px);
}


/* OPTION ICON */

.flip-pdf-option-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #f1efff;

    border-radius: 9px;

    font-size: 20px;
}


/* OPTION CONTENT */

.flip-pdf-option-content {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.flip-pdf-option-content strong {
    color: #222222;

    font-size: 15px;
}

.flip-pdf-option-content small {
    color: #777777;

    font-size: 13px;

    line-height: 1.5;
}


/* ACTION BUTTON */

#flip-pdf-button {
    width: 100%;

    max-width: 300px;

    margin: 5px auto 20px;

    display: none;
}

#flip-pdf-button.show {
    display: block;
}


/* MESSAGE */

#flip-pdf-message {
    min-height: 22px;

    margin-top: 10px;

    font-size: 14px;

    line-height: 1.5;
}

#flip-pdf-message.success-message {
    color: #168a45;
}

#flip-pdf-message.error-message {
    color: #d33;
}


/* DISABLED */

#flip-pdf-button:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;
}


/* MOBILE */

@media (max-width: 600px) {

    .flip-pdf-option-card {
        padding: 14px;
    }

    .flip-pdf-option-icon {
        width: 38px;
        height: 38px;
    }

    #flip-pdf-button {
        max-width: 100%;
    }

}
/* =====================================================
   GRAYSCALE PDF TOOL
===================================================== */

.grayscale-pdf-card {
    max-width: 800px;
}

#grayscale-pdf-file {
    display: none;
}


/* FILE INFO */

.grayscale-pdf-file-info {
    width: 100%;
    margin: 0 auto 25px;
    text-align: left;
}

.grayscale-pdf-file-name {
    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 9px;
    padding: 12px 15px;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}


/* ACTION BUTTON */

#grayscale-pdf-button {
    width: 100%;
    max-width: 300px;
    margin: 5px auto 20px;
    display: block;
}


/* MESSAGE */

#grayscale-pdf-message {
    min-height: 22px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
}

#grayscale-pdf-message.success-message {
    color: #168a45;
}

#grayscale-pdf-message.error-message {
    color: #d33;
}


/* DISABLED */

#grayscale-pdf-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}


/* MOBILE */

@media (max-width: 600px) {

    #grayscale-pdf-button {
        max-width: 100%;
    }

}
/* =====================================================
   HEADER & FOOTER TOOL
===================================================== */

.header-footer-card {
    max-width: 800px;
}

#header-footer-file {
    display: none;
}


/* FILE INFO */

.header-footer-file-info {
    width: 100%;
    margin: 0 auto 25px;
    text-align: left;
}

.header-footer-file-name {
    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 9px;
    padding: 12px 15px;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}


/* SETTINGS */

.header-footer-settings {
    display: none;
    width: 100%;
    text-align: left;
}

.header-footer-settings.show {
    display: block;
}


/* SETTING SECTION */

.hf-setting-section {
    background-color: #fafaff;
    border: 1px solid #e5e5ec;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.hf-setting-section h3 {
    margin: 0 0 18px;
    color: #222222;
    font-size: 19px;
}


/* FIELD */

.hf-field {
    margin-bottom: 16px;
}

.hf-field:last-child {
    margin-bottom: 0;
}

.hf-field label {
    display: block;
    margin-bottom: 7px;
    color: #333333;
    font-size: 14px;
    font-weight: 700;
}


/* INPUT */

.hf-input {
    width: 100%;
    box-sizing: border-box;

    border: 1px solid #ddddE7;
    background-color: #ffffff;

    border-radius: 8px;

    padding: 11px 12px;

    font-size: 14px;
    color: #333333;

    outline: none;

    transition: 0.2s;
}

.hf-input:focus {
    border-color: #5b4df6;

    box-shadow:
        0 0 0 3px
        rgba(91, 77, 246, 0.08);
}


/* STYLE ROW */

.hf-style-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;

    margin-bottom: 16px;
}

.hf-checkbox-label {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #333333;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

.hf-checkbox-label input {
    width: 16px;
    height: 16px;

    accent-color: #5b4df6;

    cursor: pointer;
}


/* COLOR */

.hf-color-input {
    width: 70px;
    height: 42px;

    padding: 3px;

    border: 1px solid #ddddE7;

    border-radius: 8px;

    background-color: #ffffff;

    cursor: pointer;
}


/* MARGIN OPTIONS */

.hf-margin-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hf-radio-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 14px;

    border: 1px solid #e5e5ec;

    border-radius: 10px;

    background-color: #ffffff;

    cursor: pointer;

    transition: 0.2s;
}

.hf-radio-card:hover {
    border-color: #bdb6ff;
    background-color: #f8f7ff;
}

.hf-radio-card input {
    margin-top: 3px;

    accent-color: #5b4df6;

    cursor: pointer;
}

.hf-radio-card span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hf-radio-card strong {
    color: #222222;
    font-size: 14px;
}

.hf-radio-card small {
    color: #777777;
    font-size: 13px;
    line-height: 1.4;
}


/* ADDITIONAL MARGIN */

.hf-margin-size-area {
    display: none;
}

.hf-margin-size-area.show {
    display: block;
}

.hf-help {
    display: block;

    margin-top: 6px;

    color: #777777;

    font-size: 12px;
}


/* ACTION BUTTON */

#header-footer-button {
    width: 100%;

    max-width: 300px;

    margin: 25px auto 20px;

    display: block;
}


/* MESSAGE */

#header-footer-message {
    min-height: 22px;

    margin-top: 10px;

    font-size: 14px;

    line-height: 1.5;
}

#header-footer-message.success-message {
    color: #168a45;
}

#header-footer-message.error-message {
    color: #d33;
}


/* DISABLED */

#header-footer-button:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;
}


/* MOBILE */

@media (max-width: 600px) {

    .hf-setting-section {
        padding: 16px;
    }

    .hf-style-row {
        gap: 12px;
    }

    #header-footer-button {
        max-width: 100%;
    }

}
/* =====================================================
   N-UP TOOL
===================================================== */

.n-up-card {
    max-width: 800px;
}

#n-up-file {
    display: none;
}

.n-up-file-info {
    width: 100%;
    margin: 0 auto 25px;
    text-align: left;
}

.n-up-file-name {
    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 9px;
    padding: 12px 15px;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}

.n-up-settings {
    display: none;
    width: 100%;
    text-align: left;
}

.n-up-settings.show {
    display: block;
}

.n-up-setting-section {
    background-color: #fafaff;
    border: 1px solid #e5e5ec;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.n-up-setting-section h3 {
    margin: 0 0 18px;
    color: #222222;
    font-size: 19px;
}

.n-up-style-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.n-up-style-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border: 1px solid #e5e5ec;
    border-radius: 10px;
    background-color: #ffffff;
    cursor: pointer;
    transition: 0.2s;
}

.n-up-style-card:hover {
    border-color: #bdb6ff;
    background-color: #f8f7ff;
}

.n-up-style-card input {
    margin-top: 3px;
    accent-color: #5b4df6;
    cursor: pointer;
}

.n-up-style-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.n-up-style-content strong {
    color: #222222;
    font-size: 14px;
}

.n-up-style-content small {
    color: #777777;
    font-size: 13px;
    line-height: 1.4;
}

#n-up-button {
    width: 100%;
    max-width: 300px;
    margin: 25px auto 20px;
    display: block;
}

#n-up-message {
    min-height: 22px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
}

#n-up-message.success-message {
    color: #168a45;
}

#n-up-message.error-message {
    color: #d33;
}

#n-up-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 600px) {

    .n-up-setting-section {
        padding: 16px;
    }

    #n-up-button {
        max-width: 100%;
    }

}
/* =====================================================
   RENAME PDF BY TEXT CONTENT
===================================================== */

.rename-text-card {
    max-width: 800px;
}

#rename-text-pdf-file {
    display: none;
}

.rename-text-file-info {
    width: 100%;
    margin: 0 auto 25px;
    text-align: left;
}

.rename-text-file-name {
    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 9px;
    padding: 12px 15px;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}

.rename-text-settings {
    display: none;
    width: 100%;
    text-align: left;
}

.rename-text-settings.show {
    display: block;
}

.rename-text-setting-section {
    background-color: #fafaff;
    border: 1px solid #e5e5ec;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 18px;
}

.rename-text-setting-section h3 {
    margin: 0 0 15px;
    color: #222222;
    font-size: 19px;
}

.rename-text-pattern {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddddE7;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 13px 14px;
    font-size: 15px;
    color: #333333;
    outline: none;
    transition: 0.2s;
}

.rename-text-pattern:focus {
    border-color: #5b4df6;
    box-shadow: 0 0 0 3px rgba(91, 77, 246, 0.08);
}

.rename-text-placeholders {
    margin-top: 14px;
}

.rename-text-placeholder-title {
    margin: 0 0 9px;
    color: #555555;
    font-size: 13px;
    font-weight: 700;
}

.rename-text-placeholder-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rename-text-placeholder-list span {
    display: inline-block;
    background-color: #f1efff;
    border: 1px solid #ddd8ff;
    color: #5145d8;
    border-radius: 6px;
    padding: 6px 9px;
    font-size: 12px;
    font-weight: 700;
}

.rename-text-help {
    display: block;
    margin-top: 10px;
    color: #777777;
    font-size: 12px;
    line-height: 1.5;
}

.rename-text-preview {
    display: none;
    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 9px;
    padding: 12px 15px;
    margin-bottom: 20px;
    color: #333333;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.rename-text-preview.show {
    display: block;
}

.rename-text-preview strong {
    color: #222222;
}

#rename-text-button {
    width: 100%;
    max-width: 300px;
    margin: 5px auto 20px;
    display: block;
}

#rename-text-message {
    min-height: 22px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
}

#rename-text-message.success-message {
    color: #168a45;
}

#rename-text-message.error-message {
    color: #d33;
}

#rename-text-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 600px) {

    .rename-text-setting-section {
        padding: 16px;
    }

    #rename-text-button {
        max-width: 100%;
    }

}
/* =====================================================
   REPAIR PDF TOOL
===================================================== */

.repair-pdf-card {
    max-width: 800px;
}

#repair-pdf-file {
    display: none;
}

.repair-pdf-file-info {
    width: 100%;
    margin: 0 auto 25px;
    text-align: left;
}

.repair-pdf-file-name {
    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 9px;
    padding: 12px 15px;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}

.repair-pdf-settings {
    display: none;
    width: 100%;
    text-align: left;
}

.repair-pdf-settings.show {
    display: block;
}

.repair-pdf-info-box {
    background-color: #fafaff;
    border: 1px solid #e5e5ec;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 20px;
}

.repair-pdf-info-box strong {
    display: block;
    margin-bottom: 7px;
    color: #222222;
    font-size: 15px;
}

.repair-pdf-info-box p {
    margin: 0;
    color: #777777;
    font-size: 13px;
    line-height: 1.6;
}

#repair-pdf-button {
    width: 100%;
    max-width: 300px;
    margin: 5px auto 20px;
    display: block;
}

#repair-pdf-message {
    min-height: 22px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
}

#repair-pdf-message.success-message {
    color: #168a45;
}

#repair-pdf-message.error-message {
    color: #d33;
}

#repair-pdf-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 600px) {

    .repair-pdf-info-box {
        padding: 16px;
    }

    #repair-pdf-button {
        max-width: 100%;
    }

}
/* =====================================================
   RESIZE PDF TOOL
===================================================== */

.resize-pdf-card {
    max-width: 800px;
}

#resize-pdf-file {
    display: none;
}

.resize-pdf-file-info {
    width: 100%;
    margin: 0 auto 25px;
    text-align: left;
}

.resize-pdf-file-name {
    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 9px;
    padding: 12px 15px;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}

.resize-pdf-settings {
    display: none;
    width: 100%;
    text-align: left;
}

.resize-pdf-settings.show {
    display: block;
}

.resize-options-title {
    margin: 0 0 15px;
    color: #222222;
    font-size: 20px;
}

.resize-option-card {
    border: 1px solid #e5e5ec;
    border-radius: 12px;
    background-color: #ffffff;
    margin-bottom: 14px;
    overflow: hidden;
}

.resize-option-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 17px;
    cursor: pointer;
}

.resize-option-header:hover {
    background-color: #fafaff;
}

.resize-option-header input {
    margin-top: 3px;
    accent-color: #5b4df6;
    cursor: pointer;
}

.resize-option-header span {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.resize-option-header strong {
    color: #222222;
    font-size: 15px;
}

.resize-option-header small {
    color: #777777;
    font-size: 13px;
    line-height: 1.5;
}

.resize-inner-settings {
    display: none;
    padding: 0 20px 20px;
}

.resize-inner-settings.show {
    display: block;
}

.resize-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.resize-field {
    margin-bottom: 15px;
}

.resize-field label,
.resize-unit-row label {
    display: block;
    margin-bottom: 7px;
    color: #333333;
    font-size: 14px;
    font-weight: 700;
}

.resize-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddddE7;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 11px 12px;
    font-size: 14px;
    color: #333333;
    outline: none;
    transition: 0.2s;
}

.resize-input:focus {
    border-color: #5b4df6;
    box-shadow: 0 0 0 3px rgba(91, 77, 246, 0.08);
}

.resize-unit-row {
    max-width: 250px;
}

.resize-custom-size {
    margin-top: 5px;
}

.resize-help {
    margin: 5px 0 0;
    color: #777777;
    font-size: 12px;
    line-height: 1.5;
}

#resize-pdf-button {
    width: 100%;
    max-width: 300px;
    margin: 25px auto 20px;
    display: block;
}

#resize-pdf-message {
    min-height: 22px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
}

#resize-pdf-message.success-message {
    color: #168a45;
}

#resize-pdf-message.error-message {
    color: #d33;
}

#resize-pdf-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 600px) {

    .resize-inner-settings {
        padding: 0 16px 16px;
    }

    .resize-fields-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .resize-unit-row {
        max-width: 100%;
    }

    #resize-pdf-button {
        max-width: 100%;
    }

}
/* =====================================================
   EDIT PDF - FULL PDF EDITOR
===================================================== */

.edit-pdf-section {
    min-height: calc(100vh - 72px);
    padding: 40px 15px 70px;
    background:
        linear-gradient(
            135deg,
            #f4f2ff 0%,
            #ffffff 50%,
            #eef7ff 100%
        );
}

.edit-pdf-card {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid #e5e4ee;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 15px 45px rgba(0,0,0,.08);
}

.edit-pdf-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.edit-pdf-top h1 {
    margin: 0 0 8px;
    font-size: 38px;
    color: #171717;
}

.edit-pdf-description {
    margin: 0;
    color: #707070;
    font-size: 16px;
}

#edit-pdf-file {
    display: none;
}

.edit-pdf-select-btn {
    display: inline-block;
    background-color: #5b4df6;
    color: #ffffff;
    padding: 13px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
    white-space: nowrap;
}

.edit-pdf-select-btn:hover {
    background-color: #493be0;
    transform: translateY(-2px);
}

.edit-pdf-file-info {
    display: none;
    margin-bottom: 20px;
    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 9px;
    padding: 12px 15px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}


/* TOOLBAR */

.edit-pdf-toolbar {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #e4e2ef;
    border-radius: 12px;
    background: #fafaff;
}

.edit-pdf-toolbar.show {
    display: flex;
}

.edit-toolbar-group {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-right: 10px;
    margin-right: 5px;
    border-right: 1px solid #ddd;
}

.edit-toolbar-group:last-child {
    border-right: none;
}

.edit-tool-button,
.edit-action-button {
    border: 1px solid #ddd9ed;
    background: #ffffff;
    color: #333;
    border-radius: 7px;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    cursor: pointer;
    font-weight: 700;
    transition: .2s;
}

.edit-tool-button:hover,
.edit-action-button:hover {
    background: #f0eeff;
    border-color: #bcb5ff;
}

.edit-tool-button.active {
    background: #5b4df6;
    color: white;
    border-color: #5b4df6;
}

.edit-action-button.danger:hover {
    background: #fff0f0;
    border-color: #efb0b0;
    color: #d33;
}

.edit-zoom-value {
    min-width: 50px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}


/* TEXT TOOLBAR */

.edit-pdf-text-toolbar {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px;
    margin-bottom: 10px;
    background: #f8f7ff;
    border: 1px solid #dedaff;
    border-radius: 10px;
}

.edit-pdf-text-toolbar.show {
    display: flex;
}

.edit-pdf-text-toolbar label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #444;
    font-size: 13px;
    font-weight: 700;
}

.edit-pdf-text-toolbar input[type="number"] {
    width: 70px;
}

.edit-pdf-text-toolbar select {
    min-width: 120px;
}

.edit-pdf-text-toolbar input,
.edit-pdf-text-toolbar select {
    border: 1px solid #d8d5e5;
    border-radius: 6px;
    padding: 7px 8px;
    background: white;
}

.format-toggle {
    width: 35px;
    height: 35px;
    border: 1px solid #d8d5e5;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.format-toggle.active {
    background: #5b4df6;
    color: #fff;
}


/* EXTRA PANELS */

.edit-pdf-extra-panel {
    display: none;
    margin-bottom: 12px;
    padding: 15px;
    background: #fafaff;
    border: 1px solid #e3e1ed;
    border-radius: 10px;
}

.edit-pdf-extra-panel.show {
    display: block;
}

.edit-pdf-extra-panel h3 {
    margin: 0 0 12px;
    color: #222;
    font-size: 17px;
}

.signature-options,
.shape-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.signature-option,
.shape-option {
    border: 1px solid #ddd9ed;
    background: #fff;
    padding: 9px 13px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 600;
}

.signature-option.active,
.shape-option.active {
    background: #5b4df6;
    color: white;
}

.signature-box {
    display: none;
    margin-top: 15px;
}

.signature-box.active {
    display: block;
}

#signature-image-file {
    display: none;
}

.signature-upload-button {
    display: inline-block;
    background: #5b4df6;
    color: white;
    padding: 10px 16px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 700;
}

#signature-draw-canvas {
    display: block;
    width: 100%;
    max-width: 500px;
    height: 180px;
    border: 2px dashed #bbb5dd;
    border-radius: 8px;
    background: #fff;
    cursor: crosshair;
}

.signature-draw-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.signature-draw-actions button,
.edit-primary-small-button {
    border: none;
    background: #5b4df6;
    color: #fff;
    padding: 9px 14px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 700;
}

.signature-draw-actions button:first-child {
    background: #eee;
    color: #333;
}

.edit-pdf-input {
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    border: 1px solid #ddd9e8;
    border-radius: 7px;
    padding: 9px 10px;
    margin-right: 7px;
    margin-bottom: 8px;
}

#signature-text-color,
#edit-pdf-stamp-color {
    width: 50px;
    height: 38px;
    padding: 2px;
    vertical-align: middle;
}

.stamp-row,
.table-settings {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.table-settings label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
}

.table-settings input {
    width: 65px;
    padding: 8px;
    border: 1px solid #ddd9e8;
    border-radius: 6px;
}


/* WORKSPACE */

.edit-pdf-workspace {
    display: none;
    min-height: 500px;
    margin-top: 15px;
    padding: 30px;
    overflow: auto;
    background:
        repeating-conic-gradient(
            #f2f2f2 0% 25%,
            #ffffff 0% 50%
        ) 50% / 20px 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
}

.edit-pdf-workspace.show {
    display: block;
}

.edit-pdf-empty-state {
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #777;
    text-align: center;
}

.edit-pdf-empty-icon {
    font-size: 55px;
    margin-bottom: 15px;
}

.edit-pdf-page {
    position: relative;
    width: 794px;
    min-height: 1123px;
    margin: 0 auto 30px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
    transform-origin: top center;
}

.edit-pdf-page.selected-page {
    outline: 3px solid #5b4df6;
}

.edit-pdf-page-number {
    position: absolute;
    top: -27px;
    left: 0;
    background: #5b4df6;
    color: white;
    padding: 4px 9px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
}


/* EDITABLE TEXT */

.editable-pdf-text {
    position: absolute;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    min-width: 30px;
    min-height: 18px;
    padding: 2px;
    border: 1px solid transparent;
    cursor: text;
    outline: none;
}

.editable-pdf-text:hover {
    border-color: #c7c1ff;
}

.editable-pdf-text:focus {
    border-color: #5b4df6;
    background: rgba(91,77,246,.05);
}


/* EDITOR ELEMENTS */

.pdf-editor-element {
    position: absolute;
    cursor: move;
    user-select: none;
}

.pdf-editor-element.selected-element {
    outline: 2px dashed #5b4df6;
}

.pdf-editor-image {
    max-width: 300px;
    max-height: 300px;
}

.pdf-editor-stamp {
    padding: 8px 15px;
    border: 3px solid currentColor;
    font-weight: 800;
    font-size: 20px;
    transform: rotate(-4deg);
}

.pdf-editor-shape {
    box-sizing: border-box;
}

.pdf-editor-table {
    border-collapse: collapse;
    background: white;
}

.pdf-editor-table td {
    border: 1px solid #333;
    min-width: 70px;
    height: 28px;
    padding: 4px;
}

.pdf-editor-drawing {
    pointer-events: none;
}

.pdf-editor-whiteout {
    background: white;
    border: 1px solid #ddd;
}

.pdf-editor-annotation {
    padding: 5px;
    border: 2px solid #f1b800;
    background: #fff8cf;
}


/* SAVE */

.edit-pdf-save-button {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 25px auto 15px;
    padding: 14px 20px;
    border: none;
    border-radius: 9px;
    background: #5b4df6;
    color: white;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.edit-pdf-save-button:hover {
    background: #493be0;
    transform: translateY(-1px);
}

.edit-pdf-save-button:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
}

.edit-pdf-message {
    min-height: 24px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

.edit-pdf-message.success-message {
    color: #168a45;
}

.edit-pdf-message.error-message {
    color: #d33;
}


/* MOBILE */

@media (max-width: 800px) {

    .edit-pdf-card {
        padding: 18px;
    }

    .edit-pdf-top {
        flex-direction: column;
        align-items: stretch;
    }

    .edit-pdf-top h1 {
        font-size: 30px;
    }

    .edit-pdf-select-btn {
        text-align: center;
    }

    .edit-pdf-toolbar {
        justify-content: center;
    }

    .edit-toolbar-group {
        border-right: none;
        margin-right: 0;
        padding-right: 0;
    }

    .edit-pdf-workspace {
        padding: 20px 10px;
    }

    .edit-pdf-page {
        transform-origin: top left;
    }

}
/* =====================================================
   EDIT PDF - HIDDEN UPLOAD INPUTS
===================================================== */

#edit-pdf-file,
#edit-pdf-image-file,
#edit-pdf-signature-file {
    display: none !important;
}
/* =====================================================
   CREATE FORMS TOOL
===================================================== */

.create-form-card {
    max-width: 800px;
}

#create-form-file {
    display: none !important;
}

.create-form-upload-area {
    margin-bottom: 25px;
}

.create-form-file-info {
    width: 100%;
    margin: 0 auto 20px;
    text-align: left;
}

.create-form-file-name {
    background-color: #f7f7fb;
    border: 1px solid #e5e5ec;
    border-radius: 9px;
    padding: 12px 15px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}


/* =====================================================
   EDITOR
===================================================== */

.create-form-editor {
    display: none;
    width: 100%;
    margin-top: 25px;
}

.create-form-editor.show {
    display: block;
}


/* =====================================================
   TOOLBAR
===================================================== */

.create-form-toolbar {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 12px;

    margin-bottom: 10px;

    background-color: #ffffff;

    border: 1px solid #dedee8;
    border-radius: 12px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);

    box-sizing: border-box;
}

.create-form-toolbar-group {
    display: flex;
    align-items: center;
    gap: 5px;

    padding-right: 8px;
    margin-right: 3px;

    border-right: 1px solid #e3e3ea;
}

.create-form-toolbar-group:last-child {
    border-right: none;
}

.create-form-tool-btn {
    min-width: 38px;
    height: 38px;

    border: 1px solid #dedee8;

    background-color: #ffffff;

    color: #333333;

    border-radius: 7px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.2s;
}

.create-form-tool-btn:hover {
    background-color: #f1efff;
    border-color: #bdb6ff;
    color: #5b4df6;
}

.create-form-tool-btn.active {
    background-color: #5b4df6;
    color: #ffffff;
    border-color: #5b4df6;
}

.create-form-toolbar-zoom-value {
    min-width: 55px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dedee8;

    background-color: #f7f7fb;

    color: #555555;

    border-radius: 7px;

    font-size: 13px;
    font-weight: 700;
}


/* =====================================================
   FORMAT BAR
===================================================== */

.create-form-format-bar {
    width: 100%;

    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 12px;

    padding: 14px;

    margin-bottom: 12px;

    background-color: #fafaff;

    border: 1px solid #e1e0ed;

    border-radius: 10px;

    box-sizing: border-box;
}

.create-form-format-group {
    display: flex;
    align-items: center;
    gap: 7px;
}

.create-form-format-group label {
    color: #444444;
    font-size: 13px;
    font-weight: 700;
}

.create-form-format-group input[type="number"],
.create-form-format-group select {
    height: 36px;

    box-sizing: border-box;

    border: 1px solid #dcdce6;

    border-radius: 7px;

    background-color: #ffffff;

    color: #333333;

    padding: 7px 9px;

    outline: none;
}

.create-form-format-group input[type="number"] {
    width: 70px;
}

.create-form-format-group select {
    min-width: 120px;
}

#create-form-text-color {
    width: 42px;
    height: 36px;

    padding: 2px;

    border: 1px solid #dcdce6;

    border-radius: 7px;

    background-color: #ffffff;

    cursor: pointer;
}

.create-form-format-btn {
    height: 36px;

    padding: 0 13px;

    border: 1px solid #dcdce6;

    background-color: #ffffff;

    color: #333333;

    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}

.create-form-format-btn:hover {
    background-color: #f1efff;
    border-color: #bdb6ff;
    color: #5b4df6;
}

.create-form-format-btn.active {
    background-color: #5b4df6;
    color: #ffffff;
    border-color: #5b4df6;
}


/* =====================================================
   PROPERTIES
===================================================== */

.create-form-properties {
    display: none;

    width: 100%;

    margin-bottom: 15px;

    padding: 17px;

    box-sizing: border-box;

    background-color: #ffffff;

    border: 1px solid #dfdfe8;

    border-radius: 10px;

    text-align: left;
}

.create-form-properties.show {
    display: block;
}

.create-form-properties-title {
    color: #222222;

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 15px;
}

.create-form-property-section {
    display: none;

    margin-bottom: 12px;
}

.create-form-property-section.show {
    display: block;
}

.create-form-property-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 12px;
}

.create-form-property-field label,
.create-form-property-main-label {
    display: block;

    margin-bottom: 6px;

    color: #333333;

    font-size: 13px;
    font-weight: 700;
}

.create-form-property-field input,
.create-form-property-field select {
    width: 100%;

    height: 38px;

    box-sizing: border-box;

    border: 1px solid #dcdce6;

    border-radius: 7px;

    background-color: #ffffff;

    color: #333333;

    padding: 8px 10px;

    outline: none;
}

.create-form-property-field input:focus,
.create-form-property-field select:focus {
    border-color: #5b4df6;

    box-shadow:
        0 0 0 3px
        rgba(91, 77, 246, 0.08);
}


/* =====================================================
   DROPDOWN OPTIONS
===================================================== */

.create-form-dropdown-options {
    display: flex;

    flex-direction: column;

    gap: 7px;

    margin-bottom: 10px;
}

.create-form-option-row {
    display: flex;

    gap: 7px;
}

.create-form-option-row input {
    flex: 1;

    height: 36px;

    box-sizing: border-box;

    border: 1px solid #dcdce6;

    border-radius: 7px;

    padding: 7px 9px;

    outline: none;
}

.create-form-option-remove {
    width: 38px;
    height: 36px;

    border: none;

    border-radius: 7px;

    background-color: #ffe9e9;

    color: #d33;

    font-weight: 700;

    cursor: pointer;
}

.create-form-small-btn {
    height: 36px;

    padding: 0 13px;

    border: 1px solid #cfcaff;

    border-radius: 7px;

    background-color: #f5f3ff;

    color: #5b4df6;

    font-weight: 700;

    cursor: pointer;
}

.create-form-small-btn:hover {
    background-color: #ebe8ff;
}


/* =====================================================
   PDF WORKSPACE
===================================================== */

.create-form-pdf-workspace {
    width: 100%;

    min-height: 500px;

    overflow: auto;

    padding: 30px 20px;

    box-sizing: border-box;

    background-color: #eef0f5;

    border: 1px solid #dcdde5;

    border-radius: 12px;
}

.create-form-pages {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 25px;
}


/* =====================================================
   PDF PAGE
===================================================== */

.create-form-page {
    position: relative;

    flex-shrink: 0;

    background-color: #ffffff;

    box-shadow:
        0 5px 25px
        rgba(0, 0, 0, 0.15);

    overflow: hidden;

    transform-origin: top center;
}

.create-form-page canvas {
    display: block;
}


/* =====================================================
   TEXT LAYER
===================================================== */

.create-form-text-layer {
    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;
}

.create-form-text-element {
    position: absolute;

    min-width: 15px;
    min-height: 15px;

    padding: 1px 3px;

    box-sizing: border-box;

    color: transparent;

    background-color: transparent;

    border: 1px solid transparent;

    cursor: text;

    white-space: pre-wrap;

    pointer-events: auto;

    user-select: text;

    opacity: 0;
}

.create-form-text-element:hover {
    border-color: #c7c1ff;
}

.create-form-text-element.selected,
.create-form-text-element:focus {
    opacity: 1;

    color: #111111;

    background-color:
        rgba(255, 255, 255, 0.96);

    border:
        2px solid #5b4df6;

    outline: none;

    z-index: 50;
}


/* =====================================================
   CREATED ELEMENT
===================================================== */

.create-form-element {
    position: absolute;

    box-sizing: border-box;

    cursor: move;

    user-select: none;

    z-index: 20;
}

.create-form-element.selected {
    outline:
        2px solid #5b4df6;

    outline-offset: 2px;
}


/* =====================================================
   TEXT FIELD
===================================================== */

.create-form-field {
    width: 180px;
    height: 34px;

    padding: 6px 9px;

    background-color:
        rgba(255, 255, 255, 0.96);

    border:
        2px solid #5b4df6;

    border-radius: 5px;

    color: #444444;

    font-size: 13px;

    overflow: hidden;
}

.create-form-field.create-form-multiline {
    width: 220px;
    height: 90px;

    white-space: pre-wrap;
}


/* =====================================================
   RADIO
===================================================== */

.create-form-radio {
    width: 24px;
    height: 24px;

    border:
        2px solid #5b4df6;

    border-radius: 50%;

    background-color: #ffffff;
}


/* =====================================================
   CHECKBOX
===================================================== */

.create-form-checkbox {
    width: 24px;
    height: 24px;

    border:
        2px solid #5b4df6;

    border-radius: 4px;

    background-color: #ffffff;
}


/* =====================================================
   DROPDOWN
===================================================== */

.create-form-dropdown {
    width: 190px;
    height: 38px;

    padding: 8px 10px;

    background-color: #ffffff;

    border:
        2px solid #5b4df6;

    border-radius: 5px;

    color: #444444;

    font-size: 13px;
}


/* =====================================================
   MULTI SELECT
===================================================== */

.create-form-multi-select {
    width: 190px;
    min-height: 75px;

    padding: 8px;

    background-color: #ffffff;

    border:
        2px solid #5b4df6;

    border-radius: 5px;

    color: #444444;

    font-size: 13px;
}


/* =====================================================
   SIGNATURE
===================================================== */

.create-form-signature {
    min-width: 190px;
    min-height: 55px;

    display: flex;

    align-items: center;

    padding: 8px 12px;

    background-color:
        rgba(255, 255, 255, 0.96);

    border:
        2px dashed #5b4df6;

    border-radius: 5px;

    color: #111111;

    font-family: cursive;

    font-size: 22px;
}


/* =====================================================
   LABEL
===================================================== */

.create-form-label-element {
    min-width: 40px;

    padding: 4px 5px;

    color: #111111;

    font-size: 14px;

    white-space: nowrap;
}


/* =====================================================
   WHITEOUT
===================================================== */

.create-form-whiteout {
    width: 150px;
    height: 50px;

    background-color: #ffffff;

    border:
        1px solid #cfcfcf;
}


/* =====================================================
   MESSAGE
===================================================== */

#create-form-message {
    min-height: 22px;

    margin-top: 15px;

    font-size: 14px;

    line-height: 1.5;
}

#create-form-message.success-message {
    color: #168a45;
}

#create-form-message.error-message {
    color: #d33;
}


/* =====================================================
   SAVE
===================================================== */

#create-form-save {
    width: 100%;

    max-width: 320px;

    margin: 20px auto;

    display: block;
}

#create-form-save:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .create-form-toolbar {
        justify-content: flex-start;
    }

    .create-form-toolbar-group {
        border-right: none;

        padding-right: 0;
        margin-right: 0;
    }

    .create-form-property-grid {
        grid-template-columns: 1fr;
    }

    .create-form-format-bar {
        align-items: flex-start;
    }

}

@media (max-width: 600px) {

    .create-form-pdf-workspace {
        padding: 15px 8px;
    }

    .create-form-tool-btn {
        min-width: 34px;
        height: 34px;
    }

    .create-form-toolbar-zoom-value {
        height: 34px;
    }

    #create-form-save {
        max-width: 100%;
    }

}
/* =====================================================
   COMPRESS PDF - TARGET SIZE
   ===================================================== */

.compress-target-box {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 25px;
    padding: 22px 20px;
    background-color: #f8f7ff;
    border: 1px solid #e5e4ee;
    border-radius: 12px;
    text-align: left;
    box-sizing: border-box;
}


.compress-target-box h3 {
    margin: 0 0 8px;
    color: #222;
    font-size: 18px;
}


.compress-target-description {
    margin: 0 0 16px;
    color: #707070;
    font-size: 14px;
    line-height: 1.5;
}


.compress-target-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}


.compress-target-input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #dcdbe7;
    border-radius: 8px;
    background-color: #ffffff;
    color: #222;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}


.compress-target-input:focus {
    border-color: #5b4df6;
    box-shadow: 0 0 0 3px rgba(91, 77, 246, 0.10);
}


.compress-target-unit {
    width: 105px;
    height: 46px;
    padding: 0 10px;
    border: 1px solid #dcdbe7;
    border-radius: 8px;
    background-color: #ffffff;
    color: #222;
    font-size: 15px;
    cursor: pointer;
    outline: none;
}


.compress-target-unit:focus {
    border-color: #5b4df6;
}


.compress-target-help {
    margin: 10px 0 0;
    color: #777;
    font-size: 13px;
}


.compress-target-warning {
    min-height: 20px;
    margin-top: 8px;
    color: #c47a00;
    font-size: 13px;
    line-height: 1.4;
}


.compress-file-info {
    width: 100%;
    margin: 0 auto 20px;
    text-align: left;
    color: #444;
    font-size: 14px;
    line-height: 1.5;
}


#compress-pdf-button {
    width: 100%;
    max-width: 300px;
    margin: 5px auto 20px;
    display: block;
}


#compress-pdf-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}


#compress-message {
    min-height: 22px;
    margin-top: 10px;
    line-height: 1.5;
}


@media (max-width: 600px) {

    .compress-target-row {
        gap: 8px;
    }


    .compress-target-unit {
        width: 90px;
    }


    #compress-pdf-button {
        max-width: 100%;
    }

}
/* =========================================================
   REMOVE WATERMARK TOOL
   ========================================================= */

#remove-watermark-file {
    display: none;
}

#remove-watermark-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.remove-watermark-success {
    color: #16803c;
    font-weight: 600;
}

.remove-watermark-error {
    color: #d33;
    font-weight: 600;
}
/* =========================================================
   PDF WIZARD - COLORFUL TOOL ICONS
   ========================================================= */

.tool-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 18px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 25px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* Icon hover */

.tool-card:hover .tool-icon {
    transform: translateY(-3px) scale(1.06);
}


/* ================= COLOR STYLES ================= */

.tool-icon.icon-blue {
    background: #eaf3ff;
    color: #3b82f6;
}

.tool-icon.icon-green {
    background: #eafbf1;
    color: #22a06b;
}

.tool-icon.icon-purple {
    background: #f2edff;
    color: #7c5cff;
}

.tool-icon.icon-orange {
    background: #fff3e5;
    color: #f28c28;
}

.tool-icon.icon-pink {
    background: #fff0f4;
    color: #e85d8b;
}

.tool-icon.icon-cyan {
    background: #e9faff;
    color: #159bb5;
}

.tool-icon.icon-red {
    background: #fff0f0;
    color: #e05252;
}


/* Slight professional shadow */

.tool-icon {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}


/* Mobile */

@media (max-width: 600px) {

    .tool-icon {
        width: 54px;
        height: 54px;
        font-size: 23px;
    }

}
/* =========================================================
   PDF WIZARD - PREMIUM BACKGROUND
   ========================================================= */

body {
    position: relative;
    background:
        radial-gradient(circle at 10% 15%, rgba(124, 92, 255, 0.12), transparent 28%),
        radial-gradient(circle at 90% 20%, rgba(21, 155, 181, 0.11), transparent 28%),
        radial-gradient(circle at 50% 90%, rgba(91, 77, 246, 0.09), transparent 30%),
        linear-gradient(135deg, #f8f7ff 0%, #ffffff 48%, #f2f9ff 100%);
    overflow-x: hidden;
}

/* Soft background glow */
body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(80px);
}

/* Purple glow */
body::before {
    width: 320px;
    height: 320px;
    top: 100px;
    left: -120px;
    background: rgba(124, 92, 255, 0.10);
}

/* Blue glow */
body::after {
    width: 350px;
    height: 350px;
    top: 420px;
    right: -150px;
    background: rgba(21, 155, 181, 0.09);
}


/* =========================================================
   SUBTLE DOT PATTERN
   ========================================================= */

main {
    position: relative;
    background-image:
        radial-gradient(
            rgba(91, 77, 246, 0.07) 1px,
            transparent 1px
        );
    background-size: 28px 28px;
}


/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(124, 92, 255, 0.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 30%,
            rgba(21, 155, 181, 0.12),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f7f5ff,
            #ffffff,
            #f2faff
        );
}


/* Decorative glow inside hero */
.hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    top: -220px;
    right: -100px;
    background: rgba(124, 92, 255, 0.08);
    filter: blur(70px);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    bottom: -200px;
    left: -100px;
    background: rgba(21, 155, 181, 0.07);
    filter: blur(70px);
    pointer-events: none;
}


/* =========================================================
   TOOLS SECTION
   ========================================================= */

.tools-section {
    position: relative;
    background: transparent;
}


/* Category sections stay clean */
.tool-category {
    position: relative;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 24px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    body::before {
        width: 220px;
        height: 220px;
        left: -100px;
    }

    body::after {
        width: 240px;
        height: 240px;
        right: -110px;
    }

    main {
        background-size: 24px 24px;
    }

}
/* =========================================================
   PDF WIZARD - MODERN DESIGN BACKGROUND
   ========================================================= */

body {
    position: relative;
    overflow-x: hidden;
    background: #f7f8fc;
}

/* Main decorative background */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -10;
    pointer-events: none;

    background:
        linear-gradient(
            rgba(91, 77, 246, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(91, 77, 246, 0.035) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    mask-image: linear-gradient(
        to bottom,
        black 0%,
        rgba(0,0,0,0.7) 55%,
        transparent 100%
    );
}


/* =========================================================
   LARGE ABSTRACT SHAPES
   ========================================================= */

body::after {
    content: "";
    position: fixed;
    width: 650px;
    height: 650px;
    top: -260px;
    right: -220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at center,
            rgba(124, 92, 255, 0.18) 0%,
            rgba(124, 92, 255, 0.08) 35%,
            transparent 70%
        );

    filter: blur(10px);
    z-index: -9;
    pointer-events: none;
}


/* =========================================================
   TOOLS SECTION DESIGN
   ========================================================= */

.tools-section {
    position: relative;
    background:
        radial-gradient(
            circle at 5% 20%,
            rgba(91, 77, 246, 0.07),
            transparent 25%
        ),
        radial-gradient(
            circle at 95% 65%,
            rgba(21, 155, 181, 0.07),
            transparent 25%
        );
}


/* =========================================================
   CATEGORY CONTAINER
   ========================================================= */

.tool-category {
    position: relative;

    background: rgba(255, 255, 255, 0.72);

    border: 1px solid rgba(255, 255, 255, 0.9);

    border-radius: 28px;

    box-shadow:
        0 20px 60px rgba(42, 36, 100, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    overflow: hidden;
}


/* Decorative line on category */
.tool-category::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 3px;

    background: linear-gradient(
        90deg,
        #5b4df6,
        #8b7cff,
        #25b7d3
    );

    opacity: 0.7;
}


/* =========================================================
   TOOL CARDS
   ========================================================= */

.tool-card {
    position: relative;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.92);

    border: 1px solid #e9e8f2;

    box-shadow:
        0 8px 25px rgba(40, 35, 90, 0.045);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* Soft shine inside card */
.tool-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -90px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(124, 92, 255, 0.08),
            transparent 70%
        );

    pointer-events: none;
}


/* Hover */
.tool-card:hover {
    transform: translateY(-6px);

    border-color: rgba(91, 77, 246, 0.22);

    box-shadow:
        0 18px 40px rgba(50, 45, 120, 0.10);
}


/* =========================================================
   TOOL ICON
   ========================================================= */

.tool-icon {
    position: relative;
    z-index: 2;

    box-shadow:
        0 8px 20px rgba(50, 45, 120, 0.08);
}


/* =========================================================
   CATEGORY HEADINGS
   ========================================================= */

.tools-section h2 {
    position: relative;
}

.tools-section h2::after {
    content: "";

    display: block;

    width: 55px;
    height: 4px;

    margin: 12px auto 0;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #5b4df6,
        #25b7d3
    );
}


/* =========================================================
   HERO - PREMIUM DESIGN
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 35%,
            rgba(124, 92, 255, 0.16),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 25%,
            rgba(37, 183, 211, 0.13),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #f7f5ff 0%,
            #ffffff 48%,
            #f1faff 100%
        );
}


/* Hero decorative circle */
.hero::before {
    content: "";

    position: absolute;

    width: 480px;
    height: 480px;

    right: -180px;
    top: -250px;

    border-radius: 50%;

    border: 1px solid rgba(91, 77, 246, 0.10);

    box-shadow:
        0 0 0 40px rgba(91, 77, 246, 0.025),
        0 0 0 80px rgba(91, 77, 246, 0.018),
        0 0 0 120px rgba(91, 77, 246, 0.012);

    pointer-events: none;
}


/* Hero second shape */
.hero::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    left: -130px;
    bottom: -130px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(37, 183, 211, 0.10),
            rgba(124, 92, 255, 0.08)
        );

    filter: blur(5px);

    pointer-events: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    body::after {
        width: 400px;
        height: 400px;
        top: -180px;
        right: -180px;
    }

    .tool-category {
        border-radius: 20px;
    }

    .tool-card:hover {
        transform: translateY(-3px);
    }

    .hero::before {
        width: 320px;
        height: 320px;
    }
}
/* =========================================================
   PDF WIZARD - ABSTRACT PDF BACKGROUND
   ========================================================= */

body {
    position: relative;
    overflow-x: hidden;
    background: #f8f9fd;
}

/* Main abstract background */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -10;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(91, 77, 246, 0.12),
            transparent 24%
        ),
        radial-gradient(
            circle at 85% 30%,
            rgba(37, 183, 211, 0.10),
            transparent 24%
        ),
        radial-gradient(
            circle at 70% 85%,
            rgba(232, 93, 139, 0.07),
            transparent 22%
        );
}


/* =========================================================
   ABSTRACT GRID
   ========================================================= */

main {
    position: relative;

    background-image:
        linear-gradient(
            rgba(91, 77, 246, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(91, 77, 246, 0.025) 1px,
            transparent 1px
        );

    background-size: 45px 45px;
}


/* =========================================================
   FLOATING DOCUMENT SHAPE 1
   ========================================================= */

main::before {
    content: "PDF";

    position: fixed;

    top: 150px;
    left: -35px;

    width: 105px;
    height: 135px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(91, 77, 246, 0.10);

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.35);

    color: rgba(91, 77, 246, 0.12);

    font-size: 22px;
    font-weight: 800;

    transform: rotate(-12deg);

    box-shadow:
        0 20px 50px rgba(60, 50, 130, 0.06);

    backdrop-filter: blur(5px);

    pointer-events: none;

    z-index: -5;
}


/* =========================================================
   FLOATING DOCUMENT SHAPE 2
   ========================================================= */

main::after {
    content: "PDF";

    position: fixed;

    right: -40px;
    top: 430px;

    width: 120px;
    height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(37, 183, 211, 0.11);

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.35);

    color: rgba(37, 183, 211, 0.13);

    font-size: 24px;
    font-weight: 800;

    transform: rotate(12deg);

    box-shadow:
        0 20px 50px rgba(30, 120, 150, 0.06);

    backdrop-filter: blur(5px);

    pointer-events: none;

    z-index: -5;
}


/* =========================================================
   CATEGORY DESIGN
   ========================================================= */

.tool-category {
    position: relative;

    background: rgba(255, 255, 255, 0.78);

    border: 1px solid rgba(255, 255, 255, 0.95);

    border-radius: 26px;

    box-shadow:
        0 15px 50px rgba(40, 35, 100, 0.055);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    overflow: hidden;
}


/* Decorative category glow */
.tool-category::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -100px;
    bottom: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(91, 77, 246, 0.07),
            transparent 70%
        );

    pointer-events: none;
}


/* =========================================================
   TOOL CARD DESIGN
   ========================================================= */

.tool-card {
    position: relative;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.94);

    border: 1px solid #e9e8f1;

    box-shadow:
        0 7px 24px rgba(35, 30, 90, 0.045);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* Small decorative corner */
.tool-card::before {
    content: "";

    position: absolute;

    width: 75px;
    height: 75px;

    right: -38px;
    top: -38px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(91, 77, 246, 0.10),
            rgba(37, 183, 211, 0.05)
        );

    pointer-events: none;
}


/* Card hover */
.tool-card:hover {
    transform: translateY(-7px);

    border-color: rgba(91, 77, 246, 0.20);

    box-shadow:
        0 18px 45px rgba(50, 45, 120, 0.10);
}


/* =========================================================
   HERO DESIGN
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 12% 40%,
            rgba(124, 92, 255, 0.16),
            transparent 27%
        ),
        radial-gradient(
            circle at 88% 30%,
            rgba(37, 183, 211, 0.14),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #f6f4ff,
            #ffffff 50%,
            #f1faff
        );
}


/* Large circular design */
.hero::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -230px;
    top: -280px;

    border-radius: 50%;

    border: 1px solid rgba(91, 77, 246, 0.12);

    box-shadow:
        0 0 0 35px rgba(91, 77, 246, 0.025),
        0 0 0 70px rgba(91, 77, 246, 0.018),
        0 0 0 105px rgba(91, 77, 246, 0.012);

    pointer-events: none;
}


/* Hero floating small circle */
.hero::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    left: -80px;
    bottom: -80px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(37, 183, 211, 0.12),
            transparent 70%
        );

    pointer-events: none;
}


/* =========================================================
   CATEGORY HEADING
   ========================================================= */

.tools-section h2::after {
    content: "";

    display: block;

    width: 55px;
    height: 4px;

    margin: 12px auto 0;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #5b4df6,
            #25b7d3
        );
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    main::before {
        width: 80px;
        height: 105px;
        left: -35px;
    }

    main::after {
        width: 90px;
        height: 115px;
        right: -35px;
    }

    .tool-category {
        border-radius: 20px;
    }

    .tool-card:hover {
        transform: translateY(-3px);
    }

    .hero::before {
        width: 350px;
        height: 350px;
    }
}
/* ================= ABOUT TOOLS BUTTON ================= */

.about-tools-button-wrapper {
    margin-top: 24px;
}

.about-tools-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 20px;

    background: #2563eb;
    color: #ffffff;

    border: 1px solid #2563eb;
    border-radius: 8px;

    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    box-shadow: 0 5px 14px rgba(37, 99, 235, 0.18);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.about-tools-button i {
    font-size: 13px;

    transition: transform 0.2s ease;
}

.about-tools-button:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;

    transform: translateY(-2px);

    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}

.about-tools-button:hover i {
    transform: translateX(4px);
}
.site-footer > p {
    margin: 0;
}

.site-footer > p + p {
    margin-top: 18px;
}
 /* ================= GLASSMORPHIC COLORFUL FOOTER ================= */

.site-footer {
    position: relative;

    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.14),
            rgba(139, 92, 246, 0.12),
            rgba(6, 182, 212, 0.12)
        );

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-top: 1px solid rgba(255, 255, 255, 0.18);

    padding: 28px 24px 22px;

    text-align: center;

    box-shadow:
        0 -8px 30px rgba(37, 99, 235, 0.10);

    overflow: hidden;
}


/* Colorful glow effects */

.site-footer::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    left: 10%;

    background: rgba(37, 99, 235, 0.20);

    border-radius: 50%;

    filter: blur(45px);

    pointer-events: none;
}


.site-footer::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    bottom: -120px;
    right: 10%;

    background: rgba(168, 85, 247, 0.20);

    border-radius: 50%;

    filter: blur(45px);

    pointer-events: none;
}


/* Footer text */

.site-footer > p {
    position: relative;
    z-index: 2;

    margin: 0;
}


/* Privacy + Terms */

.site-footer .footer-links {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 12px;

    margin: 0;
}


.site-footer .footer-links a {
    color: #2563eb;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.site-footer .footer-links a:hover {
    color: #7c3aed;

    transform: translateY(-1px);
}


.site-footer .footer-links span {
    color: #94a3b8;
}


/* Copyright */

.site-footer > p:last-child {
    margin-top: 18px;

    color: #64748b;

    font-size: 13px;
    font-weight: 500;
}


/* Mobile */

@media (max-width: 600px) {

    .site-footer {
        padding: 24px 16px 20px;
    }

    .site-footer .footer-links {
        gap: 9px;
    }

    .site-footer .footer-links a {
        font-size: 13px;
    }

    .site-footer > p:last-child {
        font-size: 12px;
    }
}
/* ================= PROFESSIONAL CONTACT SECTION ================= */

.contact-section {
    position: relative;

    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.08),
            rgba(139, 92, 246, 0.07),
            rgba(6, 182, 212, 0.08)
        );

    border-top: 1px solid rgba(37, 99, 235, 0.10);
    border-bottom: 1px solid rgba(139, 92, 246, 0.10);

    padding: 80px 24px;

    overflow: hidden;
}


/* Soft colorful glow */

.contact-section::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    top: -130px;
    left: 8%;

    background: rgba(37, 99, 235, 0.14);

    border-radius: 50%;

    filter: blur(70px);

    pointer-events: none;
}


.contact-section::after {
    content: "";

    position: absolute;

    width: 240px;
    height: 240px;

    bottom: -120px;
    right: 8%;

    background: rgba(168, 85, 247, 0.14);

    border-radius: 50%;

    filter: blur(70px);

    pointer-events: none;
}


/* Contact content */

.contact-content {
    position: relative;
    z-index: 2;

    max-width: 700px;

    margin: 0 auto;

    padding: 38px 32px;

    text-align: center;

    background: rgba(255, 255, 255, 0.55);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.65);

    border-radius: 18px;

    box-shadow:
        0 15px 40px rgba(37, 99, 235, 0.08);
}


/* Heading */

.contact-content h2 {
    margin-bottom: 14px;
}


/* Description */

.contact-content > p:not(.section-label) {
    color: #64748b;

    line-height: 1.7;

    margin-bottom: 22px;
}


/* Email */

.contact-content > a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 12px 20px;

    border-radius: 9px;

    background: linear-gradient(
        135deg,
        #2563eb,
        #7c3aed
    );

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.contact-content > a:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 26px rgba(124, 58, 237, 0.25);
}


/* Mobile */

@media (max-width: 600px) {

    .contact-section {
        padding: 60px 16px;
    }

    .contact-content {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .contact-content > a {
        max-width: 100%;
        word-break: break-word;
    }
}
/* =========================================================
   ALL PDF TOOLS - PROFESSIONAL MEGA MENU
   ========================================================= */

.all-tools {
    position: relative;
    padding-bottom: 18px;
    margin-bottom: -18px;
}


/* ================= BUTTON ================= */

.all-tools-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 9px 12px;

    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 7px;

    color: #111827;

    font-size: 14px;
    font-weight: 500;

    cursor: pointer;
}

.all-tools-button i {
    font-size: 11px;

    transition: transform 0.2s ease;
}


/* ================= MEGA MENU ================= */

.all-tools-menu {
    position: fixed;

    top: 68px;
    left: 50%;

    width: min(1320px, calc(100vw - 24px));

    padding: 18px 20px;

    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.98);

    border: 1px solid #e5e7eb;
    border-radius: 10px;

    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.15);

    display: grid;

    grid-template-columns:
        1.35fr
        1.15fr
        1.15fr
        0.75fr;

    gap: 18px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateX(-50%) translateY(8px);

    transition:
        opacity 0.18s ease,
        visibility 0.18s ease,
        transform 0.18s ease;

    z-index: 99999;
}


/* ================= OPEN MENU ================= */

.all-tools:hover .all-tools-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateX(-50%) translateY(0);
}


.all-tools:hover .all-tools-button i {
    transform: rotate(180deg);
}


/* ================= HOVER BRIDGE ================= */

.all-tools-menu::before {
    content: "";

    position: absolute;

    top: -18px;
    left: 0;

    width: 100%;
    height: 18px;
}


/* ================= CATEGORY ================= */

.tools-category {
    min-width: 0;
}


.tools-category h4 {
    margin: 0 0 6px;

    padding-bottom: 5px;

    color: #94a3b8;

    font-size: 12px;
    line-height: 1.2;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.2px;

    border-bottom: 1px solid #e8edf3;
}


/* ================= TOOL ITEM ================= */

.all-tool-item {
    display: flex;
    align-items: center;

    gap: 8px;

    width: 100%;

    min-height: 22px;

    padding: 3px 6px;

    margin: 0;

    box-sizing: border-box;

    border-radius: 6px;

    color: #1f2937;

    text-decoration: none;

    font-size: 12.5px;

    line-height: 1.15;

    font-weight: 500;

    transition:
        background 0.15s ease,
        transform 0.15s ease,
        color 0.15s ease;
}


/* ================= TOOL HOVER ================= */

.all-tool-item:hover {
    background: #f3f6fa;

    color: #111827;

    transform: translateX(2px);
}


/* ================= ICON ================= */

.all-tool-item i {
    width: 16px;
    min-width: 16px;

    text-align: center;

    font-size: 12px;
}


/* ================= ICON COLORS ================= */

.icon-green {
    color: #16a34a;
}

.icon-purple {
    color: #8b5cf6;
}

.icon-blue {
    color: #2563eb;
}

.icon-orange {
    color: #f97316;
}

.icon-cyan {
    color: #06b6d4;
}

.icon-red {
    color: #ef4444;
}

.icon-pink {
    color: #ec4899;
}


/* ================= SMALL CATEGORY ================= */

.small-category-heading {
    margin-top: 10px !important;
    margin-bottom: 6px !important;
}


/* ================= DESKTOP HEIGHT ================= */

@media (min-width: 1101px) {

    .all-tools-menu {
        max-height: calc(100vh - 82px);

        overflow: hidden;
    }

}


/* ================= TABLET ================= */

@media (max-width: 1100px) {

    .all-tools-menu {
        width: calc(100vw - 24px);

        grid-template-columns: repeat(2, 1fr);

        max-height: calc(100vh - 90px);

        overflow-y: auto;
    }

}


/* ================= MOBILE ================= */

@media (max-width: 700px) {

    .all-tools-menu {
        width: calc(100vw - 20px);

        grid-template-columns: 1fr;

        max-height: calc(100vh - 85px);

        overflow-y: auto;

        padding: 16px;
    }

}
/* ================= FIX LAST TOOL HIGHLIGHT ================= */

.all-tools-menu .tools-category .all-tool-item:last-child {
    background: transparent !important;
    color: #1f2937 !important;
    transform: none !important;
}
/* ================= ALIGN LAST TOOLS ================= */

.all-tools-menu .tools-category .all-tool-item:last-child {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;

    width: 100% !important;

    padding: 3px 6px !important;
    margin: 0 !important;

    min-height: 22px !important;

    box-sizing: border-box !important;

    transform: none !important;
}
.logo a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.logo a img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}