
.car-color-results .compact-filter-form-wrapper {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}
.car-color-results .compact-filter-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}
.car-color-results .compact-filter-group {
    flex: 1;
    min-width: 150px;
}
.car-color-results .compact-search-group {
    flex: 2;
    min-width: 250px;
}
.car-color-results .compact-filter-select,
.car-color-results .compact-search-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background-color: #f9fafb;
    font-size: 14px;
    box-sizing: border-box;
    margin: 0;
    height: 44px;
    transition: all 0.2s ease;
}
.car-color-results .compact-filter-select:focus,
.car-color-results .compact-search-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.car-color-results .compact-clear-btn {
    height: 44px;
    padding: 0 20px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #4b5563;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
.car-color-results .compact-clear-btn:hover {
    background: #e5e7eb;
    color: #dc2626;
}
.car-color-results-count {
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 20px;
    padding-left: 5px;
}
.compact-filter-section { background: white; border-radius: 12px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); margin: 3px !important; padding: 20px; border: 1px solid #e5e7eb; position: relative; transition: all 0.3s ease; }
.compact-filter-section:hover { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
.compact-filter-form-wrapper.centered-filter { display: flex; justify-content: center; }
.compact-filter-form { width: 100%; max-width: 1000px; }
.compact-filter-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.compact-filter-row.centered-row { justify-content: center; }
.compact-filter-group { flex: 1; min-width: 0; position: relative; }
.compact-search-group { flex: 2; min-width: 200px; }
.search-input-wrapper { position: relative; width: 100%; }
.compact-search-input { width: 100%; padding: 10px 12px; font-size: 14px; color: #111827; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; transition: all 0.2s ease; font-weight: 400; }
.compact-filter-select { width: 100%; padding: 10px 12px; font-size: 14px; color: #111827; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; appearance: none; cursor: pointer; transition: all 0.2s ease; font-weight: 400; }
.compact-filter-select:disabled { background-color: #f3f4f6; color: #9ca3af; cursor: not-allowed; opacity: 0.7; }
.compact-find-colors-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; background: linear-gradient(to right, #f9493c, #e42d68); color: white; border: none; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; height: 40px; min-width: 140px; }
.compact-find-colors-btn:hover { background: linear-gradient(to right, #e42d68, #f9493c); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(228, 45, 104, 0.3); }
.car-color-filter-compact { max-width: 1200px; margin: 0 auto; }
.brand-section-compact { margin-bottom: 30px; }
.brand-title-compact { font-size: 18px; color: #1f2937; margin: 0 0 15px 0; font-weight: 600; padding-bottom: 10px; border-bottom: 2px solid #f3f4f6;}
.car-color-grid-pro { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 15px; }
@media (max-width: 1200px) { .car-color-grid-pro { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 992px) { .car-color-grid-pro { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .car-color-grid-pro { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .car-color-grid-pro { grid-template-columns: repeat(1, 1fr); gap: 12px; } }
.car-color-card-pro { min-height: 220px; background: transparent; border: none; border-radius: 8px; overflow: visible; transition: all 0.3s ease; display: flex; flex-direction: column; position: relative; box-shadow: none; }
.car-color-card-pro:hover { transform: translateY(-4px); }
.color-image-container { width: 100%; height: 220px; display: block; position: relative; overflow: hidden; text-align: center; }
.color-image-container img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.car-color-card-pro:hover .color-image-container img { transform: scale(1.05); }
.no-image-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #f8fafc; color: #94a3b8; font-size: 12px; border-radius: 8px; }
.color-select-button { padding: 12px 0; background: transparent; margin-top: auto; position: relative; z-index: 2; height: 60px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.select-btn { width: 100%; padding: 10px 16px; background: #fff; color: #374151; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); height: 100%; box-sizing: border-box; }
.car-color-card-pro:hover .select-btn { background: linear-gradient(to right, #f9493c, #e42d68); color: white; border-color: transparent; box-shadow: 0 4px 12px rgba(228, 45, 104, 0.3); }
.car-color-card-pro.clickable-card { cursor: pointer; }
.car-color-no-results-wrapper { width: 100%; display: flex; justify-content: center; align-items: center; margin: 40px 0; grid-column: 1 / -1; }
.car-color-no-results { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; background: #f8fafc; border-radius: 12px; border: 2px dashed #cbd5e1; width: 100%; max-width: 450px; margin: 0 auto; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
.car-color-no-results h4 { font-size: 18px; margin: 0 0 16px 0; color: #475569; font-weight: 600; }
.btn-primary { background: #2563eb; color: white; padding: 10px 20px; border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 500; transition: background 0.2s ease; }
.btn-primary:hover { background: #1d4ed8; }
.filtered-results-container { margin-top: 20px; min-height: 200px; position: relative; }
.results-loading { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.9); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; opacity: 0; visibility: hidden; transition: all 0.2s ease; z-index: 10; border-radius: 8px; }
.results-loading.active { opacity: 1; visibility: visible; }
.loading-spinner { width: 30px; height: 30px; border: 3px solid #e5e7eb; border-top-color: #667eea; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.main-content-container { background: white; border-radius: 12px; padding: 25px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); border: 1px solid #e5e7eb; }
@media (max-width: 992px) {
    .car-color-results .compact-filter-row,
    .compact-filter-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .compact-search-group,
    .car-color-results .compact-search-group { grid-column: 1 / -1; min-width: 100%; }
    .compact-find-colors-btn, .compact-clear-btn { width: 100%; justify-content: center; }
}
@media (max-width: 768px) {
    .compact-filter-section, .car-color-results .compact-filter-form-wrapper { padding: 15px !important; margin: 3px !important; }
    .compact-filter-row, .car-color-results .compact-filter-row { flex-direction: column; gap: 10px; }
    .compact-filter-group, .car-color-results .compact-filter-group { width: 100%; min-width: 100%; }
}
