/* ==========================================
   Dealer API Lookup Styles
========================================== */

.dealer-lookup-wrapper {
    max-width: 800px;
    margin: 30px auto;
}

.dealer-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.dealer-form select,
.dealer-form input {
    flex: 1;
    min-width: 220px;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.dealer-form button {
    height: 50px;
    padding: 0 30px;
    border: none;
    border-radius: 8px;
    background: #e91e63;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s ease;
}

.dealer-form button:hover {
    opacity: 0.9;
}

/* ==========================================
   Result Page
========================================== */

.dealer-result-page {
    max-width: 900px;
    margin: 40px auto;
}

.dealer-card {
    background: #B6820C;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.dealer-card h1,
.dealer-card h2 {
    margin-bottom: 20px;
}

.dealer-card p {
    margin-bottom: 12px;
    line-height: 1.7;
}

/* ==========================================
   Not Found
========================================== */

.dealer-not-found {
    max-width: 700px;
    margin: 50px auto;
    padding: 40px;
    background: #fff;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.dealer-not-found h2 {
    color: #d32f2f;
    margin-bottom: 15px;
}

.dealer-not-found p {
    margin: 0;
}

/* ==========================================
   Responsive
========================================== */

@media (max-width: 768px) {

    .dealer-form {
        flex-direction: column;
    }

    .dealer-form select,
    .dealer-form input,
    .dealer-form button {
        width: 100%;
    }
}