/**
 * MeroSath Tools & Utilities - Extended Stylesheet
 * For Image, ZIP, and PDF Utilities
 */

/* Sub-header / Category Badges */
.mre-tool-category-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.mre-tool-category-badge.image { background: #fef3c7; color: #92400e; }
.mre-tool-category-badge.pdf { background: #fee2e2; color: #991b1b; }
.mre-tool-category-badge.archive { background: #e0e7ff; color: #3730a3; }
.mre-tool-category-badge.daily { background: #e0f2fe; color: #0369a1; }

/* Category Sections on Tools Index */
.mre-category-section {
    margin-bottom: 45px;
}
.mre-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}
.mre-category-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.mre-category-header .mre-category-icon {
    font-size: 26px;
}
.mre-category-header .mre-category-desc {
    font-size: 14px;
    color: #64748b;
    margin-left: auto;
}

/* Control Panels & Tool Setting Strips */
.mre-tool-settings-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.mre-tool-settings-panel h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mre-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    align-items: end;
}
.mre-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mre-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}
.mre-form-control {
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    color: #1e293b;
    background: #ffffff;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
}
.mre-form-control:focus {
    border-color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Range Slider with Live Badge */
.mre-slider-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mre-slider-wrap input[type="range"] {
    flex: 1;
    accent-color: #0284c7;
    height: 6px;
    border-radius: 3px;
    cursor: pointer;
}
.mre-slider-val {
    min-width: 45px;
    font-weight: 700;
    font-size: 14px;
    color: #0284c7;
    background: #f0f9ff;
    padding: 4px 8px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #bae6fd;
}

/* Dimension Inputs (Width x Height) */
.mre-dimensions-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mre-dimensions-wrap .dim-x {
    color: #94a3b8;
    font-weight: 700;
}
.mre-checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    margin-top: 4px;
}
.mre-checkbox-label input[type="checkbox"] {
    accent-color: #0284c7;
    width: 16px;
    height: 16px;
}

/* Result Cards & File Lists */
.mre-file-list-wrap {
    margin-top: 20px;
}
.mre-file-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: border-color 0.15s;
}
.mre-file-item:hover {
    border-color: #cbd5e1;
}
.mre-file-thumb {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    object-fit: cover;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.mre-file-thumb-icon {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.mre-file-info {
    flex: 1;
    min-width: 0;
}
.mre-file-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}
.mre-file-meta {
    font-size: 12px;
    color: #64748b;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.mre-file-meta .size-saved {
    color: #16a34a;
    font-weight: 700;
}
.mre-file-meta .size-orig {
    text-decoration: line-through;
    color: #94a3b8;
}
.mre-file-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}
.mre-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.mre-btn-primary {
    background: #0284c7;
    color: #ffffff;
}
.mre-btn-primary:hover {
    background: #0369a1;
}
.mre-btn-success {
    background: #16a34a;
    color: #ffffff;
}
.mre-btn-success:hover {
    background: #15803d;
}
.mre-btn-outline {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #334155;
}
.mre-btn-outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}
.mre-btn-danger-text {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
}
.mre-btn-danger-text:hover {
    color: #b91c1c;
}

/* Main Action Wrap */
.mre-action-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 12px;
}
.mre-action-footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mre-action-footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ZIP Table & Tree */
.mre-zip-table-wrap {
    overflow-x: auto;
    margin-top: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
.mre-zip-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}
.mre-zip-table th {
    background: #f8fafc;
    padding: 10px 14px;
    font-weight: 700;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}
.mre-zip-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
}
.mre-zip-table tr:last-child td {
    border-bottom: none;
}
.mre-zip-table tr:hover td {
    background: #f8fafc;
}
.mre-zip-table .folder-row td {
    background: #f1f5f9;
    font-weight: 600;
    color: #334155;
}

/* PDF Page Grid for Split & Rotate */
.mre-pdf-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
    margin-top: 20px;
    max-height: 450px;
    overflow-y: auto;
    padding: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
.mre-pdf-page-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px;
    text-align: center;
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: transform 0.15s, border-color 0.15s;
    user-select: none;
}
.mre-pdf-page-card.selected {
    border-color: #0284c7;
    background: #f0f9ff;
    box-shadow: 0 0 0 2px #0284c7;
}
.mre-pdf-page-canvas {
    width: 100%;
    height: auto;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #ffffff;
    display: block;
    margin-bottom: 6px;
    transition: transform 0.2s ease;
}
.mre-pdf-page-num {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
}
.mre-pdf-page-rotate-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    width: 22px;
    height: 22px;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mre-pdf-page-rotate-btn:hover {
    background: #0284c7;
}
.mre-pdf-page-checkbox {
    position: absolute;
    top: 6px;
    left: 6px;
    accent-color: #0284c7;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Alerts / Notices */
.mre-alert-box {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.mre-alert-box.info {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
}
.mre-alert-box.warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}
.mre-alert-box.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .mre-settings-grid {
        grid-template-columns: 1fr;
    }
    .mre-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .mre-category-header .mre-category-desc {
        margin-left: 0;
    }
    .mre-file-item {
        flex-wrap: wrap;
    }
    .mre-file-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .mre-action-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .mre-action-footer-left,
    .mre-action-footer-right {
        justify-content: center;
    }
}

/* ==========================================================================
   Tools Hub UI/UX Modernization: 12-Tool Showcase, Tabs, Search & FAQ
   ========================================================================== */

/* Toolbar: Category Tabs & Search Bar */
.mre-tools-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 25px 0 35px 0;
    flex-wrap: wrap;
}

/* Category Tabs Scroll Wrapper & Visual Guidance */
.mre-category-tabs-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.mre-category-tabs-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, rgba(248, 250, 252, 0), rgba(248, 250, 252, 0.96));
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.25s ease;
    border-radius: 0 20px 20px 0;
}
.mre-category-tabs-wrapper.scrolled-end::after {
    opacity: 0;
}

.mre-category-tabs {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 2px;
    box-sizing: border-box;
}
.mre-category-tabs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.mre-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.mre-tab-btn:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
}
.mre-tab-btn.active {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
}
.mre-tab-count {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    line-height: 1;
}
.mre-tab-btn.active .mre-tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Search Box */
.mre-search-box {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 280px;
    flex: 1;
    max-width: 380px;
}
.mre-search-icon {
    position: absolute;
    left: 14px;
    font-size: 14px;
    pointer-events: none;
    opacity: 0.6;
}
.mre-search-input {
    width: 100%;
    height: 42px;
    padding: 8px 36px 8px 38px;
    border: 1px solid #cbd5e1;
    border-radius: 22px;
    font-size: 13.5px;
    color: #1e293b;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.mre-search-input:focus {
    border-color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
.mre-search-clear {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}
.mre-search-clear:hover {
    color: #475569;
}

/* Search Status & No-Results State */
.mre-search-status {
    margin: -15px 0 25px 0;
    padding: 10px 16px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #0369a1;
}
.mre-no-results {
    text-align: center;
    padding: 50px 20px;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    margin: 20px 0 40px 0;
}
.mre-no-results-icon {
    font-size: 48px;
    margin-bottom: 15px;
}
.mre-no-results h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}
.mre-no-results p {
    font-size: 14px;
    color: #64748b;
    max-width: 460px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
}
.mre-btn-secondary {
    display: inline-block;
    padding: 10px 22px;
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.mre-btn-secondary:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

/* Section Header Enhancements */
.mre-category-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mre-category-pill {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 12px;
    white-space: nowrap;
}

/* Consistent 3-Column Desktop Grid */
.mre-tools-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 35px;
}

/* Uniform Tool Card Structure */
.mre-tool-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 22px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.mre-tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -3px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}
.mre-tool-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.mre-tool-card-header .mre-tool-category-badge {
    margin-bottom: 0;
}
.mre-privacy-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}
.mre-privacy-tag.live {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}
.mre-tool-card .mre-tool-icon {
    font-size: 38px;
    margin-bottom: 12px;
    line-height: 1;
}
.mre-tool-card .mre-tool-title {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}
.mre-tool-card .mre-tool-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 18px;
    flex: 1;
}
.mre-tool-card .mre-tool-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    font-size: 12.5px;
    color: #334155;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}
.mre-tool-card .mre-tool-btn {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: #0284c7;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 13.5px;
    padding: 10px 18px;
    border-radius: 8px;
    transition: background 0.2s, box-shadow 0.2s;
}
.mre-tool-card .mre-tool-btn:hover {
    background: #0369a1;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
}
.mre-tool-card .mre-tool-btn .arrow {
    transition: transform 0.2s;
}
.mre-tool-card .mre-tool-btn:hover .arrow {
    transform: translateX(4px);
}

/* Security Banner Refinements */
.mre-tools-security-banner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0284c7;
    border-radius: 10px;
    padding: 24px 28px;
    margin: 40px 0 50px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}
.mre-tools-security-banner .sec-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}
.mre-tools-security-banner .sec-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}
.mre-tools-security-banner .sec-text p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Accordion Section */
.mre-tools-faq-section {
    margin: 45px 0 35px 0;
    border-top: 1px solid #e2e8f0;
    padding-top: 40px;
}
.mre-faq-header {
    text-align: center;
    margin-bottom: 30px;
}
.mre-faq-icon {
    font-size: 32px;
    display: inline-block;
    margin-bottom: 8px;
}
.mre-faq-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}
.mre-faq-header p {
    font-size: 14.5px;
    color: #64748b;
    margin: 0;
}
.mre-faq-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
}
.mre-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.mre-faq-item[open] {
    border-color: #0284c7;
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.08);
}
.mre-faq-question {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    list-style: none;
}
.mre-faq-question::-webkit-details-marker {
    display: none;
}
.mre-faq-question:hover {
    color: #0284c7;
}
.mre-faq-toggle {
    font-size: 18px;
    font-weight: 700;
    color: #0284c7;
    margin-left: 12px;
    line-height: 1;
}
.mre-faq-answer {
    padding: 0 20px 18px 20px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}
.mre-faq-answer p {
    margin: 0;
}

/* Responsive Breakpoints for Grid & Toolbar */
@media (min-width: 992px) {
    .mre-category-tabs-wrapper {
        width: auto;
        max-width: none;
        flex: 1;
    }
    .mre-category-tabs-wrapper::after {
        display: none;
    }
}
@media (max-width: 991px) {
    .mre-tools-grid-3col {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .mre-tools-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .mre-category-tabs-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .mre-search-box {
        max-width: 100%;
        min-width: 100%;
    }
    .mre-tools-security-banner {
        flex-direction: column;
        padding: 20px;
        gap: 12px;
    }
}
@media (max-width: 640px) {
    .mre-tools-grid-3col {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   Phase 2: Tool Editorial Content, User Guides & Technical Specs
   ========================================================================== */
.mre-tool-guide-wrap {
    margin-top: 35px;
    margin-bottom: 25px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 36px 32px;
}
.mre-guide-section {
    margin-bottom: 34px;
}
.mre-guide-section:last-child {
    margin-bottom: 0;
}
.mre-guide-title {
    font-size: 21px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.35;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}
.mre-guide-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    margin-top: 18px;
    margin-bottom: 8px;
}
.mre-guide-text {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 14px;
}
.mre-guide-text p {
    margin: 0 0 12px 0;
}
.mre-guide-text p:last-child {
    margin-bottom: 0;
}
.mre-guide-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 18px;
}
.mre-step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 18px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mre-step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.mre-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
    margin-bottom: 12px;
}
.mre-step-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}
.mre-step-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}
.mre-specs-table-wrap {
    overflow-x: auto;
    margin-top: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.mre-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}
.mre-specs-table th {
    background: #f8fafc;
    color: #334155;
    font-weight: 600;
    padding: 12px 18px;
    border-bottom: 1px solid #e2e8f0;
    width: 32%;
    vertical-align: top;
}
.mre-specs-table td {
    padding: 12px 18px;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
}
.mre-specs-table tr:last-child th,
.mre-specs-table tr:last-child td {
    border-bottom: none;
}
.mre-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 18px;
}
.mre-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.mre-feature-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.mre-feature-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}
.mre-feature-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .mre-tool-guide-wrap {
        padding: 24px 18px;
        margin-top: 25px;
    }
    .mre-guide-title {
        font-size: 18px;
    }
    .mre-guide-steps-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .mre-features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .mre-specs-table th,
    .mre-specs-table td {
        padding: 10px 14px;
        font-size: 13px;
    }
}
