.iqf-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.iqf-step {
    display: none;
    padding: 20px 0;
}

.iqf-step:first-of-type {
    display: block;
}

.iqf-step h3 {
    margin: 0 0 20px;
    color: #333;
    font-size: 24px;
    text-align: center;
}

.iqf-field {
    margin-bottom: 20px;
}

.iqf-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.iqf-field input,
.iqf-field select,
.iqf-field textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.iqf-field input:focus,
.iqf-field select:focus,
.iqf-field textarea:focus {
    outline: none;
    border-color: #007bff;
}

.iqf-field .required {
    color: #dc3545;
}

/* Vehicle Grid */
.iqf-vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.iqf-vehicle-item {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.iqf-vehicle-item:hover {
    border-color: #007bff;
}

.iqf-vehicle-item.selected {
    border-color: #007bff;
    background: #f0f7ff;
}

.iqf-vehicle-item img {
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.iqf-vehicle-item .name {
    font-weight: 600;
    color: #333;
}

.iqf-vehicle-item .capacity {
    color: #666;
    font-size: 14px;
}

.iqf-not-sure {
    text-align: center;
    padding: 15px;
}

.iqf-not-sure label {
    font-size: 16px;
    cursor: pointer;
}

/* Categories */
.iqf-categories {
    margin-bottom: 20px;
}

.iqf-category {
    margin-bottom: 20px;
}

.iqf-category h4 {
    margin: 0 0 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.iqf-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.iqf-item {
    padding: 10px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    text-align: center;
}

.iqf-item-name {
    font-weight: 500;
    margin-bottom: 5px;
}

.iqf-item-volume {
    color: #666;
    font-size: 12px;
    margin-bottom: 5px;
}

.iqf-item-qty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.iqf-qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.iqf-qty-btn:hover {
    background: #f8f9fa;
}

.iqf-qty-input {
    width: 40px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 5px;
}

.iqf-total {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 18px;
}

/* Navigation */
.iqf-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.iqf-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.iqf-next,
.iqf-submit {
    background: #28a745;
    color: #fff;
}

.iqf-next:hover,
.iqf-submit:hover {
    background: #218838;
}

.iqf-prev {
    background: #6c757d;
    color: #fff;
}

.iqf-prev:hover {
    background: #5a6268;
}

.iqf-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Message */
#iqf-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    display: none;
}

#iqf-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
}

#iqf-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

@media (max-width: 480px) {
    .iqf-vehicle-grid,
    .iqf-items-grid {
        grid-template-columns: 1fr 1fr;
    }
}