/* =====================================================
   ZFileo - GLOBAL
===================================================== */

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background: #f5f6fb;
    color: #1f2937;
    padding-top: 70px;
}

button,
input,
select {
    font-family: inherit;
}


/* =====================================================
   NAVBAR
   SAME AS HOME PAGE
===================================================== */

.navbar {
    height: 70px;
    width: 100%;

    background: #ffffff;

    display: flex;
    align-items: center;

    padding: 0 8%;

    position: fixed;
    top: 0;
    left: 0;

    z-index: 1000;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}


/* =====================================================
   LOGO
===================================================== */

.logo {
    display: flex;
    align-items: center;

    font-size: 26px;
    font-weight: 700;

    color: #5b5cf0;

    white-space: nowrap;
}

.logo i {
    margin-right: 8px;
}


/* =====================================================
   NAV LINKS
===================================================== */

.nav-links {
    display: flex;
    align-items: center;

    gap: 30px;

    list-style: none;

    margin-left: auto;
    margin-right: 30px;
    text-decoration: none;
    color: inherit;
}

.nav-links li {
    position: relative;
}

.nav-links li > a {
    display: flex;
    align-items: center;

    gap: 6px;

    text-decoration: none;

    color: #222;

    font-size: 15px;
    font-weight: 500;

    transition: 0.25s;
}

.nav-links li > a:hover {
    color: #5b5cf0;
}

.nav-links li > a:visited {
    color: #222;
}


/* =====================================================
   DROPDOWN ARROW
===================================================== */

.nav-links .fa-chevron-down {
    font-size: 10px;

    transition: 0.25s;
}

.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}


/* =====================================================
   DROPDOWN MENU
===================================================== */

.dropdown-menu {
    position: absolute;

    top: 32px;
    left: auto;
    right: 0;

    background: #ffffff;

    border-radius: 10px;

    padding: 8px 0;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.12);

    border: 1px solid #eeeeee;

    opacity: 0;
    visibility: hidden;

    transform: translateY(8px);

    transition: 0.2s;

    z-index: 2000;

    display: grid;
    grid-template-columns: repeat(5, max-content);

    width: max-content;
    max-width: calc(100vw - 30px);

    gap: 10px;

    box-sizing: border-box;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.dropdown-menu a {
    display: block;

    padding: 10px 16px;

    text-decoration: none;

    color: #333 !important;

    font-size: 14px;

    transition: 0.2s;
}

.dropdown-menu a:hover {
    background: #f1f2ff;

    color: #5b5cf0 !important;
}


/* =====================================================
   LOGIN BUTTON
===================================================== */

.login {
    padding: 10px 22px;

    border: none;

    background: #5b5cf0;

    color: white;

    border-radius: 8px;

    cursor: pointer;

    font-size: 14px;

    transition: 0.25s;
}

.login:hover {
    background: #4445d8;

    transform: translateY(-1px);

    box-shadow:
        0 6px 15px rgba(91, 92, 240, 0.22);
}


/* =====================================================
   MOBILE MENU BUTTON
===================================================== */

.mobile-menu-btn {
    display: none;

    border: none;

    background: transparent;

    font-size: 22px;

    color: #333;

    cursor: pointer;
}


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

.mobile-menu {
    display: none;

    position: fixed;

    top: 70px;
    left: 0;

    width: 100%;

    max-height: calc(100vh - 70px);

    overflow-y: auto;

    background: #ffffff;

    padding: 18px;

    z-index: 999;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.10);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 10px;

    font-size: 18px;
    font-weight: 600;
}

.mobile-menu-header button {
    border: none;

    background: transparent;

    color: #555;

    font-size: 24px;

    cursor: pointer;
}

.mobile-menu > a {
    display: block;

    padding: 13px 10px;

    color: #222;

    text-decoration: none;

    border-radius: 8px;
}

.mobile-menu > a:hover {
    background: #f4f4ff;

    color: #5b5cf0;
}


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

.mobile-menu details {
    border-bottom: 1px solid #eeeeee;
}

.mobile-menu summary {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 14px 10px;

    cursor: pointer;

    list-style: none;

    font-size: 15px;
    font-weight: 600;
}

.mobile-menu summary::-webkit-details-marker {
    display: none;
}

.mobile-menu details a {
    display: block;

    padding: 11px 22px;

    color: #555;

    text-decoration: none;

    font-size: 14px;
}

.mobile-menu details a:hover {
    background: #f6f6ff;

    color: #5b5cf0;
}

.mobile-login {
    width: 100%;

    margin-top: 18px;

    padding: 12px;

    border: none;

    border-radius: 9px;

    background: #5b5cf0;

    color: white;

    cursor: pointer;

    font-size: 15px;
}


/* =====================================================
   TOOL PAGE
===================================================== */

.tool-page {
    width: 92%;
    max-width: 850px;

    margin: 45px auto 70px;

    text-align: center;
}


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

.tool-header {

    margin-top: -10px;

    margin-bottom: 28px;
}

.tool-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: #eeeeff;

    color: #5b5cf0;

    font-size: 27px;
}

.tool-header h1 {
    color: #111827;

    font-size: 42px;

    line-height: 1.15;

    margin-bottom: 10px;
}

.tool-header p {
    color: #6b7280;

    font-size: 16px;

    line-height: 1.5;
}


/* =====================================================
   CONVERTER BOX
===================================================== */

.converter-box {
    background: #ffffff;

    padding: 28px;

    border: 1px solid #ececf4;

    border-radius: 20px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.06);
}


/* =====================================================
   UPLOAD BOX
===================================================== */

.upload-box {
    background: #ffffff;

    border: 2px dashed #cfd2ff;

    border-radius: 17px;

    padding: 55px 35px;

    transition: 0.25s;
}

.upload-box:hover {
    border-color: #5b5cf0;

    box-shadow:
        0 10px 30px rgba(91, 92, 240, 0.07);
}

.upload-box.drag {
    border-color: #5b5cf0;

    background: #eef2ff;

    transform: scale(1.01);
}

.upload-icon {
    display: block;

    margin-bottom: 18px;

    color: #5b5cf0;

    font-size: 54px;
}

.upload-box h3 {
    margin-bottom: 8px;

    color: #222;

    font-size: 20px;
}

.upload-box p {
    color: #777;

    font-size: 14px;
}


/* =====================================================
   CHOOSE BUTTON
===================================================== */

#chooseBtn {
    margin-top: 15px;

    padding: 13px 27px;

    border: none;

    border-radius: 9px;

    background: #5b5cf0;

    color: white;

    cursor: pointer;

    font-size: 15px;

    font-weight: 600;

    transition: 0.2s;
}

#chooseBtn:hover {
    background: #4445d8;

    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(91, 92, 240, 0.25);
}

#chooseBtn i {
    margin-right: 7px;
}


/* =====================================================
   FILE INFO
===================================================== */

.info,
#fileInfo {
    margin-top: 15px;

    color: #777;

    font-size: 13px;
}


/* =====================================================
   SELECTED FILE LIST
===================================================== */

#fileList {
    width: 100%;

    margin-top: 15px;
}

.file-item {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-top: 8px;

    padding: 10px 12px;

    background: #f8f9ff;

    border: 1px solid #e0e2ee;

    border-radius: 9px;

    text-align: left;

    transition: 0.2s;
}

.file-item:hover {
    background: #f4f5ff;

    border-color: #c8caff;
}

.file-item span {
    color: #333;

    font-size: 14px;

    word-break: break-word;
}

.remove-btn {
    flex-shrink: 0;

    color: #555;

    cursor: pointer;

    font-size: 16px;

    transition: 0.2s;
}

.remove-btn:hover {
    color: #d00000;

    transform: scale(1.1);
}


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

.options {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 24px;

    flex-wrap: wrap;
}

.convert-label {
    color: #555;

    font-size: 14px;

    font-weight: 500;
}

.options select {
    padding: 11px 16px;

    background: #ffffff;

    border: 1px solid #d5d7e5;

    border-radius: 8px;

    outline: none;

    cursor: pointer;

    font-size: 14px;
}

.options select:focus {
    border-color: #5b5cf0;
}


/* =====================================================
   CONVERT / MERGE BUTTON
===================================================== */

.convert {
    margin-top: 25px;

    padding: 14px 42px;

    background: #5b5cf0;

    color: white;

    border: none;

    border-radius: 9px;

    cursor: pointer;

    font-size: 16px;

    font-weight: 600;

    transition: 0.2s;
}

.convert:hover {
    background: #4445d8;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(91, 92, 240, 0.25);
}

.convert:active {
    transform: translateY(0);
}

.convert i {
    margin-right: 7px;
}

/* ================= MOBILE CONVERT BUTTON ================= */

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

    .convert {
        width: auto;
        min-width: 160px;
        max-width: 240px;

        padding: 12px 25px;

        font-size: 15px;
        margin-top: 20px;

        box-sizing: border-box;
    }

}

/* =====================================================
   TOOL INFO
===================================================== */

.tool-info {
    margin-top: 12px;

    color: #555;

    font-size: 14px;
}


/* =====================================================
   PRIVACY NOTE
===================================================== */

.privacy-note {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 18px;

    color: #6b7280;

    font-size: 13px;

    line-height: 1.4;
}

.privacy-note i {
    color: #16a34a;

    flex-shrink: 0;
}


/* =====================================================
   CONVERTED FILE CARD
===================================================== */

.converted-file {
    width: 100%;

    display: block;

    margin-top: 12px;

    padding: 11px 13px;

    background: #ffffff;

    border: 1px solid #e1e3f0;

    border-radius: 11px;

    text-align: left;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.04);
}


/* =====================================================
   FILE NAME + ICON
===================================================== */

.converted-header {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: flex-start;

    gap: 8px;

    margin: 0;
    padding: 0;
}

.converted-name {
    display: flex;

    align-items: center;

    gap: 7px;

    margin: 0;
    padding: 0;

    color: #222;

    font-size: 14px;

    font-weight: 600;

    line-height: 20px;

    word-break: break-word;
}

.converted-name i {
    flex-shrink: 0;

    margin: 0;

    color: #22c55e;

    font-size: 16px;
}


/* =====================================================
   PREVIEW FILE BUTTON
===================================================== */

.preview-file-btn {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 0;

    border: none;

    background: transparent;

    color: #5b5cf0;

    cursor: pointer;

    text-align: left;

    font-size: 14px;

    font-weight: 600;
}

.preview-file-btn:hover {
    text-decoration: underline;
}


/* =====================================================
   CONVERTED STATUS
===================================================== */

.converted-status {
    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: 3px;

    padding: 0;

    color: #16a34a;

    font-size: 12px;

    line-height: 18px;
}

.converted-status i {
    font-size: 12px;
}


/* =====================================================
   PREVIEW CONTAINER
===================================================== */

.preview-container {
    width: 100%;

    height: 420px;

    margin-top: 12px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #f5f6fb;

    border: 1px solid #e1e3ee;

    border-radius: 10px;
}


/* =====================================================
   PDF PREVIEW
===================================================== */

.pdf-preview {
    width: 100%;
    height: 100%;

    border: none;

    background: white;
}


/* =====================================================
   IMAGE PREVIEW
===================================================== */

.image-preview {
    display: block;

    max-width: 95%;
    max-height: 95%;

    object-fit: contain;

    border-radius: 5px;
}


/* =====================================================
   PREVIEW LOADING
===================================================== */

.preview-loading {
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 10px;

    color: #6b7280;

    font-size: 14px;
}

.preview-loading i {
    color: #5b5cf0;

    font-size: 25px;
}


/* =====================================================
   PREVIEW UNAVAILABLE
===================================================== */

.preview-unavailable {
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 10px;

    color: #777;

    text-align: center;
}

.preview-unavailable i {
    color: #5b5cf0;

    font-size: 38px;
}


/* =====================================================
   DOWNLOAD BUTTON
===================================================== */

.download-btn {
    width: 100%;

    display: block;

    margin-top: 10px;

    padding: 11px 16px;

    border: none;

    border-radius: 8px;

    background: #5b5cf0;

    color: white;

    cursor: pointer;

    font-size: 13px;

    font-weight: 600;

    transition: 0.2s;
}

.download-btn:hover {
    background: #4445d8;

    transform: translateY(-1px);

    box-shadow:
        0 6px 16px rgba(91, 92, 240, 0.22);
}

.download-btn:active {
    transform: translateY(0);
}

.download-btn i {
    margin-right: 6px;
}


/* =====================================================
   LOGIN MODAL
===================================================== */

.loginModal {
    display: none;

    position: fixed;

    inset: 0;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.5);

    z-index: 9999;
}

.loginBox {
    position: relative;

    width: 350px;
    max-width: 90%;

    padding: 32px;

    background: #ffffff;

    border-radius: 15px;

    animation: popup 0.3s ease;
}

@keyframes popup {

    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }

}

.loginBox h2 {
    margin-bottom: 18px;

    text-align: center;
}

.loginBox input {
    width: 100%;

    padding: 12px;

    margin: 8px 0;

    border: 1px solid #ccc;

    border-radius: 8px;

    outline: none;
}

.loginBox input:focus {
    border-color: #5b5cf0;
}

.loginBtn {
    width: 100%;

    padding: 12px;

    margin-top: 9px;

    border: none;

    border-radius: 8px;

    background: #5b5cf0;

    color: white;

    cursor: pointer;

    transition: 0.2s;
}

.loginBtn:hover {
    background: #4445d8;
}

.close {
    position: absolute;

    top: 8px;
    right: 13px;

    border: none;

    background: transparent;

    color: #555;

    cursor: pointer;

    font-size: 28px;
}

.close:hover {
    color: #000;
}


/* =====================================================
   PREVIEW MODAL
===================================================== */

.preview-modal {
    display: none;

    position: fixed;

    inset: 0;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.65);

    z-index: 10000;
}

.preview-modal-box {
    width: 90%;
    max-width: 1000px;

    height: 90vh;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    background: white;

    border-radius: 15px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3);
}

.preview-modal-header {
    min-height: 60px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 0 20px;

    border-bottom: 1px solid #e5e7eb;
}

.preview-title {
    max-width: 85%;

    color: #222;

    font-size: 16px;

    font-weight: 600;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}

.preview-close {
    border: none;

    background: transparent;

    color: #555;

    cursor: pointer;

    font-size: 32px;

    line-height: 1;
}

.preview-close:hover {
    color: #000;
}

.preview-content {
    flex: 1;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: auto;

    background: #f1f2f5;
}


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

@media (max-width: 768px) {

    body {
        padding-top: 65px;
    }


    /* =================================================
       MOBILE NAVBAR
       SAME AS HOME PAGE
    ================================================= */

    .navbar {
        padding: 0 4%;

        height: 65px;
    }

    .logo {
        font-size: 21px;
    }

    .logo i {
        margin-right: 6px;
    }

    .nav-links {
        display: none;
    }

    .login {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }


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

    .mobile-menu {
        top: 65px;

        max-height: calc(100vh - 65px);
    }


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

    .tool-page {
        width: 94%;

        margin: 28px auto 50px;
    }

    .tool-header {
        margin-bottom: 22px;
    }

    .tool-icon {
        width: 50px;
        height: 50px;

        margin-bottom: 13px;

        border-radius: 13px;

        font-size: 23px;
    }

    .tool-header h1 {
        font-size: 31px;
    }

    .tool-header p {
        padding: 0 8px;

        font-size: 14px;
    }


    /* =================================================
       CONVERTER
    ================================================= */

    .converter-box {
        padding: 13px;

        border-radius: 16px;

        box-shadow:
            0 5px 20px rgba(0, 0, 0, 0.05);
    }


    /* =================================================
       UPLOAD
    ================================================= */

    .upload-box {
        padding: 40px 14px;

        border-radius: 14px;
    }

    .upload-icon {
        margin-bottom: 15px;

        font-size: 46px;
    }

    .upload-box h3 {
        font-size: 17px;
    }


    /* =================================================
       CHOOSE
    ================================================= */

    #chooseBtn {
        width: 100%;

        max-width: 240px;

        padding: 12px 18px;
    }


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

    .options {
        margin-top: 19px;

        gap: 8px;
    }

    .options select {
        padding: 10px 14px;
    }


    /* =================================================
       CONVERT
    ================================================= */

    .convert {
        width: 100%;

        margin-top: 19px;

        padding: 14px 18px;

        font-size: 16px;
    }


    /* =================================================
       PRIVACY
    ================================================= */

    .privacy-note {
        padding: 0 8px;

        font-size: 11px;
    }


    /* =================================================
       FILE CARD
    ================================================= */

    .converted-file {
        padding: 9px 11px;

        margin-top: 9px;

        border-radius: 10px;
    }

    .converted-header {
        gap: 6px;
    }

    .converted-name {
        gap: 6px;

        font-size: 13px;

        line-height: 18px;
    }

    .converted-name i {
        font-size: 15px;
    }

    .converted-status {
        margin-top: 2px;

        font-size: 11px;

        line-height: 16px;
    }


    /* =================================================
       PREVIEW
    ================================================= */

    .preview-container {
        height: 340px;

        margin-top: 10px;

        border-radius: 9px;
    }

    .download-btn {
        margin-top: 8px;

        padding: 10px;

        font-size: 13px;
    }


    /* =================================================
       LOGIN
    ================================================= */

    .loginBox {
        width: 92%;

        padding: 28px 22px;
    }


    /* =================================================
       PREVIEW MODAL
    ================================================= */

    .preview-modal {
    padding: 8px;

    height: 100vh !important;
    box-sizing: border-box !important;

    align-items: flex-start !important;
}

.preview-modal-box {
    width: 100% !important;

    height: 68vh !important;
    min-height: 0 !important;
    max-height: 68vh !important;

    margin-top: 15vh !important;

    border-radius: 11px;

    box-sizing: border-box !important;

    overflow: hidden !important;
}

    .preview-modal-header {
        min-height: 55px;

        padding: 0 14px;
    }

    .preview-title {
        max-width: 78%;

        font-size: 14px;
    }

    .preview-close {
        font-size: 28px;
    }

}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 400px) {

    .logo {
        font-size: 19px;
    }

    .tool-page {
        width: 95%;
    }

    .tool-header h1 {
        font-size: 28px;
    }

    .tool-header p {
        font-size: 13px;
    }

    .converter-box {
        padding: 10px;
    }

    .upload-box {
        padding: 34px 11px;
    }

    .upload-icon {
        font-size: 42px;
    }

    .preview-container {
        height: 300px;
    }

    .converted-file {
        padding: 8px 10px;
    }

    .converted-name {
        font-size: 12px;
    }

}

/* =====================================================
   PDF TO IMAGE
===================================================== */

.format-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.format-row label {
    font-size: 14px;
    color: #444;
}

.format-dropdown {
    padding: 7px 28px 7px 10px;

    border: 1px solid #d1d3e0;
    border-radius: 6px;

    background: #fff;
    color: #333;

    font-size: 14px;

    cursor: pointer;
    outline: none;
}

.format-dropdown:focus {
    border-color: #5b5cf0;
}


/* =====================================================
   IMAGE PREVIEW
===================================================== */

.image-preview {
    max-width: 100%;
    max-height: 75vh;

    display: block;

    object-fit: contain;

    margin: auto;
}


/* =====================================================
   PDF TO IMAGE CONVERTED FILE
===================================================== */

.converted-file {
    width: 100%;
}

.converted-name {
    cursor: pointer;
}

.download-btn {
    cursor: pointer;
}

/* =====================================================
   PDF TO IMAGE
===================================================== */

/* FORMAT ROW */

.format-row {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin: 18px 0 5px;
}

.format-row label {
    font-size: 14px;
    font-weight: 500;
    color: #444;
}


/* FORMAT DROPDOWN */

/* =========================================
   PDF TO IMAGE - FORMAT DROPDOWN
========================================= */

.pdf-image-format-dropdown {
    width: 75px;
    height: 34px;

    padding: 5px 8px;

    border: 1px solid #cfd2ff;
    border-radius: 6px;

    background: #ffffff;
    color: #333;

    font-size: 14px;
    font-weight: 500;

    cursor: pointer;
    outline: none;

    box-sizing: border-box;
}

.pdf-image-format-dropdown:hover {
    border-color: #5b5cf0;
}

.pdf-image-format-dropdown:focus {
    border-color: #5b5cf0;
}


/* =====================================================
   PDF TO IMAGE RESULT
===================================================== */

.converted-file {
    width: 100%;
}

.converted-header {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 8px;
}

.preview-file-btn {
    border: none;
    background: transparent;

    color: #5b5cf0;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    padding: 5px 8px;

    word-break: break-word;
}

.preview-file-btn:hover {
    text-decoration: underline;
}


/* CONVERTED STATUS */

.converted-status {
    text-align: center;

    font-size: 14px;
    color: #333;

    margin-bottom: 12px;
}

.converted-status i {
    margin-right: 5px;
}


/* DOWNLOAD BUTTON */

.download-btn {
    display: block;

    margin: 0 auto;

    border: none;
    border-radius: 6px;

    padding: 10px 18px;

    background: #5b5cf0;
    color: white;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

.download-btn:hover {
    opacity: 0.9;
}


/* =====================================================
   PREVIEW MODAL
===================================================== */

.preview-modal {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.65);

    display: none;

    align-items: center;
    justify-content: center;

    z-index: 9999;

    padding: 20px;
}

.preview-modal-box {
    width: 90%;
    max-width: 1000px;

    height: 90%;

    background: #fff;

    border-radius: 10px;

    overflow: hidden;

    display: flex;
    flex-direction: column;
}


/* PREVIEW HEADER */

.preview-modal-header {
    min-height: 50px;

    padding: 0 15px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #ddd;
}

.preview-title {
    font-size: 15px;
    font-weight: 600;

    word-break: break-word;
}

.preview-close {
    border: none;

    background: transparent;

    font-size: 28px;

    cursor: pointer;

    color: #555;
}


/* PREVIEW CONTENT */

.preview-content {
    flex: 1;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: auto;

    padding: 15px;

    background: #f5f5f5;
}


/* IMAGE PREVIEW */

.image-preview {
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    display: block;
}


/* PDF PREVIEW */

.pdf-preview {
    width: 100%;
    height: 100%;

    border: none;
}


/* LOADING */

.preview-loading {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    color: #555;

    font-size: 14px;
}


/* PREVIEW ERROR */

.preview-unavailable {
    text-align: center;

    color: #777;

    font-size: 15px;
}


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

@media (max-width: 600px) {

    .format-row {
        margin-top: 15px;
    }

    .format-dropdown {
        width: 70px;
        height: 32px;
    }

    .preview-modal {
        padding: 10px;
    }

    .preview-modal-box {
        width: 100%;
        height: 90%;
    }

    .preview-modal-header {
        min-height: 45px;
    }

    .preview-title {
        font-size: 14px;
        max-width: 80%;
    }

}

/* =====================================================
   PREVIEW BUTTON
===================================================== */

.preview-file-btn {

    flex: 1 !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    text-align: center !important;

    cursor: pointer;

}


/* =====================================================
   PREVIEW ICON
===================================================== */

.preview-file-btn i {

    margin-right: 8px;

}


/* =====================================================
   PREVIEW BUTTON HOVER
===================================================== */

.preview-file-btn:hover {

    opacity: 0.9;

}

/* =====================================================
   VIDEO CONVERTER - CONVERT TO
   ===================================================== */

.convert-to-container {
    width: 100%;
    margin-top: 25px;

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

    gap: 14px;

    position: relative;

    overflow: visible !important;

    z-index: 100;
}


/* =====================================================
   CONVERT TO TEXT
   ===================================================== */

.convert-to-container > label {
    margin: 0;

    font-size: 18px;
    font-weight: 600;

    white-space: nowrap;
}


/* =====================================================
   DROPDOWN
   ===================================================== */

.format-dropdown {
    position: relative;

    width: 170px;

    z-index: 1000;

    top: -8px
}


/* =====================================================
   SELECT FORMAT BUTTON
   ===================================================== */

.format-dropdown-btn {
    width: 170px;
    height: 45px;

    padding: 0 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #ffffff;

    border: 1px solid #cfd2ff;

    border-radius: 9px;

    color: #333;

    font-size: 15px;

    cursor: pointer;

    box-sizing: border-box;

    transition: 0.2s ease;
}


.format-dropdown-btn:hover {
    border-color: #5b5cf0;
}


.format-dropdown-btn i {
    font-size: 13px;
}


/* =====================================================
   FORMAT MENU
   ===================================================== */

.format-menu {
    position: absolute;

    /*
       IMPORTANT:
       Dropdown upar open hoga
    */

    bottom: calc(100% + 7px);

    top: auto;

    left: 50%;

    transform: translateX(-50%);

    width: 250px;

    height: 190px;

    max-height: 190px;

    padding: 9px;

    background: #ffffff;

    border: 1px solid #d5d8ff;

    border-radius: 10px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.16);

    display: none;

    grid-template-columns:
        repeat(3, 1fr);

    grid-auto-rows: 36px;

    gap: 6px;

    overflow-y: auto;

    overflow-x: hidden;

    box-sizing: border-box;

    z-index: 99999;
}


/* =====================================================
   OPEN
   ===================================================== */

.format-menu.active {
    display: grid;
}


/* =====================================================
   FORMAT BUTTONS
   ===================================================== */

.format-menu button {
    width: 100%;

    height: 36px;

    padding: 4px;

    border: 1px solid #dfe1ff;

    border-radius: 6px;

    background: #f8f9ff;

    color: #333;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    box-sizing: border-box;

    transition: 0.15s ease;
}


.format-menu button:hover {
    background: #eef2ff;

    border-color: #5b5cf0;
}


.format-menu button.selected {
    background: #5b5cf0;

    border-color: #5b5cf0;

    color: #ffffff;
}


/* =====================================================
   SCROLLBAR
   ===================================================== */

.format-menu::-webkit-scrollbar {
    width: 5px;
}


.format-menu::-webkit-scrollbar-track {
    background: #f1f1f1;

    border-radius: 10px;
}


.format-menu::-webkit-scrollbar-thumb {
    background: #b9bcf0;

    border-radius: 10px;
}


.format-menu::-webkit-scrollbar-thumb:hover {
    background: #5b5cf0;
}


/* =====================================================
   CONVERTER BOX MUST ALLOW DROPDOWN
   ===================================================== */

.converter-box {
    overflow: visible !important;
}


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

@media (max-width: 600px) {

    .convert-to-container {
        gap: 10px;
    }


    .convert-to-container > label {
        font-size: 16px;
    }


    .format-dropdown {
        width: 155px;
    }


    .format-dropdown-btn {
        width: 155px;
    }


    .format-menu {
        width: 230px;

        height: 180px;

        max-height: 180px;

        grid-template-columns:
            repeat(3, 1fr);
    }

}

/* =====================================================
   FIX - CONVERT TO EXTRA BOX
   ===================================================== */

.convert-to-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    padding: 0 !important;
}


/* Convert To text ko koi box nahi */
.convert-to-container > label {
    background: transparent !important;

    border: none !important;

    box-shadow: none !important;

    padding: 0 !important;
    margin: 0 !important;

    display: block;

    width: auto !important;
    height: auto !important;

    border-radius: 0 !important;
}


/* Sirf Select Format ka box rahe */
.format-dropdown {
    background: transparent !important;

    border: none !important;

    box-shadow: none !important;

    padding: 0 !important;
}

/* =====================================================
   VIDEO CONVERTER - INFO CARD
===================================================== */

.video-info-card,
.specific-video-card {

    width: 100%;

    margin-top: 35px;

    padding: 32px;

    background: #ffffff;

    border: 1px solid #ececf4;

    border-radius: 20px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.06);

    text-align: left;

}


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

.video-info-header,
.specific-video-header {

    display: flex;

    align-items: flex-start;

    gap: 16px;

    margin-bottom: 28px;

}


.video-info-icon,
.specific-video-icon {

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #eeeeff;

    color: #5b5cf0;

    font-size: 21px;

}


.video-info-header h2,
.specific-video-header h2 {

    margin: 0 0 6px;

    color: #111827;

    font-size: 25px;

}


.video-info-header p,
.specific-video-header p {

    margin: 0;

    color: #6b7280;

    font-size: 14px;

    line-height: 1.6;

}


/* =====================================================
   HOW TO USE STEPS
===================================================== */

.video-steps {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

}


.video-step {

    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding: 18px;

    background: #f8f9ff;

    border: 1px solid #e6e7f3;

    border-radius: 12px;

}


.step-number {

    width: 32px;
    height: 32px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #5b5cf0;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

}


.video-step h3 {

    margin: 2px 0 6px;

    color: #222;

    font-size: 15px;

}


.video-step p {

    margin: 0;

    color: #6b7280;

    font-size: 13px;

    line-height: 1.6;

}


/* =====================================================
   SPECIFIC FORMAT LINKS
===================================================== */

.video-format-links {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid #eeeeee;

}


.video-format-links a {

    display: block;

    padding: 16px 18px;

    color: #5b78b5;

    text-decoration: none;

    font-size: 15px;

    font-weight: 500;

    border-bottom: 1px solid #eeeeee;

    transition: 0.2s ease;

}


.video-format-links a:hover {

    color: #5b5cf0;

    background: #f8f9ff;

}


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

@media (max-width: 768px) {

    .video-info-card,
    .specific-video-card {

        margin-top: 25px;

        padding: 22px 16px;

        border-radius: 16px;

    }


    .video-info-header,
    .specific-video-header {

        gap: 12px;

        margin-bottom: 20px;

    }


    .video-info-icon,
    .specific-video-icon {

        width: 42px;
        height: 42px;

        border-radius: 10px;

        font-size: 18px;

    }


    .video-info-header h2,
    .specific-video-header h2 {

        font-size: 21px;

    }


    .video-info-header p,
    .specific-video-header p {

        font-size: 13px;

    }


    .video-steps {

        grid-template-columns: 1fr;

        gap: 12px;

    }


    .video-step {

        padding: 15px;

    }


    .video-format-links {

        grid-template-columns: 1fr 1fr;

    }


    .video-format-links a {

        padding: 14px 10px;

        font-size: 13px;

    }

}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 400px) {

    .video-format-links {

        grid-template-columns: 1fr;

    }

}

/* =====================================================
   SPECIFIC VIDEO CONVERTERS CARD
===================================================== */

.specific-converters-card {
    width: 100%;
    margin-top: 25px;

    background: #ffffff;

    border: 1px solid #ececf4;
    border-radius: 18px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.05);

    overflow: hidden;
}


/* =====================================================
   CARD TITLE
===================================================== */

.specific-converters-card h2 {
    margin: 0;

    padding: 25px 30px 20px;

    color: #111827;

    font-size: 25px;
    font-weight: 700;

    text-align: left;
}


/* =====================================================
   LINKS GRID
===================================================== */

.specific-converters {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid #eeeeee;
}


/* =====================================================
   CONVERTER LINKS
===================================================== */

.specific-converters a {
    display: flex;

    align-items: center;

    min-height: 52px;

    padding: 10px 25px;

    color: #6b88bd;

    background: #ffffff;

    text-decoration: none;

    font-size: 15px;

    border-bottom: 1px solid #eeeeee;

    transition: 0.2s ease;
}


/* =====================================================
   REMOVE RIGHT BORDER / CLEAN GRID
===================================================== */

.specific-converters a:hover {
    color: #5b5cf0;

    background: #f8f9ff;
}


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

@media (max-width: 768px) {

    .specific-converters-card h2 {
        padding: 20px 18px 16px;

        font-size: 21px;
    }

    .specific-converters {
        grid-template-columns: repeat(2, 1fr);
    }

    .specific-converters a {
        min-height: 48px;

        padding: 9px 15px;

        font-size: 13px;
    }

}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 450px) {

    .specific-converters {
        grid-template-columns: 1fr;
    }

    .specific-converters a {
        min-height: 45px;

        padding: 10px 15px;

        font-size: 14px;
    }

}

/* =====================================================
   ZFileo - UNIVERSAL INFO / HOW TO USE CARD
===================================================== */

.tool-info-card,
.how-to-use-card {

    width: 100%;

    margin-top: 35px;

    padding: 32px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #ececf4;

    border-radius: 20px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.06);

    text-align: left;

}


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

.tool-info-header,
.how-to-use-header {

    display: flex;

    align-items: flex-start;

    gap: 16px;

    margin-bottom: 28px;

}


.tool-info-icon,
.how-to-use-icon {

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #eeeeff;

    color: #5b5cf0;

    font-size: 21px;

}


.tool-info-header h2,
.how-to-use-header h2 {

    margin: 0 0 6px;

    color: #111827;

    font-size: 25px;

}


.tool-info-header p,
.how-to-use-header p {

    margin: 0;

    color: #6b7280;

    font-size: 14px;

    line-height: 1.6;

}


/* =====================================================
   HOW TO USE STEPS
===================================================== */

.how-to-steps,
.tool-steps {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

}


/* =====================================================
   STEP CARD
===================================================== */

.how-to-step,
.tool-step {

    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding: 18px;

    box-sizing: border-box;

    background: #f8f9ff;

    border: 1px solid #e6e7f3;

    border-radius: 12px;

}


/* =====================================================
   STEP NUMBER
===================================================== */

.how-to-number,
.step-number {

    width: 32px;
    height: 32px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #5b5cf0;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

}


/* =====================================================
   STEP CONTENT
===================================================== */

.how-to-step h3,
.tool-step h3 {

    margin: 2px 0 6px;

    color: #222;

    font-size: 15px;

}


.how-to-step p,
.tool-step p {

    margin: 0;

    color: #6b7280;

    font-size: 13px;

    line-height: 1.6;

}


/* =====================================================
   OPTIONAL FORMAT LINKS
===================================================== */

.tool-format-links,
.how-to-format-links {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid #eeeeee;

}


.tool-format-links a,
.how-to-format-links a {

    display: block;

    padding: 16px 18px;

    color: #5b78b5;

    text-decoration: none;

    font-size: 15px;

    font-weight: 500;

    border-bottom: 1px solid #eeeeee;

    transition: 0.2s ease;

}


.tool-format-links a:hover,
.how-to-format-links a:hover {

    color: #5b5cf0;

    background: #f8f9ff;

}


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

@media (max-width: 768px) {

    .tool-info-card,
    .how-to-use-card {

        margin-top: 25px;

        padding: 22px 16px;

        border-radius: 16px;

    }


    .tool-info-header,
    .how-to-use-header {

        gap: 12px;

        margin-bottom: 20px;

    }


    .tool-info-icon,
    .how-to-use-icon {

        width: 42px;
        height: 42px;

        border-radius: 10px;

        font-size: 18px;

    }


    .tool-info-header h2,
    .how-to-use-header h2 {

        font-size: 21px;

    }


    .tool-info-header p,
    .how-to-use-header p {

        font-size: 13px;

    }


    .how-to-steps,
    .tool-steps {

        grid-template-columns: 1fr;

        gap: 12px;

    }


    .how-to-step,
    .tool-step {

        padding: 15px;

    }


    .tool-format-links,
    .how-to-format-links {

        grid-template-columns: 1fr 1fr;

    }


    .tool-format-links a,
    .how-to-format-links a {

        padding: 14px 10px;

        font-size: 13px;

    }

}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 400px) {

    .tool-format-links,
    .how-to-format-links {

        grid-template-columns: 1fr;

    }

}

/* =====================================================
   QR CODE TOOL
===================================================== */

/* QR Input Box */

.qr-input-box {
    width: 100%;
    box-sizing: border-box;
}


/* QR Textarea */

#qrText {
    width: 100%;
    max-width: 700px;
    min-height: 140px;

    margin: 20px auto 10px;

    display: block;

    padding: 16px 18px;

    box-sizing: border-box;

    border: 1px solid #dcdcdc;
    border-radius: 12px;

    background: #ffffff;

    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;

    color: #222;

    resize: vertical;

    outline: none;

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


/* Textarea Focus */

#qrText:focus {
    border-color: #5b5cf0;

    box-shadow:
        0 0 0 3px rgba(108, 99, 255, 0.10);
}


/* Placeholder */

#qrText::placeholder {
    color: #999;
}


/* QR Result */

.qr-result {
    width: 100%;
    max-width: 700px;

    margin: 30px auto 0;

    padding: 25px;

    box-sizing: border-box;

    border: 1px solid #e5e5e5;
    border-radius: 16px;

    background: #ffffff;
}


/* Result Header */

.qr-result-header {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-bottom: 20px;
}


.qr-result-header i {
    font-size: 20px;
}


.qr-result-header h3 {
    margin: 0;

    font-size: 18px;
}


/* QR Image */

.qr-image-container {
    display: flex;

    justify-content: center;
    align-items: center;

    padding: 10px;
}


#qrImage {
    width: 280px;
    height: 280px;

    max-width: 100%;

    object-fit: contain;

    border-radius: 8px;
}


/* QR Action Buttons */

.qr-actions {
    display: flex;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;

    margin-top: 20px;
}


.qr-actions button {
    padding: 11px 18px;

    border: none;
    border-radius: 9px;

    cursor: pointer;

    font-family: inherit;
    font-size: 14px;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.qr-actions button:hover {
    transform: translateY(-1px);

    opacity: 0.9;
}


/* Share Branding */

.qr-share-info {
    text-align: center;

    margin-top: 20px;

    padding-top: 15px;

    border-top: 1px solid #eeeeee;
}


.qr-share-info p {
    margin: 0 0 5px;
}


.qr-share-info span {
    font-size: 13px;

    color: #777;
}


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

@media (max-width: 600px) {

    #qrText {
        min-height: 150px;

        padding: 14px;

        font-size: 14px;
    }


    .qr-result {
        padding: 18px;
    }


    #qrImage {
        width: 230px;
        height: 230px;
    }


    .qr-actions {
        flex-direction: column;
    }


    .qr-actions button {
        width: 100%;
    }

}

/* =====================================================
   ZFileo - QR CODE GENERATOR
   ===================================================== */


/* =====================================================
   QR RESULT CARD
   ===================================================== */

.qr-result {
    width: 100%;
    margin-top: 35px;

    padding: 40px 30px;

    border: 1px solid #e5e7eb;
    border-radius: 22px;

    background: #ffffff;

    box-sizing: border-box;
}


/* =====================================================
   QR RESULT HEADER
   ===================================================== */

.qr-result-header {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-bottom: 35px;
}


.qr-result-header i {
    font-size: 26px;

    color: #16a34a;
}


.qr-result-header h3 {
    margin: 0;

    font-size: 20px;
    font-weight: 700;

    color: #16a34a;

    text-align: center;
}


/* =====================================================
   QR IMAGE CONTAINER
   ===================================================== */

.qr-image-container {
    display: flex;

    justify-content: center;
    align-items: center;

    width: 100%;

    margin-bottom: 30px;
}


.qr-image-container img {
    display: block;

    width: 320px;
    max-width: 100%;
    height: auto;

    padding: 10px;

    background: #ffffff;

    border-radius: 8px;
}


/* =====================================================
   QR ACTION BUTTONS
   ===================================================== */

.qr-actions {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 14px;

    flex-wrap: wrap;

    margin-top: 25px;
}


/* =====================================================
   ALL QR BUTTONS
   ===================================================== */

.qr-actions button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-width: 165px;
    height: 48px;

    padding: 0 22px;

    border: none;
    border-radius: 10px;

    background: linear-gradient(
        135deg,
        #5b5cf0,
        #5b5cf0
    );

    color: #ffffff;

    font-family: inherit;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 4px 12px rgba(37, 99, 235, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}


/* =====================================================
   QR BUTTON ICON
   ===================================================== */

.qr-actions button i {
    font-size: 15px;
}


/* =====================================================
   QR BUTTON HOVER
   ===================================================== */

.qr-actions button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(37, 99, 235, 0.30);
}


/* =====================================================
   QR BUTTON ACTIVE
   ===================================================== */

.qr-actions button:active {
    transform: translateY(0);

    box-shadow:
        0 3px 8px rgba(37, 99, 235, 0.20);
}


/* =====================================================
   QR BUTTON DISABLED
   ===================================================== */

.qr-actions button:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;

    box-shadow:
        0 3px 8px rgba(37, 99, 235, 0.12);
}


/* =====================================================
   QR SHARE / BRANDING
   ===================================================== */

.qr-share-info {
    margin-top: 30px;

    padding-top: 25px;

    border-top: 1px solid #e5e7eb;

    text-align: center;
}


.qr-share-info p {
    margin: 0 0 7px;

    font-size: 18px;

    color: #1f2937;
}


.qr-share-info span {
    font-size: 14px;

    color: #6b7280;
}


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

@media (max-width: 600px) {

    .qr-result {
        padding: 30px 18px;

        border-radius: 18px;
    }


    .qr-result-header {
        align-items: flex-start;

        gap: 9px;

        margin-bottom: 28px;
    }


    .qr-result-header i {
        font-size: 22px;

        margin-top: 2px;
    }


    .qr-result-header h3 {
        font-size: 20px;

        line-height: 1.3;
    }


    .qr-image-container img {
        width: 280px;
    }


    .qr-actions {
        flex-direction: column;

        width: 100%;

        gap: 12px;
    }


    .qr-actions button {
        width: 100%;

        min-width: 0;

        height: 48px;
    }


    .qr-share-info {
        margin-top: 25px;
    }


    .qr-share-info p {
        font-size: 16px;
    }


    .qr-share-info span {
        font-size: 13px;
    }

}


/* =====================================================
   VIDEO TO AUDIO - INPUT MODE
===================================================== */

.input-mode {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}


.mode-btn {
    border: 1px solid #cfd2ff;
    background: #fff;
    color: #333;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;

    position: relative;
    top: 18px;
}


.mode-btn:hover {
    background: #eef2ff;
}


.mode-btn.active {
    background: #5b5cf0;
    color: #fff;
    border-color: #5b5cf0;
}


/* =====================================================
   INPUT MODE CONTENT
===================================================== */

.input-mode-content {
    width: 100%;
}


/* =====================================================
   LINK INPUT BOX
===================================================== */

.link-input-box {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 35px 25px;
    border: 2px dashed #cfd2ff;
    border-radius: 12px;
    background: #fff;
}


.link-icon {
    font-size: 42px;
    color: #5b5cf0;
    margin-bottom: 15px;
}


.link-input-box h3 {
    margin: 5px 0 8px;
}


.link-input-box p {
    margin: 8px 0 18px;
}


/* =====================================================
   VIDEO URL INPUT
===================================================== */

.video-url-input {
    width: 90%;
    max-width: 650px;
    box-sizing: border-box;

    padding: 14px 16px;

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

    outline: none;

    font-size: 15px;

    background: #fff;

    transition: 0.2s ease;
}


.video-url-input:focus {
    border-color: #5b5cf0;

    box-shadow:
        0 0 0 3px rgba(91, 92, 240, 0.12);
}


.video-url-input::placeholder {
    color: #999;
}


/* =====================================================
   AUDIO FORMAT
===================================================== */

.format-section {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 10px;

    margin: 25px 0;
}


.format-section label {
    font-weight: 600;
    font-size: 15px;
}


.format-section label i {
    margin-right: 5px;
}


.format-select {
    padding: 9px 35px 9px 12px;

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

    background: #fff;

    font-size: 14px;

    cursor: pointer;

    outline: none;
}


.format-select:focus {
    border-color: #5b5cf0;
}

.format-dropdown {
    top: 2px;
}


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

@media (max-width: 600px) {

    .format-dropdown {
        top: -8px;
    }

    .input-mode {
        gap: 6px;
    }


    .mode-btn {
        padding: 10px 12px;
        font-size: 13px;
    }


    .link-input-box {
        padding: 30px 15px;
    }


    .video-url-input {
        width: 100%;
    }


    .format-section {
        flex-wrap: wrap;
        margin: 20px 0;
    }

}


/* =====================================================
   ZFileo TOOL DIRECTORY
===================================================== */

.ZFileo-directory {
    width: 100%;
    background: #343435;
    border-top: 1px solid #353536;
    border-bottom: 1px solid #353536;
    margin-top: 50px;
    padding: 50px 0 45px;
}

.directory-container {
    width: 90%;
    max-width: 1250px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(6, 1fr);
    column-gap: 35px;
    row-gap: 45px;
}

.directory-column {
    display: flex;
    flex-direction: column;
}

.directory-column h3 {
    margin: 0 0 18px;

    font-size: 16px;
    font-weight: 700;
    color: #fcfafa;
}

.directory-column a {
    display: block;

    margin-bottom: 11px;

    font-size: 14px;
    font-weight: 500;

    color: #f8f5f5;
    text-decoration: none;

    transition: color 0.2s ease;
}

.directory-column a:hover {
    color: #5b5cf0;
}


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

@media (max-width: 1100px) {

    .directory-container {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 30px;
        row-gap: 40px;
    }

}


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

@media (max-width: 650px) {

    .ZFileo-directory {
        margin-top: 35px;
        padding: 35px 0;
    }

    .directory-container {
        width: 85%;

        grid-template-columns: repeat(2, 1fr);

        column-gap: 25px;
        row-gap: 35px;
    }

    .directory-column h3 {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .directory-column a {
        font-size: 13px;
        margin-bottom: 9px;
    }

}


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

@media (max-width: 400px) {

    .directory-container {
        grid-template-columns: 1fr;
    }

}

.directory-divider {
    width: 90%;          /* yaha length decide karo */
    max-width: 1300px;   /* maximum length */
    margin: 40px auto 0; /* center + upar ka gap */
}

.directory-divider hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 0;
}

.logo-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;

    margin-top: 10px;
    margin-left: 3%;
    
    color: #5b5cf0;
}

/* =========================================
   FOOTER BOTTOM ROW
   ========================================= */

.footer-bottom-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;
    padding: 0 6%;
}


/* =========================================
   ZFileo LOGO - LEFT
   ========================================= */

.footer-bottom-row {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #ffffff;

    margin: 0;
}


/* =========================================
   LANGUAGE SELECTOR - RIGHT
   ========================================= */

.language-selector {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 20px;

    color: #ffffff;

    margin-top: 15px;
    margin-right: 3%;
}


/* Globe icon */

.language-icon {
    font-size: 20px;
}


/* Language dropdown */

.language-selector select {
    appearance: none;
    -webkit-appearance: none;

    border: none;
    outline: none;

    background: transparent;

    color: #ffffff;

    font-size: 15px;
    font-weight: 500;

    cursor: pointer;

    padding: 5px 4px;
}


/* Dropdown options */

.language-selector select option {
    background: #ffffff;
    color: #333333;
}

/* =========================================
   HIDE GOOGLE TRANSLATE UI
   ========================================= */

#google_translate_element {
    position: absolute;
    width: 1px;
    height: 1px;

    overflow: hidden;
    opacity: 0;

    pointer-events: none;
}


/* Google top translation bar hide */

.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}


/* Google widget ke extra elements hide */

.goog-te-gadget {
    font-size: 0 !important;
}


/* Page ko Google ke top bar ke liye push hone se rokna */

body {
    top: 0 !important;
}

/* =========================================
   HIDE GOOGLE TRANSLATE TOP BANNER
========================================= */

iframe.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
}

.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
}

body {
    top: 0 !important;
}

body > .skiptranslate {
    display: none !important;
}

.logo-z {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.logo-z img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-z span {
    font-size: 22px;
    font-weight: 700;
}

/* =====================================================  
   ZFileo SEARCH BUTTON  
===================================================== */  
  
.search-btn {  
    display: flex;  
    align-items: center;  
    justify-content: center;  
  
    width: 42px;  
    height: 42px;  
  
    padding: 0;  
    margin-right: 12px;  
  
    /* CIRCLE BACKGROUND */  
    border: 1px solid #e1e2ef;  
    background: #f1f2ff;  
  
    color: #5b5cf0;  
  
    border-radius: 50%;  
  
    cursor: pointer;  
  
    font-size: 21px;  
  
    transition:  
        background 0.25s ease,  
        color 0.25s ease,  
        border-color 0.25s ease;
}  
  
  
/* SEARCH ICON */  
  
.search-btn i {  
    font-size: 21px;  
  
    transition: transform 0.2s ease;  
}  
  
  
/* HIDE SEARCH TEXT */  
  
.search-btn span {  
    display: none;  
}  
  
  
/* DESKTOP HOVER */  
  
.search-btn:hover {  
    background: #5b5cf0;  
  
    color: #ffffff;  
  
    border-color: #5b5cf0;  
  
    transform: translateY(-1px);  
  
    box-shadow:  
        0 5px 14px rgba(91, 92, 240, 0.25);  
}  
  
.search-btn:hover i {  
    transform: scale(1.05);  
}  
  
  
/* CLICK EFFECT */  
  
.search-btn:active {  
    transform: scale(0.94);  
}  
  
  
/* =====================================================  
   SEARCH OVERLAY  
===================================================== */  
  
.search-overlay {  
    position: fixed;  
  
    top: 0;  
    left: 0;  
  
    width: 100%;  
    height: 100%;  
  
    background: rgba(0, 0, 0, 0.25);  
  
    display: none;  
  
    justify-content: center;  
    align-items: flex-start;  
  
    padding-top: 85px;  
  
    z-index: 5000;  
  
    backdrop-filter: blur(2px);  
}  
  
  
/* =====================================================  
   SEARCH CARD  
===================================================== */  
  
.search-card {  
    width: 700px;  
  
    max-width: calc(100% - 30px);  
  
    background: #ffffff;  
  
    border: 1px solid #e4e5ef;  
  
    border-radius: 14px;  
  
    box-shadow:  
        0 15px 45px rgba(0, 0, 0, 0.15);  
  
    overflow: hidden;  
  
    animation: searchCardOpen 0.2s ease;  
}  
  
  
@keyframes searchCardOpen {  
  
    from {  
        opacity: 0;  
        transform: translateY(-10px);  
    }  
  
    to {  
        opacity: 1;  
        transform: translateY(0);  
    }  
  
}  
  
  
/* =====================================================  
   SEARCH HEADER  
===================================================== */  
  
.search-header {  
    display: flex;  
  
    align-items: center;  
  
    padding: 14px 16px;  
  
    border-bottom: 1px solid #eeeeee;  
}  
  
  
/* =====================================================  
   SEARCH INPUT  
===================================================== */  
  
.search-input-wrapper {  
    flex: 1;  
  
    display: flex;  
  
    align-items: center;  
  
    gap: 10px;  
}  
  
  
.search-input-wrapper i {  
    color: #777;  
  
    font-size: 17px;  
}  
  
  
.search-input-wrapper input {  
    width: 100%;  
  
    border: none;  
  
    outline: none;  
  
    background: transparent;  
  
    color: #222;  
  
    font-size: 16px;  
}  
  
  
.search-input-wrapper input::placeholder {  
    color: #999;  
}  
  
  
/* =====================================================  
   CLOSE BUTTON  
===================================================== */  
  
.search-close {  
    width: 36px;  
    height: 36px;  
  
    display: flex;  
  
    align-items: center;  
    justify-content: center;  
  
    border: none;  
  
    background: transparent;  
  
    color: #666;  
  
    border-radius: 8px;  
  
    cursor: pointer;  
  
    font-size: 18px;  
  
    transition: 0.2s;  
}  
  
  
.search-close:hover {  
    background: #f1f2ff;  
  
    color: #5b5cf0;  
}  
  
  
/* =====================================================  
   SEARCH RESULTS  
===================================================== */  
  
.search-results {  
    max-height: 430px;  
  
    overflow-y: auto;  
  
    padding: 8px;  
}  
  
  
/* =====================================================  
   SEARCH RESULT ITEM  
===================================================== */  
  
.search-result-item {  
    display: flex;  
  
    align-items: center;  
  
    width: 100%;  
  
    padding: 13px 14px;  
  
    margin-bottom: 4px;  
  
    border-radius: 9px;  
  
    text-decoration: none;  
  
    color: #222;  
  
    cursor: pointer;  
  
    transition: 0.2s;  
}  
  
  
.search-result-item:hover {  
    background: #f1f2ff;  
  
    color: #5b5cf0;  
}  
  
  
/* =====================================================  
   RESULT ICON  
===================================================== */  
  
.search-result-icon {  
    width: 38px;  
    height: 38px;  
  
    display: flex;  
  
    align-items: center;  
    justify-content: center;  
  
    flex-shrink: 0;  
  
    margin-right: 12px;  
  
    background: #eef0ff;  
  
    color: #5b5cf0;  
  
    border-radius: 9px;  
}  
  
  
.search-result-icon i {  
    font-size: 16px;  
}  
  
  
/* =====================================================  
   RESULT CONTENT  
===================================================== */  
  
.search-result-content {  
    flex: 1;  
  
    min-width: 0;  
}  
  
  
.search-result-content h4 {  
    margin: 0 0 3px;  
  
    font-size: 15px;  
  
    font-weight: 600;  
  
    color: #1f2937;  
}  
  
  
.search-result-content p {  
    margin: 0;  
  
    font-size: 12px;  
  
    color: #777;  
  
    white-space: nowrap;  
  
    overflow: hidden;  
  
    text-overflow: ellipsis;  
}  
  
  
/* =====================================================  
   RESULT ARROW  
===================================================== */  
  
.search-result-arrow {  
    margin-left: 12px;  
  
    color: #999;  
  
    font-size: 13px;  
  
    transition: 0.2s;  
}  
  
  
.search-result-item:hover .search-result-arrow {  
    color: #5b5cf0;  
  
    transform: translateX(3px);  
}  
  
  
/* =====================================================  
   NO RESULTS  
===================================================== */  
  
.search-no-results {  
    padding: 40px 20px;  
  
    text-align: center;  
  
    color: #777;  
}  
  
  
.search-no-results i {  
    display: block;  
  
    margin-bottom: 12px;  
  
    font-size: 25px;  
  
    color: #aaa;  
}  
  
  
.search-no-results p {  
    margin: 0;  
  
    font-size: 14px;  
}  
  
  
/* =====================================================  
   SEARCH SCROLLBAR  
===================================================== */  
  
.search-results::-webkit-scrollbar {  
    width: 6px;  
}  
  
  
.search-results::-webkit-scrollbar-track {  
    background: transparent;  
}  
  
  
.search-results::-webkit-scrollbar-thumb {  
    background: #d5d6e2;  
  
    border-radius: 10px;  
}  
  
  
.search-results::-webkit-scrollbar-thumb:hover {  
    background: #bfc0d0;  
}  
  
  
/* =====================================================  
   TABLET  
===================================================== */  
  
@media (max-width: 1000px) {  
  
    .search-btn {  
        width: 40px;  
        height: 40px;  
  
        margin-right: 8px;  
    }  
  
    .search-btn i {  
        font-size: 20px;  
    }  
  
    .search-card {  
        width: 650px;  
    }  
  
}  
  
  
/* =====================================================  
   MOBILE  
===================================================== */  
  
@media (max-width: 768px) {  
  
    .search-btn {  
        display: flex;  
  
        width: 38px;  
        height: 38px;  
  
        padding: 0;  
  
        margin-right: 7px;  
  
        flex-shrink: 0;  
  
        font-size: 20px;  
  
        border-radius: 50%;  
    }  
  
  
    .search-btn i {  
        font-size: 20px;  
    }  
  
  
    .search-btn span {  
        display: none;  
    }  
  
  
    .search-overlay {  
        padding-top: 75px;  
  
        align-items: flex-start;  
    }  
  
  
    .search-card {  
        width: 94%;  
  
        max-width: none;  
  
        border-radius: 12px;  
    }  
  
  
    .search-header {  
        padding: 12px;  
    }  
  
  
    .search-input-wrapper input {  
        font-size: 15px;  
    }  
  
  
    .search-results {  
        max-height: 65vh;  
  
        padding: 6px;  
    }  
  
  
    .search-result-item {  
        padding: 11px 10px;  
    }  
  
  
    .search-result-icon {  
        width: 35px;  
        height: 35px;  
  
        margin-right: 10px;  
    }  
  
  
    .search-result-content h4 {  
        font-size: 14px;  
    }  
  
  
    .search-result-content p {  
        font-size: 11px;  
    }  
  
}  
  
  
/* =====================================================  
   SMALL MOBILE  
===================================================== */  
  
@media (max-width: 450px) {  
  
    .search-btn {  
        width: 36px;  
        height: 36px;  
  
        margin-right: 5px;  
    }  
  
  
    .search-btn i {  
        font-size: 19px;  
    }  
  
  
    .search-overlay {  
        padding-top: 70px;  
    }  
  
  
    .search-card {  
        width: 94%;  
  
        border-radius: 11px;  
    }  
  
  
    .search-result-icon {  
        width: 32px;  
        height: 32px;  
  
        border-radius: 8px;  
    }  
  
  
    .search-result-icon i {  
        font-size: 14px;  
    }  
  
  
    .search-result-content h4 {  
        font-size: 13px;  
    }  
  
  
    .search-result-content p {  
        font-size: 10px;  
    }  
  
  
    .search-result-arrow {  
        font-size: 11px;  
  
        margin-left: 7px;  
    }  
  
}  
  
  
/* =====================================================  
   VERY SMALL DEVICES  
===================================================== */  
  
@media (max-width: 350px) {  
  
    .search-btn {  
        width: 34px;  
        height: 34px;  
  
        margin-right: 3px;  
    }  
  
  
    .search-btn i {  
        font-size: 18px;  
    }  
  
}

/* =====================================================
   FOOTER PAGE LINKS
   ===================================================== */

.footer-page-links {
    width: 100%;

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

    gap: 36px;

    margin: 5;
    padding: 0 0 0px 160px;

    height: 30px;

    position: absolute;
    bottom: 100px;

    box-sizing: border-box;
}


/* LINKS */

.footer-page-links a {
    color: #ffffff;

    font-size: 14px;
    font-weight: 500;

    line-height: 0;

    text-decoration: none;
    white-space: nowrap;
}

.footer-page-links a:hover {
    color: #5b5cf0;
}


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

@media (max-width: 768px) {

    .footer-page-links {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        text-align: center;

        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 20px;

        gap: 20px;
        padding-left: 0;
        padding-right: 0;

        grid-column: 1;
        position: static;
        height: auto;
        box-sizing: border-box;
    }

    .footer-page-links a {
        font-size: 13px;
        text-align: center;
        line-height: 1.4;
    }

}


/* =====================================================
   SOCIAL PAGE LINKS
   ===================================================== */

.social-page-links {
    width: 100%;

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

    gap: 36px;

    margin: 5;
    padding: 0 160px 0px 0;

    height: 30px;

    position: absolute;
    bottom: 100px;

    box-sizing: border-box;
}


/* LINKS */

.social-page-links a {
    color: #ffffff;

    font-size: 20px;
    font-weight: 500;

    line-height: 0;

    text-decoration: none;
    white-space: nowrap;
}

.social-page-links a:hover {
    color: #5b5cf0;
}


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

@media (max-width: 768px) {

    .social-page-links {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        text-align: center;

        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 30px;

        gap: 28px;
        padding-left: 0;
        padding-right: 0;

        grid-column: 1;
        position: static;
        height: auto;
        box-sizing: border-box;
    }

    .social-page-links a {
        font-size: 18px;
        text-align: center;
        line-height: 1.4;
    }

}

/* =====================================================
   ZFileo FOOTER
===================================================== */

.ZFileo-footer {
    width: 100%;
    box-sizing: border-box;

    background: #303030;
    color: #ffffff;

    padding: 28px 0 55px;
}


/* =====================================================
   MAIN TOOL LIST AREA
===================================================== */

.footer-tools {
    width: calc(100% - 328px);
    max-width: 1590px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(6, 1fr);

    column-gap: 0;
    align-items: start;
}


/* =====================================================
   EACH TOOL COLUMN
===================================================== */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.footer-column h3 {
    margin: 0 0 18px 0;
    padding: 0;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;

    line-height: 1.2;
}


.footer-column a {
    display: block;

    margin: 0 0 11px 0;
    padding: 0;

    color: #ffffff;
    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 400;

    line-height: 1.2;

    cursor: pointer;

    transition: color 0.2s ease;
}


/* =====================================================
   TOOL NAME HOVER
===================================================== */

.footer-column a:hover {
    color: #5b5cf0;
    text-decoration: none;
}


/* =====================================================
   ABOUT / PRIVACY / TERMS + SOCIAL SECTION
===================================================== */

.footer-links-social {
    width: calc(100% - 328px);
    max-width: 1590px;

    margin: 27px auto 0;
    padding: 0;

    display: flex;

    flex-direction: row;

    align-items: center;
    justify-content: space-between;

    position: relative;

    box-sizing: border-box;
}


/* =====================================================
   LEFT PAGE LINKS
===================================================== */

.footer-page-links {
    display: flex;

    flex-direction: row;
    flex-wrap: nowrap;

    align-items: center;
    justify-content: flex-start;

    gap: 43px;

    width: auto;
    max-width: none;

    margin: 0;
    padding: 0;

    position: static;

    transform: none;
}


.footer-page-links a {
    display: inline-block;

    width: auto;
    max-width: none;

    margin: 0;
    padding: 0;

    color: #ffffff;
    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 600;

    line-height: 24px;

    white-space: nowrap;

    cursor: pointer;

    position: static;
    transform: none;

    transition: color 0.2s ease;
}


.footer-page-links a:hover {
    color: #5b5cf0;
    text-decoration: none;
}


/* =====================================================
   RIGHT SOCIAL LINKS
===================================================== */

.social-page-links {
    display: flex;

    flex-direction: row;
    flex-wrap: nowrap;

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

    gap: 31px;

    width: auto;
    max-width: none;

    margin: 0;
    padding: 0;

    position: static;

    transform: none;
}


.social-page-links a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    flex: 0 0 24px;

    margin: 0;
    padding: 0;

    color: #ffffff;
    text-decoration: none;

    font-size: 19px;
    line-height: 24px;

    cursor: pointer;

    position: static;
    transform: none;

    transition: color 0.2s ease;
}


.social-page-links a:hover {
    color: #5b5cf0;
    text-decoration: none;
}


/* =====================================================
   HR
===================================================== */

.footer-line {
    display: block;

    position: static;

    clear: both;

    width: calc(100% - 240px);
    max-width: 1590px;

    height: 1px;
    min-height: 1px;

    margin: 8px auto 0;
    padding: 0;

    background: rgba(255, 255, 255, 0.65);

    border: 0;

    transform: none;
}


/* =====================================================
   BRAND + LANGUAGE
===================================================== */

.footer-brand-row {
    width: calc(100% - 240px);
    max-width: 1590px;

    margin: 19px auto 0;
    padding: 0;

    display: flex;

    flex-direction: row;

    align-items: center;
    justify-content: space-between;

    position: static;

    box-sizing: border-box;
}


/* =====================================================
   ZFileo LOGO
===================================================== */

.footer-logo-link {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #ffffff;
    text-decoration: none;

    cursor: pointer;

    transition: color 0.2s ease;
}


.footer-logo-link:hover,
.footer-logo-link:visited,
.footer-logo-link:active,
.footer-logo-link:focus {
    color: #ffffff;
    text-decoration: none;
}


.footer-logo-link img {
    width: 39px;
    height: 39px;

    object-fit: contain;

    display: block;
}


.footer-logo-link span {
    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
    font-weight: 700;

    line-height: 1;
}


/* =====================================================
   LANGUAGE
===================================================== */

.footer-language {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;

    margin-right: -37px;
}


.footer-language .language-icon {
    font-size: 22px;

    color: #ffffff;

    flex-shrink: 0;
}


/* =====================================================
   LANGUAGE DROPDOWN
===================================================== */

.footer-language select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background: transparent;
    background-image: none;

    color: #ffffff;

    border: 0;
    outline: none;

    padding: 0;
    margin: 0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;

    line-height: 24px;

    cursor: pointer;
}


.footer-language select:hover {
    color: #ffffff;
}


.footer-language select:focus {
    outline: none;
}


/* =====================================================
   DROPDOWN OPTIONS
===================================================== */

.footer-language select option {
    background: #303030;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
}


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

@media (max-width: 1200px) {

.footer-tools,
.footer-links-social,
.footer-brand-row {
    width: calc(100% - 100px);
}

.footer-page-links {
    margin-left: 20px;
    gap: 32px;
}

.social-page-links {
    margin-right: 30px;
    gap: 25px;
}

}

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

@media (max-width: 768px) {

.ZFileo-footer {
    padding: 30px 0 40px;
}


.footer-tools,
.footer-links-social,
.footer-brand-row {
    width: calc(100% - 48px);
}


/* TOOL LIST */

.footer-tools {
    grid-template-columns: repeat(2, 1fr);

    column-gap: 25px;
    row-gap: 30px;
}


.footer-column h3 {
    font-size: 17px;
    margin-bottom: 15px;
}


.footer-column a {
    font-size: 14px;
    margin-bottom: 9px;
}


/* PAGE LINKS AND SOCIAL ICONS */

.footer-links-social {
    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 20px;

    margin-top: 27px;
}


.footer-page-links {
    margin-left: 0;

    justify-content: center;

    flex-wrap: wrap;

    gap: 18px 25px;
}


.footer-page-links a {
    font-size: 14px;
}


.social-page-links {
    margin-right: 0;

    justify-content: center;

    gap: 23px;
}


.social-page-links a {
    width: 24px;
    height: 24px;

    font-size: 19px;
}


/* HR ABOVE LOGO ROW */

.footer-line {
    width: calc(100% - 48px);
    max-width: none;

    margin: 8px auto 0;

    border: 0;
    border-top: 1px solid #777;

    height: 0;
}


/* LOGO + LANGUAGE ROW */

.footer-brand-row {
    width: calc(100% - 48px);

    margin: 0 auto;

    display: flex;
    flex-direction: row;

    justify-content: space-between;
    align-items: center;

    gap: 8px;

    padding: 18px 0;
    box-sizing: border-box;

    position: relative;
}


/* HR BELOW LOGO ROW — CSS ONLY */

.footer-brand-row::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background-color: #777;
}


.footer-logo-link {
    display: inline-flex;

    align-items: center;

    flex-shrink: 0;

    text-decoration: none;
}


.footer-logo-link img {
    width: 35px;
    height: 35px;
}


.footer-logo-link span {
    font-size: 22px;
}


.footer-language {
    display: inline-flex;

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

    font-size: 14px;

    gap: 8px;

    margin-right: 0;

    flex-shrink: 0;
}


.footer-language .language-icon {
    font-size: 21px;
}


.footer-language select {
    font-size: 14px;

    padding: 0;

    line-height: 22px;

    background: transparent;
    background-image: none;
}


.footer-language select option {
    font-size: 14px;
}

}

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

@media (max-width: 480px) {

.footer-tools {
    grid-template-columns: 1fr;
}


/* LOGO AND LANGUAGE */

.footer-brand-row {
    flex-direction: row;

    justify-content: space-between;
    align-items: center;

    gap: 8px;

    padding: 18px 0;
}


.footer-logo-link img {
    width: 28px;
    height: 28px;
}


.footer-logo-link span {
    font-size: 19px;
}


.footer-language {
    gap: 5px;
    font-size: 13px;
}


.footer-language .language-icon {
    font-size: 19px;
}


.footer-language select {
    max-width: 88px;
    font-size: 13px;
}

}

/* =========================================================
   ZFileo - MOBILE NAVBAR + MOBILE MENU
   FINAL MOBILE CSS
   ========================================================= */

@media (max-width: 768px) {

    /* =====================================================
       GLOBAL
       ===================================================== */

    html,
    body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 !important;
    overflow-x: clip !important;
    }

    /* =====================================================
   LOCK BACKGROUND PAGE WHEN MOBILE MENU IS OPEN
   ===================================================== */

html:has(.mobile-menu.active),
body:has(.mobile-menu.active) {
    overflow: hidden !important;
}


    /* =====================================================
       NAVBAR
       ===================================================== */

    /* =====================================================
   NAVBAR
   ===================================================== */

.navbar {
    position: sticky !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    height: 70px !important;
    min-height: 70px !important;

    margin: 0 !important;
    padding: 0 12px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;

    background: #ffffff !important;
    border-bottom: 1px solid #eeeeF4 !important;

    z-index: 10000 !important;
}

    /* =====================================================
       MOBILE MENU BUTTON - LEFT
       ===================================================== */

    .navbar .mobile-menu-btn {
        position: absolute !important;

        left: 12px !important;
        top: 50% !important;

        width: 42px !important;
        height: 42px !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: translateY(-50%) !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        border: none !important;
        border-radius: 10px !important;

        background: transparent !important;

        color: #171717 !important;

        font-size: 20px !important;

        cursor: pointer !important;

        z-index: 1003 !important;

        transition:
            background 0.2s ease,
            color 0.2s ease,
            transform 0.2s ease !important;
    }


    .navbar .mobile-menu-btn:hover {
        background: #f4f4fb !important;
        color: #5b5cf0 !important;
    }


    .navbar .mobile-menu-btn:active {
        transform: translateY(-50%) scale(0.93) !important;
    }


    .navbar .mobile-menu-btn i {
        pointer-events: none !important;
    }


    /* =====================================================
       CENTER LOGO
       ===================================================== */

    .navbar .logo-z {
        position: absolute !important;

        left: 50% !important;
        top: 50% !important;

        transform: translate(-50%, -50%) !important;

        width: auto !important;
        height: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        z-index: 1001 !important;
    }


    .navbar .logo-z img {
        display: block !important;

        width: auto !important;
        height: 34px !important;

        max-width: 155px !important;

        object-fit: contain !important;
    }


    .navbar .logo-z a,
    .navbar .logo-z a:hover,
    .navbar .logo-z a:focus,
    .navbar .logo-z a:active {
        display: flex !important;
        align-items: center !important;

        margin: 0 !important;
        padding: 0 !important;

        color: inherit !important;

        text-decoration: none !important;

        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }


    .navbar .logo-z .notranslate {
        text-decoration: none !important;
    }


    /* =====================================================
       HIDE DESKTOP NAV LINKS
       ===================================================== */

    .navbar > ul.nav-links {
        display: none !important;
    }


    /* =====================================================
       SEARCH BUTTON
       
       IMPORTANT:
       Existing #searchBtn is preserved.
       NO pseudo-element is used.
       ===================================================== */

    .navbar #searchBtn {
        position: absolute !important;

        right: 12px !important;
        top: 50% !important;

        width: 42px !important;
        height: 42px !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: translateY(-50%) !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        border: none !important;
        border-radius: 10px !important;

        background: transparent !important;

        color: #171717 !important;

        font-size: 18px !important;

        cursor: pointer !important;

        z-index: 1003 !important;

        transition:
            background 0.2s ease,
            color 0.2s ease,
            transform 0.2s ease !important;
    }


    .navbar #searchBtn:hover {
        background: #f4f4fb !important;
        color: #5b5cf0 !important;
    }


    .navbar #searchBtn:active {
        transform: translateY(-50%) scale(0.93) !important;
    }


    .navbar #searchBtn i {
        display: block !important;

        margin: 0 !important;
        padding: 0 !important;

        pointer-events: none !important;
    }


    .navbar #searchBtn span {
        display: none !important;
    }


    /* =====================================================
       DESKTOP AUTH HIDDEN ON MOBILE
       ===================================================== */

    .navbar > #navbarAuth {
        display: none !important;
    }


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

    .mobile-menu {
    position: fixed !important;

    top: 70px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100% !important;
    height: calc(100dvh - 70px) !important;

    display: none !important;

    margin: 0 !important;
    padding: 0 14px 30px !important;

    box-sizing: border-box !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    background: #ffffff !important;

    z-index: 9999 !important;

    -webkit-overflow-scrolling: touch !important;

    scrollbar-width: thin;
    scrollbar-color: #d5d5e0 transparent;
}

    /* =====================================================
       OPEN MENU
       ===================================================== */

    .mobile-menu.active {
        display: block !important;

        animation: ZFileoMenuOpen 0.22s ease-out both !important;
    }

    /* =====================================================
   KEEP NAVBAR VISIBLE WHEN MOBILE MENU IS OPEN
   ===================================================== */

body:has(#mobileMenu.active) .navbar {
    position: fixed !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    height: 70px !important;

    z-index: 10000 !important;
}


    @keyframes ZFileoMenuOpen {

        from {
            opacity: 0;
            transform: translateY(-8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


    /* =====================================================
       MENU SCROLLBAR
       ===================================================== */

    .mobile-menu::-webkit-scrollbar {
        width: 5px;
    }


    .mobile-menu::-webkit-scrollbar-track {
        background: transparent;
    }


    .mobile-menu::-webkit-scrollbar-thumb {
        background: #d5d5e0;
        border-radius: 20px;
    }


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

    .mobile-menu-header {
        position: sticky !important;

        top: 0 !important;

        width: calc(100% + 28px) !important;
        height: 58px !important;

        margin: 0 -14px !important;
        padding: 0 16px !important;

        box-sizing: border-box !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        background: rgba(255, 255, 255, 0.97) !important;

        border-bottom: 1px solid #eeeeF4 !important;

        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;

        z-index: 20 !important;
    }


    .mobile-menu-header span {
        margin: 0 !important;
        padding: 0 !important;

        color: #171717 !important;

        font-size: 17px !important;
        font-weight: 700 !important;
    }


    /* =====================================================
       CLOSE BUTTON
       ===================================================== */

    .mobile-menu-header button {
        width: 40px !important;
        height: 40px !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        border: none !important;
        border-radius: 10px !important;

        background: #f4f4f8 !important;

        color: #303038 !important;

        font-size: 18px !important;

        cursor: pointer !important;

        transition:
            background 0.2s ease,
            color 0.2s ease,
            transform 0.2s ease !important;
    }


    .mobile-menu-header button:hover {
        background: #ededf7 !important;
        color: #5b5cf0 !important;
    }


    .mobile-menu-header button:active {
        transform: scale(0.92) !important;
    }


    /* =====================================================
       HOME
       ===================================================== */

    .mobile-menu > a[href="index.html"] {
        width: 100% !important;
        min-height: 52px !important;

        margin: 14px 0 8px !important;
        padding: 0 16px !important;

        box-sizing: border-box !important;

        display: flex !important;
        align-items: center !important;

        border: 1px solid #eeeeF4 !important;
        border-radius: 12px !important;

        background: #ffffff !important;

        color: #202027 !important;

        font-size: 15px !important;
        font-weight: 600 !important;

        text-decoration: none !important;

        box-shadow:
            0 3px 12px rgba(20, 20, 50, 0.04) !important;

        transition:
            background 0.2s ease,
            border-color 0.2s ease,
            color 0.2s ease,
            transform 0.2s ease !important;
    }


    .mobile-menu > a[href="index.html"] i {
        width: 28px !important;

        margin: 0 9px 0 0 !important;

        color: #5b5cf0 !important;

        font-size: 16px !important;

        text-align: center !important;
    }


    .mobile-menu > a[href="index.html"]:hover {
        background: #f8f8ff !important;

        border-color: #dcdcff !important;

        color: #5b5cf0 !important;

        transform: translateX(2px) !important;
    }


    /* =====================================================
       MOBILE AUTH CONTAINER
       ===================================================== */

    .mobile-menu #mobileNavbarAuth {
        width: 100% !important;

        margin: 8px 0 !important;
        padding: 0 !important;

        box-sizing: border-box !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }


    /* =====================================================
       LOGGED OUT
       
       IMPORTANT:
       display intentionally has NO !important.
       navbar-auth.js controls it.
       ===================================================== */

    .mobile-menu #mobileAuthButtons {
        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex;

        align-items: center !important;
        justify-content: center !important;

        gap: 10px !important;

        box-sizing: border-box !important;
    }


    .mobile-menu #mobileAuthButtons a {
        flex: 1 1 0 !important;

        width: 50% !important;
        min-width: 0 !important;

        height: 44px !important;

        margin: 0 !important;
        padding: 0 10px !important;

        box-sizing: border-box !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        border-radius: 10px !important;

        font-size: 14px !important;
        font-weight: 600 !important;

        line-height: 1 !important;

        text-decoration: none !important;

        white-space: nowrap !important;

        transition:
            background 0.2s ease,
            color 0.2s ease,
            border-color 0.2s ease,
            transform 0.2s ease,
            box-shadow 0.2s ease !important;
    }


    /* =====================================================
       LOGIN
       ===================================================== */

    .mobile-menu #mobileAuthButtons a:first-child {
        background: #ffffff !important;

        color: #5b5cf0 !important;

        border: 1px solid #5b5cf0 !important;
    }


    .mobile-menu #mobileAuthButtons a:first-child:hover {
        background: #f7f7ff !important;

        box-shadow:
            0 4px 12px rgba(91, 92, 240, 0.10) !important;

        transform: translateY(-1px) !important;
    }


    /* =====================================================
       SIGN UP
       ===================================================== */

    .mobile-menu #mobileAuthButtons a:last-child {
        background: #5b5cf0 !important;

        color: #ffffff !important;

        border: 1px solid #5b5cf0 !important;
    }


    .mobile-menu #mobileAuthButtons a:last-child:hover {
        background: #4f50df !important;

        box-shadow:
            0 4px 12px rgba(91, 92, 240, 0.20) !important;

        transform: translateY(-1px) !important;
    }


    .mobile-menu #mobileAuthButtons a:active {
        transform: scale(0.97) !important;
    }


    /* =====================================================
   MOBILE PROFILE / MY ACCOUNT
   ===================================================== */

.mobile-menu #mobileProfileButton {
    display: none;

    width: 100% !important;
    min-height: 52px !important;

    margin: 8px 0 !important;
    padding: 0 16px !important;

    box-sizing: border-box !important;

    align-items: center !important;

    border: 1px solid #eeeeF4 !important;
    border-radius: 12px !important;

    background: #ffffff !important;

    color: #202027 !important;

    font-size: 15px !important;
    font-weight: 600 !important;

    text-decoration: none !important;

    box-shadow:
        0 3px 12px rgba(20, 20, 50, 0.04) !important;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease !important;
}


/* MY ACCOUNT ICON */

.mobile-menu #mobileProfileButton i {
    width: 28px !important;

    margin: 0 9px 0 0 !important;

    color: #5b5cf0 !important;

    font-size: 16px !important;

    text-align: center !important;
}


/* MY ACCOUNT TEXT */

.mobile-menu #mobileProfileButton span {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: inherit !important;

    font-size: inherit !important;
    font-weight: inherit !important;
}


/* HOVER */

.mobile-menu #mobileProfileButton:hover {
    background: #f8f8ff !important;

    border-color: #dcdcff !important;

    color: #5b5cf0 !important;

    transform: translateX(2px) !important;
}


/* ACTIVE */

.mobile-menu #mobileProfileButton:active {
    transform: scale(0.99) !important;
}


    /* =====================================================
       DROPDOWNS
       ===================================================== */

    .mobile-menu details {
        width: 100% !important;

        margin: 8px 0 !important;
        padding: 0 !important;

        box-sizing: border-box !important;

        border: 1px solid #eeeeF4 !important;
        border-radius: 12px !important;

        background: #ffffff !important;

        overflow: hidden !important;

        box-shadow:
            0 3px 12px rgba(20, 20, 50, 0.035) !important;

        transition:
            border-color 0.25s ease,
            box-shadow 0.25s ease !important;
    }


    .mobile-menu details[open] {
        border-color: #ddddf7 !important;

        box-shadow:
            0 6px 18px rgba(91, 92, 240, 0.08) !important;
    }


    /* =====================================================
       SUMMARY
       ===================================================== */

    .mobile-menu details > summary {
        position: relative !important;

        width: 100% !important;
        min-height: 54px !important;

        margin: 0 !important;
        padding: 0 52px 0 16px !important;

        box-sizing: border-box !important;

        display: flex !important;
        align-items: center !important;

        cursor: pointer !important;

        background: #ffffff !important;

        color: #202027 !important;

        font-size: 15px !important;
        font-weight: 600 !important;

        list-style: none !important;

        user-select: none !important;
        -webkit-user-select: none !important;

        transition:
            background 0.2s ease,
            color 0.2s ease !important;
    }


    /* =====================================================
       REMOVE BROWSER DEFAULT ARROW
       ===================================================== */

    .mobile-menu details > summary::-webkit-details-marker {
        display: none !important;
    }


    .mobile-menu details > summary::marker {
        display: none !important;
        content: "" !important;
    }


    /* =====================================================
       HIDE HTML FONT AWESOME ARROW
       ===================================================== */

    .mobile-menu details > summary > i,
    .mobile-menu details > summary .fa-chevron-down,
    .mobile-menu details > summary .fa-angle-down,
    .mobile-menu details > summary .fa-caret-down {
        display: none !important;
    }


    /* =====================================================
       CUSTOM ARROW
       ===================================================== */

    .mobile-menu details > summary::after {
        content: "\f107" !important;

        position: absolute !important;

        right: 15px !important;
        top: 50% !important;

        width: 28px !important;
        height: 28px !important;

        margin: 0 !important;

        transform: translateY(-50%) !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;

        font-size: 14px !important;

        color: #777783 !important;

        border-radius: 8px !important;

        transition:
            transform 0.25s ease,
            color 0.25s ease,
            background 0.25s ease !important;
    }


    /* =====================================================
       OPEN ARROW
       ===================================================== */

    .mobile-menu details[open] > summary::after {
        transform:
            translateY(-50%)
            rotate(180deg) !important;

        color: #5b5cf0 !important;

        background: #f1f1ff !important;
    }


    /* =====================================================
       SUMMARY HOVER / OPEN
       ===================================================== */

    .mobile-menu details > summary:hover {
        background: #fafaff !important;

        color: #5b5cf0 !important;
    }


    .mobile-menu details[open] > summary {
        background: #fafaff !important;

        color: #5b5cf0 !important;
    }


    /* =====================================================
       DROPDOWN CONTENT ANIMATION
       ===================================================== */

    .mobile-menu details[open] > *:not(summary) {
        animation:
            ZFileoDropdownOpen
            0.20s
            ease-out
            both !important;
    }


    @keyframes ZFileoDropdownOpen {

        from {
            opacity: 0;
            transform: translateY(-5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


    /* =====================================================
       DROPDOWN LINKS
       ===================================================== */

    .mobile-menu details a {
        position: relative !important;

        width: 100% !important;
        min-height: 46px !important;

        margin: 0 !important;
        padding: 10px 16px 10px 42px !important;

        box-sizing: border-box !important;

        display: flex !important;
        align-items: center !important;

        background: #ffffff !important;

        color: #4b4b55 !important;

        font-size: 14px !important;
        font-weight: 500 !important;

        line-height: 1.35 !important;

        text-decoration: none !important;

        border-top: 1px solid #f1f1f5 !important;

        transition:
            background 0.18s ease,
            color 0.18s ease,
            padding-left 0.18s ease !important;
    }


    /* =====================================================
       DROPDOWN LINK DOT
       ===================================================== */

    .mobile-menu details a::before {
        content: "" !important;

        position: absolute !important;

        left: 19px !important;
        top: 50% !important;

        width: 5px !important;
        height: 5px !important;

        margin: 0 !important;

        transform: translateY(-50%) !important;

        border-radius: 50% !important;

        background: #c5c5d2 !important;

        transition:
            background 0.18s ease,
            transform 0.18s ease !important;
    }


    /* =====================================================
       DROPDOWN LINK HOVER
       ===================================================== */

    .mobile-menu details a:hover {
        background: #f8f8ff !important;

        color: #5b5cf0 !important;

        padding-left: 46px !important;
    }


    .mobile-menu details a:hover::before {
        background: #5b5cf0 !important;

        transform:
            translateY(-50%)
            scale(1.3) !important;
    }


    /* =====================================================
       FOCUS
       ===================================================== */

    .mobile-menu a:focus-visible,
    .mobile-menu summary:focus-visible,
    .mobile-menu button:focus-visible,
    .navbar #searchBtn:focus-visible,
    .navbar .mobile-menu-btn:focus-visible {
        outline: 2px solid #5b5cf0 !important;
        outline-offset: 2px !important;
    }


    /* =====================================================
       SMALL PHONES
       ===================================================== */

    @media (max-width: 380px) {

        .navbar {
            height: 64px !important;
            min-height: 64px !important;
        }


        .navbar .mobile-menu-btn,
        .navbar #searchBtn {
            width: 38px !important;
            height: 38px !important;
        }


        .navbar .mobile-menu-btn {
            left: 9px !important;
        }


        .navbar #searchBtn {
            right: 9px !important;
        }


        .navbar .logo-z img {
            height: 31px !important;
            max-width: 135px !important;
        }


        .mobile-menu {
            top: 64px !important;

            height: calc(100dvh - 64px) !important;

            padding-left: 10px !important;
            padding-right: 10px !important;
        }


        .mobile-menu-header {
            width: calc(100% + 20px) !important;

            margin-left: -10px !important;
            margin-right: -10px !important;

            padding-left: 12px !important;
            padding-right: 12px !important;
        }


        .mobile-menu #mobileAuthButtons {
            gap: 8px !important;
        }


        .mobile-menu #mobileAuthButtons a {
            height: 42px !important;

            font-size: 13px !important;
        }

        .mobile-menu details > summary {
            min-height: 51px !important;

            font-size: 14px !important;
        }


        .mobile-menu details a {
            min-height: 44px !important;

            font-size: 13px !important;
        }
    }

    body:has(#mobileMenu.active) .navbar {
    height: 64px !important;
    min-height: 64px !important;
}

body:has(#mobileMenu.active) .mobile-menu {
    top: 64px !important;
    height: calc(100dvh - 64px) !important;
}


    /* =====================================================
       VERY SMALL PHONES
       ===================================================== */

    @media (max-width: 330px) {

        .navbar .logo-z img {
            height: 29px !important;
            max-width: 120px !important;
        }


        .mobile-menu #mobileAuthButtons {
            gap: 7px !important;
        }


        .mobile-menu #mobileAuthButtons a {
            font-size: 12px !important;
        }

    }
}


/* =========================================================
   DESKTOP SAFETY
   ========================================================= */

@media (min-width: 769px) {

    .mobile-menu {
        display: none !important;
    }

}

/* ================= COPYRIGHT ================= */

.footer-copyright {
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(128, 128, 128, 0.3);
    padding: 8px 12px;
    margin-top: 12px;
    box-sizing: border-box;

    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    color: #888;
}

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

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

    .footer-copyright {
        width: 100%;
        margin-top: 10px;
        padding: 8px 10px;

        font-size: 12px;
        text-align: center;

        /* Hide only copyright border on mobile */
        border-top: none;
    }

}

/* ================= GLOBAL MOBILE TAP EFFECT ================= */

@media (hover: none) and (pointer: coarse) {

    button,
    a,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    select,
    [role="button"],
    .btn {
        -webkit-tap-highlight-color: transparent;
    }

}