.ev-data-entry-content {
	margin: 1.5em 0 0;
}
	
.ev-filter-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 0px;
    margin: 0 auto;
    font-family: "DM Sans";
}

/* --- SCROLL-INDICATOR (HANDJE) --- */
/* Standaard verbergen: JavaScript bepaalt dynamisch of dit op display: block wordt gezet */
.scrollCompare {
    display: none;
    top: 25px;
    margin-left: 15px !important;
}

@media (min-width: 768px) {
    .ev-filter-container {
        flex-direction: row;
        align-items: flex-start;
    }
}


@media (max-width: 350px) {
    .ev-sort-wrapper > label {
        display:none;
    }
}

.ev-mobile-toggle {
    display: block;
    width: 100%;
    padding: 12px;
    background: #06b6d4;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 10px;
}

.ev-mobile-toggle:hover {
    background-color: #1ac6e3;
}

@media (min-width: 768px) {
    .ev-mobile-toggle {
        display: none;
    }
}

.ev-sidebar {
    flex: 0 0 300px;
    background: var(--tools-calc-back-group);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: none;
}

.ev-sidebar.is-open {
    display: block;
}

@media (min-width: 768px) {
    .ev-sidebar {
        display: block !important;
    }
}

.ev-sidebar h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    padding-bottom: 2px;
}

.ev-field-group {
    margin-bottom: 18px;
}

.ev-field-group label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--body-text-default-color);
}

.ev-field-group label span.val-badge {
    color: var(--body-text-default-color);
}

.ev-field-group input[type="text"], 
.ev-field-group input[type="number"], 
.ev-field-group select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
	  color:#000;
}

.ev-field-group input[type="range"] {
    width: 100%;
    accent-color: #06b6d4;
    cursor: pointer;
}

.ev-reset-btn {
    width: 100%;
    padding: 10px;
    background: #06b6d4;
    color: #fff;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.ev-reset-btn:hover {
    background: #1ac6e3;
}

/* Results & Top Bar */
.ev-results {
    flex: 1;
    min-width: 0;
}

.ev-results-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.ev-results-header h2 {
    margin: 0;
    font-size: 22px;
}

.ev-sort-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

.ev-sort-wrapper select {
    padding: 8px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    background-color: #fff;
	  color: #000;
}

@media (max-width: 400px) {
.ev-sort-wrapper select {
    padding: 8px 4px;
}
}

/* Grid & Cards */
.ev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.ev-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.ev-card-image {
    width: 100%;
    height: 180px;
    background: #f7fafc;
    overflow: hidden;
}

.ev-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.ev-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--body-text-default-color);
    font-size: 13px;
}

.ev-card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
	  background: var(--tools-calc-back-group);
}

.ev-card-title {
    font-size: 17px;
    margin: 0 0 5px 0;
}

.ev-card-title a,
.ev-card-title a:visited {
    text-decoration: none;
    color: var(--body-text-default-color) !important;
}

.ev-card-title a:hover {
    color: #06b6d4 !important;
}

.ev-price {
    font-size: 19px;
    font-weight: bold;
    color: var(--accent-light);
    margin-bottom: 12px;
}

.ev-specs-grid {
    list-style: none;
    padding: 10px;
    margin: 0 0 auto 0 !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 11.5px;
    background: var(--tools-calc-back-group);
    border-radius: 6px;
}

.ev-specs-grid li {
    display: flex;
    flex-direction: column;
}

.ev-specs-grid span {
    color: var(--body-text-default-color);
    font-size: 12px;
}

.ev-card-button,
.ev-card-button:visited,
.ev-card-button:active {
    margin-top: 8px !important;
    display: block;
    text-align: center;
    background: #06b6d4 !important;
    color: #ffffff !important;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.2s;
}

.ev-card-button:hover {
    background: #1ac6e3 !important;
    color: #ffffff !important;
}

.ev-load-more-wrapper {
    text-align: center;
    margin-top: 30px;
}

.ev-load-more-btn {
    padding: 12px 28px;
    background: #06b6d4;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.ev-load-more-btn:hover {
    background: #1ac6e3;
}

.ev-loading {
    opacity: 0.4;
    pointer-events: none;
}
	
.ev-checkbox-inline label {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.ev-checkbox-inline input[type="checkbox"] {
    width: auto;
    margin: 0;
}	

.ev-field-group:has(#check-nieuwe-modellen) {
    margin-bottom: 4px;
}

.ev-field-group:has(#check-nieuwe-modellen) {
    margin-top: -15px;
    margin-bottom: 12px;
}

/* --- VERGELIJKER STYLES --- */

.ev-compare-checkbox {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    padding: 8px 10px;
    background: var(--tools-calc-back-group, #f8fafc);
    border: 1px solid #cccccc59;
    border-radius: 6px;
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--body-text-default-color);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.ev-compare-checkbox:hover {
    background-color: var(--tools-menu-back);
}

.ev-compare-checkbox input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    accent-color: #06b6d4;
    cursor: pointer;
}

.ev-compare-bar {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: #868f9edb;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: bottom 0.3s ease-in-out;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.ev-compare-bar.is-visible {
    bottom: 0;
}

.ev-compare-info {
    font-size: 14px;
    font-weight: 600;
}

.ev-compare-actions {
    display: flex;
    gap: 10px;
}

.ev-compare-btn-submit {
    background: #06b6d4;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.ev-compare-btn-clear {
    background: #556782;
    color: #ffffff;
    border: 1px solid #cbd5e0;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
}

.ev-compare-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    overflow-y: auto;
    padding: 100px 20px 40px;
    box-sizing: border-box;
}

.ev-compare-modal.is-open {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.ev-compare-modal-content {
    background: var(--tools-calc-back-group);
    color: var(--body-text-default-color, #000000);
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    padding: 0px 15px 0px 15px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.ev-compare-close {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 7px 5px 5px 5px;
    border-radius: 10px;
    cursor: pointer;
    background-color: #414d58;
    border: 0px !important;
}

.ev-compare-close:hover {
    background-color: #06b6d4 !important;
}

.ev-compare-table {
    width: 100%;
    margin-top: 20px;
}

.ev-compare-table > thead > tr > th {
    text-align: left;
     border-bottom: 2px solid grey !important;   
}

#ev-compare-table-wrapper {
    width: 100%;
    overflow-x: visible !important;
}

.ev-table-scroll-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ev-table-scroll-container > table > tbody > tr> td:nth-child(1) {
    padding-right: 10px;
}

@media (max-width: 1500px) {
    .ev-compare-table th,
    .ev-compare-table td {
        white-space: nowrap;
        padding: 10px 12px;
        min-width: 140px; 
    }

    .ev-compare-table th:first-child,
    .ev-compare-table td:first-child {
        min-width: 120px;
    }
}

@media (max-width: 767px) {
    .ev-compare-bar {
        padding: 8px 14px;
        z-index: 999;
        width: 95%;
        bottom: -100px;
    }

    .ev-compare-info {
        font-size: 12px;
        line-height: 1.2;
    }

    .ev-compare-actions {
        gap: 6px;
    }

    .ev-compare-btn-submit,
    .ev-compare-btn-clear {
        padding: 6px 10px;
        font-size: 12px;
    }

    .ev-compare-modal {
        padding: 80px 10px 20px;
    }

    .ev-compare-modal-content {
        padding: 16px;
    }

    .ev-compare-modal-content h2 {
        font-size: 18px;
        margin-top: 0;
    }

    .ev-compare-table th,
    .ev-compare-table td {
        padding: 8px;
        font-size: 12px;
    }
}

@media (max-width: 500px) {
    .ev-compare-bar {
        padding: 8px 8px;
    }
   .ev-compare-actions {
       gap:3px;
   }
}

.ev-compare-share-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color, #e2e8f0);
    text-align: center;
}

.ev-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #06b6d4;
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.ev-share-button:hover {
    background-color: #0891b2;
    color: #ffffff !important;
}

.ev-share-button:active {
    transform: scale(0.98);
}

.ev-sidebar-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 2px solid #06b6d4;
}

.ev-sidebar-header-row h3 {
    margin: 0 !important;
}

.ev-share-filter-icon-btn {
    background-color: #06b6d4;
	   margin-bottom: 4px;
    border: 0px solid transparent;
    border-radius: 10px;
    padding: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
	   margin-right:-1px;
    transition: background 0.2s;
}

.ev-share-filter-icon-btn:hover {
	  background-color: #1ac6e3;
   transform: scale(1.1);
}

.ev-sidebar-header-row-mobile {
     align-items: center;
    justify-content: space-between;
    margin-right: 0px; 
}

@media (min-width: 768px) {
    .ev-sidebar-header-row-mobile  {
        display: none;
    }
	button#ev-share-filters-side > svg {
		width: 16px;
		height: 16px;
		padding-right:2px;
	}	
}

@media (max-width: 767px) {
    #ev-share-filters-side {
        display: none;
    }
	.ev-share-filter-icon-btn {
		padding: 5px;
		margin-bottom: 1px;
		margin-right:0px;
	}
	button#ev-share-filters > svg {
		width: 22px;
		height: 22px;
	}
}