/* Wizard Fleet CSS */
.wizard-fleet-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    font-family: var(--uicore-typography--h2-f,"Inter");
}

.wizard-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    gap: 20px;
}



.wizard-step {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    align-items: center;
}

.wizard-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 10px 0 0;
    color: #666;
    font-weight: bold;
    position: relative;
}

.wizard-step.active .wizard-step-number {
    background: #4CAF50;
    color: white;
}

.wizard-step.completed .wizard-step-number {
    background: #3F51B5;
    color: white;
}

.wizard-step.skipped .wizard-step-number {
    background: #9E9E9E;
    color: white;
    text-decoration: line-through;
}

.wizard-step-title {
    color: #666;
    font-size: 14px;
}

.wizard-step.active .wizard-step-title {
    color: #4CAF50;
    font-weight: bold;
}

.wizard-content {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 300px;
}

.wizard-title {
    margin-top: 0;
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.wizard-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

.vehicle-count-options,
.vehicle-type-options,
.fleet-groups,
.solution-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: space-between;
}
.vehicle-type-options{
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
}

.vehicle-count-option,
.vehicle-type-option {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vehicle-type-option {
    padding: 0 !important;
    justify-content: space-between !important;
    align-items: flex-end;
    overflow: hidden;
}

.vehicle-count-option:hover,
.vehicle-type-option:hover {
    border-color: #4CAF50;
}

.vehicle-count-option.selected,
.vehicle-type-option.selected {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

.vehicle-count-option img,
.vehicle-type-option img {
    max-width: 100%;
    height: auto;
}

.fleet-group {
    width: 49%;
    margin-bottom: 20px;
}

.fleet-group-title {
    background-color: #3F51B5;
    color: white;
    padding: 10px 20px;
    border-radius: 5px 5px 0 0;
    margin: 0;
}

.fleet-group-solutions {
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
    padding: 15px;
    background-color: white;
}

.solution-item {
    padding: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.solution-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.solution-checkbox {
    margin-right: 15px;
}

.solution-name {
    flex: 1;
}

.solution-sensor {
    color: #666;
    font-style: italic;
}

.button-group {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 30px;
}

.wizard-button {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.wizard-button.prev {
    background-color: #9E9E9E;
    color: white;
}

.wizard-button.next,
.wizard-button.submit {
    background-color: #4CAF50;
    color: white;
}

.wizard-button.skip {
    background-color: #FF9800;
    color: white;
}

.wizard-button:hover {
    opacity: 0.9;
}

.wizard-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wizard-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 4px solid rgba(76, 175, 80, 0.2);
    border-top-color: #4CAF50;
    animation: spin 1s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* Results page styling */
.wizard-results {
    margin-top: 30px;
}

.wizard-results-section {
    margin-bottom: 40px;
}

.wizard-results-title {
    font-size: 20px;
    color: #3F51B5;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3F51B5;
}

.wizard-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.sensor-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.sensor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sensor-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.sensor-content {
    padding: 15px;
}

.sensor-title {
    font-size: 16px;
    margin: 0 0 10px;
}

.sensor-description {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.sensor-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.sensor-meta-item {
    background: #f1f1f1;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    color: #555;
}

.bg-white {
    background-color: #fff;
}

.text-center {
    text-align: center;
}

.text-xl {
    font-size: 62px;
    line-height: 70px;
    letter-spacing: -5px;
}

.text-lg {
    font-size: 38px;
    line-height: 40px;
    letter-spacing: 0;
}

.text-md {
    font-size: 24px;
    line-height: 26px;
    letter-spacing: 0;
}

.text-sm {
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0;
}

.font-bold {
    font-weight: bold;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.sensors-list.grouped-sensors {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 20px;
}

.sensors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 5px;
    margin-top: 10px;
}

.sensor-group {
    background: white;
    border-radius: 24px;
    padding: 25px;
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px 30px 0;
}

.select-all-group {
    display: flex;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    color: #4CAF50;
    font-weight: 500;
}

.select-all-group input {
    margin-right: 5px;
}

.sensor-group .group-title{
    font-size: 24px;
    line-height: 26px;
    letter-spacing: 0;
    margin: 0;
    font-weight: 500;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .wizard-steps {
        flex-direction: column;
        align-items: flex-start;
    }

    .wizard-step {
        display: flex;
        align-items: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .wizard-step-number {
        margin: 0 15px 0 0;
    }

    .vehicle-count-options,
    .vehicle-type-options {
        justify-content: center;
    }

    .button-group {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .wizard-button {
        width: 100%;
    }
}