:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-531c20d */@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

.he-image-converter,
.he-image-converter * {
    font-family: "Poppins", sans-serif !important;
    box-sizing: border-box;
}

.he-image-converter {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    color: #1E293B;
    font-size: 15px;
}

/* =========================
   TOOL HEADER
========================= */

.he-tool-header {
    padding: 30px 24px;
    margin-bottom: 18px;
    text-align: center;
    background: #D6E5F7;
    border: 1px solid #C3D7EF;
    border-radius: 14px;
}

.he-tool-badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 12px;
    border-radius: 30px;
    background: #FFFFFF;
    color: #1565D8;
    font-size: 11px;
    font-weight: 600;
}

.he-tool-header h1 {
    margin: 0 0 7px;
    color: #123B73;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}

.he-tool-header p {
    max-width: 650px;
    margin: 0 auto;
    color: #48627F;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================
   GENERAL SECTIONS
========================= */

.he-upload-section,
.he-images-section,
.he-settings-card,
.he-results {
    padding: 22px;
    margin-bottom: 18px;
    background: #FFFFFF;
    border: 1px solid #E0E8F2;
    border-radius: 14px;
}

.he-section-heading,
.he-settings-title {
    margin-bottom: 15px;
}

.he-section-heading h2,
.he-settings-title h2,
.he-list-header h2 {
    margin: 0 0 4px;
    color: #172554;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}

.he-section-heading p,
.he-settings-title p,
.he-list-header span {
    margin: 0;
    color: #64748B;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================
   UPLOAD AREA
========================= */

.he-upload-card {
    min-height: 210px;
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #F8FBFF;
    border: 2px dashed #C3D7EF;
    border-radius: 12px;
    cursor: pointer;
    transition: background .2s ease,
                border-color .2s ease,
                transform .2s ease;
}

.he-upload-card:hover,
.he-upload-card.he-dragover {
    background: #EDF4FF;
    border-color: #1565D8;
}

.he-upload-card.he-dragover {
    transform: scale(1.005);
}

.he-upload-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 11px;
    border-radius: 13px;
    background: #EDF4FF;
    color: #1565D8;
    font-size: 27px;
    font-weight: 600;
}

.he-upload-card h3 {
    margin: 0 0 5px;
    color: #1E293B;
    font-size: 17px;
    font-weight: 700;
}

.he-upload-card p {
    margin: 0 0 14px;
    color: #64748B;
    font-size: 12px;
}

.he-upload-button {
    padding: 10px 18px;
    border: 0;
    border-radius: 8px;
    background: #1565D8;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: background .2s ease;
}

.he-upload-button:hover {
    background: #0E56C1;
}

.he-upload-note {
    margin-top: 8px;
    color: #64748B;
    font-size: 10px;
}


/* =========================
   YOUR IMAGES HEADER
========================= */

.he-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.he-clear-button,
.he-download-all {
    padding: 8px 12px;
    border: 1px solid #E0E8F2;
    border-radius: 7px;
    background: #FFFFFF;
    color: #1E293B;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.he-clear-button:hover {
    border-color: #1565D8;
    color: #1565D8;
}

.he-download-all {
    border-color: #1565D8;
    color: #1565D8;
}

.he-download-all:hover {
    background: #1565D8;
    color: #FFFFFF;
}


/* =========================
   IMAGE LIST
========================= */

.he-image-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.he-image-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 9px;
    background: #FFFFFF;
    border: 1px solid #E0E8F2;
    border-radius: 9px;
    cursor: pointer;
    transition: background .2s ease,
                border-color .2s ease;
}

.he-image-item:hover {
    border-color: #B8CDE6;
}

.he-image-item.he-selected {
    background: #EDF4FF;
    border-color: #1565D8;
}

.he-image-preview {
    width: 65px;
    height: 65px;
    overflow: hidden;
    background: #F8FBFF;
    border: 1px solid #E0E8F2;
    border-radius: 8px;
}

.he-image-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.he-image-info {
    min-width: 0;
}

.he-image-name {
    display: block;
    overflow: hidden;
    margin-bottom: 3px;
    color: #1E293B;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.he-image-size,
.he-image-status {
    display: block;
    color: #64748B;
    font-size: 10px;
    line-height: 1.5;
}

.he-image-status {
    color: #1565D8;
    font-weight: 600;
}


/* =========================
   SETTINGS
========================= */

.he-selected-label {
    display: block;
    margin-bottom: 3px;
    color: #1565D8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .4px;
}

.he-selected-preview {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px;
    margin-bottom: 17px;
    background: #F8FBFF;
    border: 1px solid #E0E8F2;
    border-radius: 9px;
}

.he-selected-preview-image {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #E0E8F2;
    border-radius: 7px;
}

.he-selected-preview-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.he-selected-preview-info {
    min-width: 0;
}

.he-selected-preview-info strong {
    display: block;
    overflow: hidden;
    color: #1E293B;
    font-size: 12px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.he-selected-preview-info span {
    color: #64748B;
    font-size: 10px;
}

.he-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.he-setting {
    min-width: 0;
}

.he-setting > label {
    display: block;
    margin-bottom: 6px;
    color: #1E293B;
    font-size: 12px;
    font-weight: 600;
}

.he-setting input[type="text"],
.he-setting input[type="number"],
.he-setting select {
    width: 100%;
    height: 40px;
    min-height: 40px;
    padding: 7px 10px;
    border: 1px solid #E0E8F2;
    border-radius: 7px;
    outline: none;
    background: #FFFFFF;
    color: #1E293B;
    font-size: 12px;
    line-height: 1.4;
}

.he-setting input[type="text"]:focus,
.he-setting input[type="number"]:focus,
.he-setting select:focus {
    border-color: #1565D8;
    box-shadow: 0 0 0 3px rgba(21, 101, 216, .08);
}

.he-setting small {
    display: block;
    margin-top: 4px;
    color: #64748B;
    font-size: 9px;
    line-height: 1.4;
}

.he-size-input {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 6px;
}

.he-quality-row {
    display: flex;
    align-items: center;
    gap: 9px;
}

.he-quality-row input[type="range"] {
    width: 100%;
    accent-color: #1565D8;
    cursor: pointer;
}

.he-quality-row span {
    min-width: 39px;
    color: #1565D8;
    font-size: 11px;
    font-weight: 700;
}

.he-checkbox-setting {
    display: flex;
    align-items: center;
}

.he-checkbox-setting > label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    cursor: pointer;
}

.he-checkbox-setting input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #1565D8;
}


/* =========================
   TARGET SIZE
========================= */

.he-target-info {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 11px;
    margin-top: 15px;
    background: #EDF4FF;
    border: 1px solid #D5E5FA;
    border-radius: 8px;
}

.he-target-icon {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 27px;
    border-radius: 50%;
    background: #1565D8;
    color: #FFFFFF;
    font-size: 14px;
}

.he-target-info strong,
.he-target-info span {
    display: block;
}

.he-target-info strong {
    color: #1E293B;
    font-size: 10px;
}

.he-target-info span {
    color: #64748B;
    font-size: 9px;
}

.he-settings-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.he-save-settings {
    padding: 9px 14px;
    border: 0;
    border-radius: 7px;
    background: #1565D8;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.he-save-settings:hover {
    background: #0E56C1;
}


/* =========================
   CONVERT BAR
========================= */

.he-convert-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 17px;
    margin-bottom: 18px;
    background: #EAF3FF;
    border: 1px solid #D5E5FA;
    border-radius: 11px;
}

.he-convert-summary strong,
.he-convert-summary span {
    display: block;
}

.he-convert-summary strong {
    color: #173B70;
    font-size: 13px;
}

.he-convert-summary span {
    margin-top: 2px;
    color: #64748B;
    font-size: 10px;
}

.he-convert-button {
    padding: 10px 17px;
    border: 0;
    border-radius: 7px;
    background: #1565D8;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease,
                opacity .2s ease;
}

.he-convert-button:hover {
    background: #0E56C1;
}

.he-convert-button:disabled {
    opacity: .65;
    cursor: wait;
}


/* =========================
   RESULTS
========================= */

.he-result-items {
    display: grid;
    gap: 9px;
}

.he-result-item {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 9px;
    background: #FFFFFF;
    border: 1px solid #E0E8F2;
    border-radius: 9px;
}

.he-result-preview {
    width: 60px;
    height: 60px;
    overflow: hidden;
    background: #F8FBFF;
    border: 1px solid #E0E8F2;
    border-radius: 7px;
}

.he-result-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.he-result-info {
    min-width: 0;
}

.he-result-name {
    overflow: hidden;
    margin: 0 0 2px;
    color: #1E293B;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.he-result-meta {
    margin: 0 0 3px;
    color: #64748B;
    font-size: 9px;
}

.he-size-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.he-original-size,
.he-final-size,
.he-saved-size {
    font-size: 9px;
}

.he-original-size {
    color: #64748B;
}

.he-final-size {
    color: #1565D8;
    font-weight: 700;
}

.he-saved-size {
    padding: 2px 5px;
    border-radius: 4px;
    background: #EDF4FF;
    color: #1565D8;
    font-weight: 700;
}

.he-download-button {
    padding: 7px 11px;
    border: 1px solid #1565D8;
    border-radius: 6px;
    background: #FFFFFF;
    color: #1565D8;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
}

.he-download-button:hover {
    background: #1565D8;
    color: #FFFFFF;
}


/* =========================
   HIDDEN INPUT
========================= */

.he-image-converter input[type="file"] {
    display: none !important;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .he-image-items,
    .he-settings-grid {
        grid-template-columns: 1fr;
    }

    .he-convert-section {
        flex-direction: column;
        align-items: stretch;
    }

    .he-convert-button {
        width: 100%;
    }
}


@media (max-width: 500px) {

    .he-tool-header {
        padding: 26px 17px;
    }

    .he-tool-header h1 {
        font-size: 28px;
    }

    .he-tool-header p {
        font-size: 13px;
    }

    .he-upload-section,
    .he-images-section,
    .he-settings-card,
    .he-results {
        padding: 17px;
    }

    .he-list-header {
        align-items: flex-start;
    }

    .he-image-item {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .he-image-preview {
        width: 58px;
        height: 58px;
    }

    .he-result-item {
        grid-template-columns: 55px minmax(0, 1fr);
    }

    .he-result-preview {
        width: 55px;
        height: 55px;
    }

    .he-download-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .he-settings-actions {
        justify-content: stretch;
    }

    .he-save-settings {
        width: 100%;
    }
}/* End custom CSS */