* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    padding: 20px;
   font-size:16px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

header {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
}

header h1 {
    font-size: 1.8em;
    margin-bottom: 8px;
    color: #2c3e50;
}

.subtitle {
    font-size: 0.9em;
    color: #7f8c8d;
}

.upload-section {
    display: none;
}

.search-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e1e8ed;
}

.search-box {
    display: flex;
    gap: 10px;
}

#searchInput {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9em;
}

#searchInput:focus {
    outline: none;
    border-color: #3498db;
}

#searchBtn {
    padding: 10px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9em;
    cursor: pointer;
}

#searchBtn:hover {
    background: #2980b9;
}

.result-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e1e8ed;
}

.result-section h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1em;
    font-weight: 600;
}

#resultCount {
    color: #7f8c8d;
    font-size: 0.85em;
    font-weight: normal;
}

.result-card {
    background: white;
    border:1px solid #e1e8ed;
    border-left: 4px solid #3498dbd;
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    box-shadow:0 2px 8px rgba(52,152,219,0.1);
    transition:all 0.3s ease;
}

.result-header {
    display: flex;
    justify-content:space-between ;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.car-model {
    font-size: 1em;
    font-weight: 700;
    color:#2c3e50;
    text-flign:center;
}

.car-year {
    background: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight:600;
    text-align:center;
}

.result-details {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.detail-item {
    display: flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    padding:6px 0;
    border-bottom:1px solid #f8f9fa;   
}

.detail-label {
    font-size: 0.8em;
    color: #7f8c8d;
    font-weight:500;
    text-align:center;
    margin-fight:8px;
}

.detail-value {
    font-size: 0.9em;
    font-weight: 600;
    color: #3498db;
  
}

.no-result {
    background: white;
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e1e8ed;
}

.no-result p {
    font-size: 1em;
    color: #7f8c8d;
    margin-bottom: 8px;
}

.no-result .hint {
    font-size: 0.85em;
    color: #95a5a6;
}

.data-info {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
        font-size:17px
    }
    
    header h1 {
        font-size: 1.7em;
    }

    .search-box {
        flex-direction: column;
    }

    .result-header {
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
        margin-bottom:8px;
    }

    .result-details {
        grid-template-columns:repeat(2,1fr);
        gap:8px;
}
    .detail-item{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    padding:6px 0;
    border-bottom:1px solid #e8e8e8;
}
   .car-model {
      font-size:1.1em;
 }
}
    .detail-label {
    font-size:0.85em;
}
    .detail-value {
     font-size:1em;
}
    #searchInput {
    font-size:16px;
    min-height:44px;
}
    #searchBtn{
    font-size:16px;
    min-height:44px;
}
    }
}
