/* Insurance Quote Modal Styles */

/* iwyze Banner Styles */
.iwyze-banner {
    background: #fafafa;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid #e5e7eb;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.banner-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.iwyze-logo {
    height: 50px;
    width: auto;
    margin-bottom: 8px;
}

.iwyze-tagline {
    font-size: 14px;
    color: #6b7280;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Step Progress Styles */
.step-progress {
    margin-bottom: 30px;
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #25b865;
    color: white;
}

.step.completed .step-number {
    background: #25b865;
    color: white;
}

.step-label {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-align: center;
}

.step.active .step-label {
    color: #25b865;
    font-weight: 600;
}

.step.completed .step-label {
    color: #25b865;
    font-weight: 600;
}

.step-line {
    width: 60px;
    height: 2px;
    background: #e5e7eb;
    transition: all 0.3s ease;
}

.step-line.completed {
    background: #25b865;
}

/* Step Content Styles */
.step-content {
    min-height: 300px;
}

/* Custom Checkbox Styles */
.custom-checkbox {
    margin-top: 15px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
    color: #374151;
    font-weight: 500;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #ffffff;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: #9ca3af;
    background-color: #f9fafb;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #25b865;
    border-color: #25b865;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 8px;
    top: 4px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Custom button styles matching the design */
.btn-call-back {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    color: #000000;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 0.5px;
    min-width: 140px;
}

.btn-call-back:hover {
    background-color: #f8f9fa;
    border-color: #9ca3af;
    color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-call-back:focus {
    box-shadow: 0 0 0 3px rgba(209, 213, 219, 0.3);
}

.btn-start-quote {
    background: linear-gradient(90deg, #25b865 0%, #1c8e4e 100%);
    border: none;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-width: 140px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-start-quote:hover {
    background: linear-gradient(90deg, #1c8e4e 0%, #147a3f 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 184, 101, 0.3);
}

.btn-start-quote:focus {
    box-shadow: 0 0 0 3px rgba(37, 184, 101, 0.3);
}

.btn-start-quote:disabled {
    background: linear-gradient(90deg, #9ca3af 0%, #6b7280 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-start-quote:disabled:hover {
    background: linear-gradient(90deg, #9ca3af 0%, #6b7280 100%);
    transform: none;
    box-shadow: none;
}

/* Vehicle Selection Styles */
.vehicle-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.vehicle-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
    overflow: hidden;
}

.vehicle-card:hover {
    border-color: #25b865;
    box-shadow: 0 4px 12px rgba(37, 184, 101, 0.15);
    transform: translateY(-2px);
}

.vehicle-checkbox {
    display: block;
    margin: 0;
    cursor: pointer;
    padding: 0;
}

.vehicle-checkbox input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    margin: 0;
    padding: 0;
}

.vehicle-info {
    padding: 20px;
    position: relative;
}

.vehicle-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #25b865 0%, #1c8e4e 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.vehicle-checkbox input[type="radio"]:checked + .vehicle-info::before {
    opacity: 0.1;
}

.vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.vehicle-license {
    font-weight: 600;
    font-size: 16px;
    color: #374151;
}

.vehicle-year {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.vehicle-details {
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.vehicle-make-model {
    font-size: 14px;
    color: #4b5563;
    font-weight: 500;
}

.vehicle-type {
    position: relative;
    z-index: 2;
}

.vehicle-type .badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    background: #e5e7eb;
    color: #374151;
}

.vehicle-checkbox input[type="radio"]:checked + .vehicle-info .vehicle-license {
    color: #25b865;
    font-weight: 700;
}

.vehicle-checkbox input[type="radio"]:checked + .vehicle-info .vehicle-type .badge {
    background: #25b865;
    color: #ffffff;
}

/* Step Navigation Styles */
.step-navigation {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .banner-content {
        padding: 15px;
    }
    
    .iwyze-logo {
        height: 40px;
    }
    
    .iwyze-tagline {
        font-size: 12px;
    }
    
    .d-flex.justify-content-center.align-items-center.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .btn-call-back,
    .btn-start-quote {
        width: 100%;
        max-width: 280px;
    }
    
    .checkbox-container {
        font-size: 14px;
    }
    
    .checkmark {
        height: 20px;
        width: 20px;
    }
    
    .checkbox-container .checkmark:after {
        left: 6px;
        top: 3px;
        width: 5px;
        height: 8px;
    }
    
    .vehicle-selection-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .vehicle-info {
        padding: 15px;
    }
    
    .vehicle-license {
        font-size: 14px;
    }
    
    .vehicle-make-model {
        font-size: 13px;
    }

    .step-indicator {
        gap: 10px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .step-label {
        font-size: 10px;
    }

    .step-line {
        width: 40px;
    }
}

/* No Vehicle Modal Styles */
#noVehicleModal .modal-header {
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    border-bottom: none;
}

#noVehicleModal .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

#noVehicleModal .modal-body {
    padding: 2rem;
}

#noVehicleModal .modal-body i.nc-delivery-fast {
    font-size: 4rem;
    color: #ffc107;
    margin-bottom: 1rem;
}

#noVehicleModal .modal-body h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

#noVehicleModal .modal-body p {
    font-size: 1rem;
    line-height: 1.6;
    color: #6b7280;
}

#noVehicleModal .alert-info {
    background-color: #f0f9ff;
    border-color: #0ea5e9;
    color: #0c4a6e;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

#noVehicleModal .alert-info i {
    color: #0ea5e9;
    margin-right: 0.5rem;
}

#noVehicleModal .modal-footer {
    border-top: none;
    padding: 1.5rem 2rem 2rem;
    justify-content: center;
}

#noVehicleModal .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#noVehicleModal .btn-success {
    background: linear-gradient(135deg, #25b865 0%, #1e8f4f 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(37, 184, 101, 0.3);
}

#noVehicleModal .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 184, 101, 0.4);
}

#noVehicleModal .btn-secondary {
    background: #6b7280;
    border: none;
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

#noVehicleModal .btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(107, 114, 128, 0.4);
}

/* Responsive styles for no vehicle modal */
@media (max-width: 768px) {
    #noVehicleModal .modal-dialog {
        margin: 1rem;
    }
    
    #noVehicleModal .modal-body {
        padding: 1.5rem;
    }
    
    #noVehicleModal .modal-footer {
        padding: 1rem 1.5rem 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    #noVehicleModal .btn-lg {
        width: 100%;
        margin: 0;
    }
    
    #noVehicleModal .modal-body i.nc-delivery-fast {
        font-size: 3rem;
    }
}
