/* Premium Frontend Styles for Car Auction */
.supertrans-auction-car-search-container {
    max-width: 1200px;
    margin: 40px auto;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}

.supertrans-premium-form {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.supertrans-premium-form label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1a2a44;
}

.input-with-button {
    display: flex;
    gap: 10px;
}

.input-with-button input {
    flex-grow: 1;
    padding: 12px 20px;
    border: 2px solid #e1e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-with-button input:focus {
    border-color: #1a2a44;
    outline: none;
}

.input-with-button button {
    padding: 0 30px;
    background: #1a2a44;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

.input-with-button button:hover {
    opacity: 0.9;
}

/* Results Display */
.supertrans-car-display {
    display: flex;
    gap: 30px;
    background: #fdfdfd;
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
}

.supertrans-details-column {
    flex: 0 0 300px;
    background: #fff;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 8px;
    height: fit-content;
}

.supertrans-details-column h3 {
    margin-top: 0;
    color: #1a2a44;
    font-size: 1.4rem;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f4f8;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.95rem;
}

.details-list li strong {
    color: #1a2a44;
    display: inline-block;
    width: 140px;
}

.supertrans-photos-column {
    flex: 1;
    background: #fff;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.supertrans-photos-column h3 {
    margin-top: 0;
    color: #1a2a44;
    font-size: 1.4rem;
    margin-bottom: 25px;
}

.photo-gallery-section h4 {
    color: #1a2a44;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #1a2a44;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.gallery-img-link {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #eee;
}

.gallery-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-img-link:hover img {
    transform: scale(1.05);
}

.download-action {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid #f0f4f8;
}

.download-action h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.category-download {
    margin: -15px 0 30px 0;
    text-align: right;
}

.supertrans-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, transform 0.1s;
}

.supertrans-btn:active {
    transform: translateY(1px);
}

.download-btn {
    background: #e53935;
    color: #fff !important;
}

.download-btn:hover {
    background: #c62828;
}

.download-btn-mini {
    background: #f0f4f8;
    color: #1a2a44 !important;
    padding: 8px 15px;
    font-size: 0.85rem;
    border: 1px solid #d1d9e2;
}

.download-btn-mini:hover {
    background: #e1e8f0;
}

/* Loading/Error states */
.loading {
    border-left: 3px solid #3498db;
    padding: 10px;
    background: #eef7fd;
}

.error {
    border-left: 3px solid #e74c3c;
    padding: 10px;
    background: #fdf2f2;
}

@media (max-width: 900px) {
    .supertrans-car-display {
        flex-direction: column;
    }

    .supertrans-details-column {
        flex: none;
        width: auto;
    }
}