.mot-checker-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.mot-checker-form {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.search-options {
    margin-bottom: 15px;
}

.search-options label {
    margin-right: 20px;
    cursor: pointer;
}

.search-input {
    display: flex;
    margin-bottom: 15px;
}

#mot-search-input {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
}

#mot-search-button {
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
}

#mot-search-button:hover {
    background-color: #005a87;
}

.mot-loading {
    text-align: center;
    padding: 20px;
}

.mot-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mot-error {
    color: #d63638;
    padding: 10px;
    border: 1px solid #d63638;
    background-color: #fcf0f1;
    border-radius: 4px;
    margin-bottom: 15px;
}

.mot-results {
    background-color: white;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
}

.vehicle-basic-info {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.vehicle-name {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 10px;
}

.vehicle-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.vehicle-detail {
    flex: 1;
    min-width: 150px;
}

.vehicle-detail h4 {
    margin: 0 0 5px;
    color: #666;
    font-size: 14px;
}

.vehicle-detail p {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.mot-test-history h3 {
    font-size: 20px;
    margin: 0 0 15px;
}

.mot-test {
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border-left: 4px solid #ccc;
}

.mot-test.passed {
    border-left-color: #00a32a;
}

.mot-test.failed {
    border-left-color: #d63638;
}

.mot-test-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.mot-test-date {
    font-weight: bold;
}

.mot-test-result {
    font-weight: bold;
}

.mot-test-result.passed {
    color: #00a32a;
}

.mot-test-result.failed {
    color: #d63638;
}

.mot-test-details {
    margin-bottom: 10px;
}

.mot-test-details div {
    margin-bottom: 5px;
}

.mot-test-details span {
    font-weight: bold;
}

.defects-title {
    font-weight: bold;
    margin: 10px 0 5px;
}

.defect-item {
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.defect-item:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d63638;
}

.advisories-title {
    font-weight: bold;
    margin: 10px 0 5px;
}

.advisory-item {
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.advisory-item:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #f0c33c;
}

.no-mot-data {
    text-align: center;
    padding: 30px;
    color: #666;
}

.mileage-summary {
	    margin-bottom: 15px;
	    padding: 10px 12px;
	    border-radius: 4px;
	    font-weight: bold;
	    border-left: 4px solid #ccc;
}

.mileage-summary.mileage-alert {
	    background: #fcf0f1;
	    border-left-color: #d63638;
	    color: #d63638;
}

.mileage-summary.mileage-notice {
	    background: #fef8e7;
	    border-left-color: #f0c33c;
	    color: #8a6d1a;
}

.mileage-summary.mileage-ok {
	    background: #edfaef;
	    border-left-color: #00a32a;
	    color: #00a32a;
}

.mileage-check {
	    margin-top: 5px;
	    padding: 6px 10px;
	    border-radius: 3px;
	    font-size: 0.9em;
	    font-style: italic;
}

.mileage-check.drop {
	    background: #fcf0f1;
	    color: #d63638;
}

.mileage-check.low {
	    background: #fef8e7;
	    color: #8a6d1a;
}