.tka-customer-submission-wizard__panel {
    min-height: 20rem;
}

.tka-customer-submission-stepper__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

.tka-customer-submission-stepper__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.tka-customer-submission-stepper__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    font-weight: 700;
    background: var(--bs-gray-200);
    color: var(--bs-gray-700);
}

.tka-customer-submission-stepper__item--current .tka-customer-submission-stepper__badge {
    background: var(--bs-primary);
    color: #fff;
}

.tka-customer-submission-stepper__item--completed .tka-customer-submission-stepper__badge {
    background: var(--bs-success);
    color: #fff;
}

.tka-customer-submission-stepper__label {
    font-size: 0.75rem;
    color: var(--bs-gray-700);
}

.tka-device-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
    gap: 1rem;
}

.tka-device-type-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 8rem;
    padding: 1rem;
    border: 1px dashed var(--bs-gray-300);
    border-radius: 0.75rem;
    background: var(--bs-body-bg);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.tka-device-type-tile.is-selected,
.tka-device-type-tile:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.06);
}

.tka-device-type-tile__label {
    font-weight: 600;
    text-align: center;
}

.tka-customer-problem-textarea {
    min-height: 12rem;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 767.98px) {
    .tka-customer-submission-stepper__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

[data-bs-theme="dark"] .tka-customer-submission-stepper__label,
[data-bs-theme="dark"] .tka-customer-submission-success .text-gray-700 {
    color: var(--bs-gray-800) !important;
}

[data-bs-theme="dark"] .tka-device-type-tile {
    border-color: var(--bs-gray-300);
    background: var(--bs-gray-100);
}

[data-bs-theme="dark"] .tka-customer-submission-summary {
    background: var(--bs-gray-100) !important;
}
