* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border 0.3s;
}

input:focus {
    border-color: #667eea;
    outline: none;
}

button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
    width: 100%;
    font-weight: bold;
}

button:hover {
    transform: translateY(-2px);
}

.demo-credentials {
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

/* Dashboard Styles */
.dashboard {
    width: 100%;
    max-width: 1200px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.logout-btn {
    width: auto;
    padding: 10px 25px;
    background: #ff6b6b;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.car-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #e9ecef;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.car-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.car-name {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.car-spec {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.spec-label {
    font-weight: bold;
    color: #666;
}

.spec-value {
    color: #333;
}

.country-badge {
    display: inline-block;
    padding: 5px 15px;
    background: #667eea;
    color: white;
    border-radius: 20px;
    font-size: 14px;
    margin-top: 10px;
}

/* ====== SEARCH SECTION ====== */
.search-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

/* Main search container */
.search-container {
    display: inline-flex;
    background: white;
    border-radius: 50px;
    padding: 5px;
    border: 2px solid #ddd;
    transition: all 0.3s;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.search-container:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.3);
}

/* Search box inside container */
.search-box {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 5px;
}

/* Search input - LARGE typing area */
.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
    color: #333;
    background: white;
    font-family: 'Arial', sans-serif;
    min-width: 300px;
}

.search-box input::placeholder {
    color: #888;
}

.search-box input:focus {
    outline: none;
    box-shadow: none;
}

/* Search button - SMALL/COMPACT */
.search-box button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 14px;
    min-width: 80px;
    flex-shrink: 0; /* Don't shrink button */
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Search icon */
.search-icon {
    color: #667eea;
    margin: 0 10px;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.result-count {
    color: #666;
    font-size: 14px;
    text-align: center;
    margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-container {
        max-width: 100%;
        padding: 4px;
    }
    
    .search-box input {
        padding: 10px 15px;
        font-size: 14px;
        min-width: auto;
    }
    
    .search-box button {
        padding: 8px 12px;
        font-size: 13px;
        min-width: 70px;
    }
    
    .cars-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}
/* ====== STATS SECTION ====== */
.stats {
    text-align: center;
    margin: 25px 0 35px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-left: 5px solid #667eea;
}

.stats h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 26px;
    font-weight: 600;
}

.stats h2 span {
    color: #667eea;
    font-weight: 700;
}

.stats p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}
