.bus-check-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.bus-check-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.bus-check-header h1 {
    margin-bottom: 5px;
}

.bus-check-header .subtitle {
    opacity: 0.9;
    margin-bottom: 15px;
}

.bus-check-header .user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.bus-check-header .btn-logout {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.bus-check-header .btn-logout:hover {
    background: rgba(255,255,255,0.3);
}

.stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: bold;
    transition: all 0.3s;
}

.step.active .step-circle {
    background: #667eea;
    color: white;
}

.step.completed .step-circle {
    background: #27ae60;
    color: white;
}

.step-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

.step.active .step-label {
    color: #667eea;
}

.form-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.step-content h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group .hint {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 5px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 25px;
}

.form-actions .btn {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
}

.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 5px;
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #f5f6fa;
}

.suggestion-item.no-results {
    color: #7f8c8d;
    cursor: default;
}

.suggestion-item strong {
    color: #2c3e50;
}

.suggestion-meta {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 8px;
    background: #e8eaf6;
    color: #667eea;
    border-radius: 4px;
    font-size: 0.85rem;
    text-transform: capitalize;
}

.suggestion-plate {
    float: right;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.suggestion-item.create-new {
    background: #f0fff4;
    color: #27ae60;
    font-weight: 600;
}

.suggestion-item.create-new:hover {
    background: #e6f9ed;
}

#newVehicleForm {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #667eea;
}

.selected-bus-info {
    background: #f0f3ff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
}

.selected-bus-info p {
    margin: 5px 0;
    color: #2c3e50;
}

.selected-bus-info strong {
    color: #667eea;
}

.incident-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.incident-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.incident-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.incident-card.selected {
    border-color: #27ae60;
    background: #f0fff4;
}

.incident-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.incident-card h3 {
    color: #2c3e50;
    margin-bottom: 8px;
}

.incident-card p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

#incidentForm {
    background: #fff8f0;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
}

.summary-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.summary-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item .label {
    font-weight: 600;
    color: #2c3e50;
}

.summary-item .value {
    color: #555;
}

.error {
    background-color: #fee;
    color: #c0392b;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.success {
    background-color: #efe;
    color: #27ae60;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.btn-primary {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-primary:hover {
    background: #5568d3;
}

.btn-primary:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn-success {
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-success:hover {
    background: #229954;
}

@media (max-width: 768px) {
    .bus-check-header .user-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

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

    .form-actions .btn {
        width: 100%;
    }
}
