/*
Theme Name: Yakuza Dealers
Theme URI: https://kingpin.yakuzaev.com/
Author: Yakuza E-Vehicles
Author URI: https://yakuzaev.com/
Description: Custom dealer listing theme with password protected search by state and district wise.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom, dealer, search, responsive, Yakuza E-Vehicles, Yakuza 
Text Domain: yakuza-dealers
*/

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fafafa;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    border-radius: 8px;
}

h1 {
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    margin-top: 12px;
    color: #34495e;
}

select, button, input[type="password"] {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

select:focus, input[type="password"]:focus {
    border-color: #2980b9;
    outline: none;
}

button {
    background-color: #2980b9;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #1c5980;
}

#dealer-results {
    margin-top: 30px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

th, td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #2980b9;
    color: white;
    font-weight: 700;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

.message {
    font-style: italic;
    color: #666;
    text-align: center;
    margin-top: 30px;
}

@media (max-width: 600px) {
    .container {
        margin: 10px;
        padding: 15px;
    }
    th, td {
        padding: 8px 10px;
    }
}
/* Dealer status colors */
.dealer-status-active {
    color: green;
    font-weight: bold;
}

.dealer-status-suspended {
    color: red;
    font-weight: bold;
}