/* ===========================
    HEADER & MENU STYLES
   =========================== */

.header__logo img {
    max-height: 40px;
    height: auto;
    width: 100%;
    margin-bottom: 15px;
}

.stricked-menu.stricky-fixed {
    border-bottom: 1px solid var(--bs-dark);
}

.main-menu ul li .submenu-default {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: absolute;
    min-width: 240px;
    top: 60%;
    opacity: 0;
    visibility: hidden;
    background: var(--color-white);
    left: 0;
    padding: 20px 0;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    z-index: 3;
    text-align: left;
    -webkit-transform: translate3d(0, 18px, 0);
    -ms-transform: translate3d(0, 18px, 0);
    transform: translate3d(0, 18px, 0);
    pointer-events: none;
    box-shadow: 0 0.5rem 1.875rem rgba(0, 0, 0, 0.1);
    border: 1px solid var(--bs-dark);
}

.submenu li {
    margin-right: 0;
}

.submenu li a {
    display: inline-block;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-dark);
    padding: 35px 0;
    position: relative;
    line-height: 22px;
}

.submenu-default li a {
    padding: 10px !important;
}

.main-menu ul li.menu-item-has-children:hover > .submenu-default {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.main-menu ul li .submenu {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    min-width: 80vw;
    top: 80%;
    opacity: 0;
    visibility: hidden;
    background: var(--color-white);
    left: -25vw;
    padding: 20px 0;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    z-index: 3;
    text-align: center;
    -webkit-transform: translate3d(0, 18px, 0);
    -ms-transform: translate3d(0, 18px, 0);
    transform: translate3d(0, 18px, 0);
    pointer-events: none;
    box-shadow: 0 0.5rem 1.875rem rgba(0, 0, 0, 0.1);
    display: flex;
    border: 1px solid var(--bs-dark);
}

/* ===========================
    HEADER STYLE 2
   =========================== */

.header-style-two {
    position: unset;
    top: 0;
    left: 0;
    right: 0;
}
.header-style-two .main-menu ul li a { color: #fff; }
.header-style-two .main-menu ul li .submenu-default { background-color: #0F0E1E; }
.header-style-two .main-menu ul li .submenu-default li a { color: #fff; }
.header-style-two .stricked-menu { background-color: #0F0E1E; }
.header-style-two .header__button .thm-btn { padding: 14px 38px; }
.header-style-two .header__bar span { background-color: #fff; }

/* ===========================
    TYPEWRITER TITLE (HERO)
   =========================== */
   .hero-style-two{padding-top: 100px}
.xb-title--typewriter {
    display: inline-block;
    min-width: 700px;
    text-align: center;
    vertical-align: bottom;
}
.xb-item--text {
    display: inline-block;
    width: 100%;
    white-space: nowrap;
    text-align: center;
    vertical-align: bottom;
}

/* ===========================
    FOOTER STYLES
   =========================== */
.footer-powered-link, 
.footer__links a {
    color: #fff !important;
    font-size: 14px;
    font-weight: 400;
    text-decoration: underline;
    transition: color 0.2s;
}
.footer__links a { margin: 0 15px; }
.footer-powered-link:hover, 
.footer__links:hover { color: #10a5ff !important; }
.footer__copyright-text {
    color: #fff;
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 300;
}

/* ===========================
    GLOW SHAPES, Z-INDEX
   =========================== */
.process__shape, .main-glow-shapes {
    position: absolute;
    left: 0; top: 50%; width: 100%; height: 100%; pointer-events: none; z-index: 0;
}
.process__shape .shape, .main-glow-shapes .shape {
    position: absolute;
    z-index: 0;
}
.crm-feature, .process, .testimonials-section {
    position: relative;
    z-index: 1;
}

/* ===========================
    TOOL CARD STYLING & LAYOUT
   =========================== */

.tool-convert-card {
    background: rgba(32, 18, 70, 0.96);
    box-shadow: 0 8px 40px 0 rgba(142,90,253,0.23), 0 1.5px 0 rgba(174,109,255,0.08) inset;
    border-radius: 10px;
    border: 1.5px solid rgba(150,110,255,0.18);
    padding: 50px;
    max-width: 70vw;
    margin: 0 auto;
    transition: box-shadow 0.2s;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}
.tool-convert-card__left { flex: 1 1 0%; min-width: 0; }
.tool-convert-card__right { display: flex; align-items: center; justify-content: center; }
.tool-convert-pdficon svg {
    width: 110px; height: 130px; display: block;
    filter: drop-shadow(0 0 14px #8d67ff77);
}
.tool-convert-card h1 {
    font-size: 2.3rem;
    font-weight: 800;
    background: linear-gradient(90deg, #fff 70%, #b399ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.01em;
}
.tool-convert-card .desc {
    color: #c6c2ef;
    font-size: 1.14rem;
    margin-bottom: 1.3rem;
    font-weight: 500;
}
.tool-dropzone {
    border: 2px dashed #9e7fff;
    background: rgba(63, 43, 109, 0.14);
    border-radius: 1.1rem;
    padding: 1.25rem 0.5rem 0.5rem 0.5rem;
    text-align: center;
    margin-bottom: 1.2rem;
    position: relative;
    transition: border-color 0.2s;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}
.tool-dropzone.dragover {
    border-color: #be8cff;
    background: rgba(125, 95, 255, 0.08);
}
.tool-dropzone .icon {
    margin-bottom: 0.3rem;
    display: block;
    color: #b392ff;
    font-size: 2.1rem;
}
.tool-dropzone .dz-text {
    color: #b9b6ec;
    font-size: 1.07rem;
}

.tool-btns {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: center;
}
.tool-btns label,
.tool-btns button {
    font-weight: 600;
    border: none;
    outline: none;
    border-radius: 999px;
    font-size: 1.1rem;
    padding: 0.82rem 2.2rem;
    transition: background .17s;
    box-shadow: 0 1.5px 10px 0 #b089f430;
    min-height: 44px;
}
.tool-btns label {
    background: linear-gradient(90deg, #a288ff 40%, #7b58ec 100%);
    color: #fff;
    cursor: pointer;
}
.tool-btns label:hover {
    background: linear-gradient(90deg, #bfa6ff 10%, #7b58ec 100%);
}
.tool-btns button {
    background: #191433;
    color: #d2cbff;
    border: 1px solid #473a7f;
    cursor: pointer;
}
.tool-btns button:hover {
    background: #241d43;
    color: #fff;
}
#file-info {
    color: #fff !important;
    font-weight: 300;
    padding-bottom: 20px;
    font-style: italic;
}
label, .form-label {
    color: #fff !important;
    font-weight: 300 !important;
    margin-bottom: 10px;
}

#lock-aspect {
    border: none;
    background: none;
    color: #a288ff;
    outline: none;
    cursor: pointer;
    min-height: 44px;
}
#lock-aspect:focus { outline: none; }
#lock-icon { transition: color 0.2s; }
#lock-aspect.unlocked #lock-icon { color: #bbb; }

.img-compressor { margin-top: 100px; }

/* ===========================
    FORMS & SELECTS
   =========================== */

select,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="tel"] {
    border-radius: 50px !important;
    min-width: 150px;
    background: #211446 !important;
    color: #fff !important;
    border-color: #86b7fe !important;
    padding: 15px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: 1.1rem;
    box-sizing: border-box;
}

select option {
    background: #211446;
    color: #fff;
}

input[type="checkbox"], input[type="radio"] {
    min-width: 22px !important;
    min-height: 22px !important;
    width: 22px !important;
    height: 22px !important;
    accent-color: #a288ff;
    margin-right: 8px;
}

/* ===========================
    CROPPER SIZING
   =========================== */
#cropper-container,
#cropper-image {
    width: 100% !important;
    max-width: 400px;
    max-height: 400px;
    height: auto !important;
    display: block;
    margin: 0 auto;
    min-width: 240px;
    min-height: 240px;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
#file-info, .desc {
    font-size: 0.97rem !important;
}
button, .btn, label, .form-label {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0,0,0,0.2);
}

/* Main container z-index */
.main-zfix {
    z-index: 1 !important;
}

/* Loader overlay styles */
.loader-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 18, 65, 0.9);
    color: #fff;
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Max width for tool card */
.tool-card-maxw {
    max-width: 900px;
    width: 100%;
}

/* Min width for left side of tool card */
.tool-left-minw {
    min-width: 320px;
}

/* Min width for right (preview) side */
.tool-right-minw {
    min-width: 180px;
}

/* Hide file info by default */
.file-info-hide {
    display: none;
}

/* Export width/height input widths */
.export-width-w,
.export-height-w {
    width: 80px !important;
}

/* Export quality range width */
.export-quality-w {
    width: 100px !important;
}

/* Remove padding for lock aspect col */
.p-0 {
    padding: 0 !important;
}

/* Lock icon, don't select */
.lock-icon-userselect {
    user-select: none;
    font-size: 1.25rem;
    line-height: 1;
}

/* Preview image box styling */
/* .preview-img-box {
    max-width: 170px;
    max-height: 170px;
    background: #23223a;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #a288ff;
    margin: 0 auto;
    width: 100% !important;
    height: auto;
} */

/* Preview image element styling */
.preview-img-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Cropper container styling */
.cropper-container-main {
    width: 400px;
    height: 400px;
    background: #23223a;
    overflow: hidden;
    margin: 2rem auto;
}

/* Cropper image styling */
.cropper-image-main {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto;
}

.bg-semi-transparent {
    background-color: rgba(255,255,255,0.05);
    padding: 2%;
    border-radius: 8px;
    border: 1px solid #473a7f;
}





/* Cropper container and preview image responsiveness */

@media (max-width: 767.98px) {
    .cropper-container-main, .preview-img-box {
        margin-bottom: 16px;
    }
    .tool-dropzone,
    .tool-btns,
    .export-options-controls {
        width: 100% !important;
        min-width: 0 !important;
    }
    .tool-btns > * {
        width: 100% !important;
    }
}

@media (max-width: 767.98px) {
  .sticky-cropper-wrap {
    position: sticky;
    top: 0;
    z-index: 1030;
    /* Optional: add a little shadow for separation if desired */
    box-shadow: 0 4px 16px 0 rgba(32,18,70,0.07);
  }
}




/* Default: row layout (side by side) */
.cropper-preview-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

/* Ensure preview box has a nice size */
.cropper-container-main {
    flex: 3 1 60%;
    min-width: 0;
}

.preview-img-box {
    flex: 1 1 40%;
    min-width: 120px;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.preview-img-el {
    width: 100%;
    max-width: 160px;
    max-height: 160px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #a288ff;
    background: #23223a;
}

/* On mobile: stack vertically */
@media (max-width: 767.98px) {
    .cropper-preview-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.7rem;
    }
    .preview-img-box {
        max-width: 100%;
        align-items: center;
        margin: 0 auto;
    }
    .preview-img-el {
        max-width: 80vw;
        max-height: 180px;
    }
}

@media (max-width: 600px) {
    .tool-convert-card {
        max-width: 100vw !important;
        padding: 12px !important;  /* Optional: Reduce padding for mobile if you wish */
        border-radius: 0 !important; /* Optional: Remove radius if you want flush edges */
    }
}


.pill-input {
    border-radius: 2rem !important;
    padding: 0.85rem 1.5rem !important;
    border: 1px solid #9d82ff !important;
    background: #24174b !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100% !important;
    box-shadow: 0 1.5px 10px 0 #b089f430;
    min-height: 48px;
}

.pill-input:focus {
    border-color: #a288ff !important;
    outline: none !important;
    box-shadow: 0 0 0 2px #a288ff55;
}

.export-options-row .col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 10px;
    min-width: 0;
}

.export-options-row {
    margin-left: 0;
    margin-right: 0;
}

/* Remove unwanted margin on select in Bootstrap */
.pill-input.form-select {
    padding-right: 2.5rem !important;
    background-position: right 1rem center !important;
}

/* For the lock aspect button: center it nicely */
.lock-col {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    min-width: 44px;
}


.nav-pills .nav-link {
    border-radius: 10px;
    border: 1.5px solid rgba(150, 110, 255, 0.18) !important;
  background: white;
      margin-top: 10px;
      width: 200px;
}
.nav-pills .nav-link.active,.nav-pills .nav-link:hover {
    box-shadow: 0 8px 40px 0 rgba(142, 90, 253, 0.23), 0 1.5px 0 rgba(174, 109, 255, 0.08) inset;
    background: rgba(32, 18, 70, 0.96);
    color: white;

}
.form-control{border:1.5px solid rgba(150,110,255,0.18) !important;}