/* Customer Portal Styles */

/* Global: Remove text decoration from all buttons and links */
button,
a,
.btn,
.btn-primary,
.btn-secondary,
.btn-orange-primary {
    text-decoration: none !important;
}

button:hover,
a:hover,
.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-orange-primary:hover {
    text-decoration: none !important;
}

/* Primary Button - Reusable */
.btn-orange-primary,
.btn-uniform {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    color: #fff !important;
    background: linear-gradient(to right, #FF3D34, #FF864A) !important;
    box-shadow: 0 2px 8px rgba(255, 61, 52, 0.3) !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    text-decoration: none !important;
    justify-content: center !important;
}

.btn-orange-primary:hover,
.btn-uniform:hover {
    background: linear-gradient(to right, #FF864A, #FF3D34) !important;
    box-shadow: 0 4px 12px rgba(255, 61, 52, 0.5) !important;
    transform: translateY(-2px) !important;
    color: #fff !important;
    text-decoration: none !important;
}

.btn-orange-primary:active,
.btn-uniform:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(255, 61, 52, 0.4) !important;
}



/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 0;
}

.progress-steps .step {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    background: #e9ecef;
    margin: 0 5px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.progress-steps .step.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

.progress-steps .step.completed {
    background: var(--success-color);
    color: white;
}

/* Category Cards */
.category-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    border-color: var(--primary-color);
}

.category-card.selected {
    border: 2px solid var(--primary-color);
    background: #ffffff;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}





.service-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #E2E8F0;
    padding: 2rem;
    border-radius: 1rem;
    background: #FFFFFF;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #FF864A;
}

.service-card.selected {
    border-color: #FF3D34;
    background: linear-gradient(135deg, rgba(255, 61, 52, 0.05), rgba(255, 134, 74, 0.05));
    box-shadow: 0 8px 16px rgba(255, 61, 52, 0.2);
}

.icon-orange {
    color: #FF3D34;
}


/* Time Slot Selection */
.time-slot {
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.time-slot:hover {
    border-color: var(--primary-color);
    background: #f0f8ff;
}

.time-slot.selected {
    border-color: var(--success-color);
    background: var(--success-color);
    color: white;
}

.time-slot.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
}

/* Price Summary */
.price-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 0px solid #dee2e6;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}


/* Booking Status Badges */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background: #d1ecf1;
    color: #0c5460;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .progress-steps {
        flex-wrap: wrap;
    }
    
    .progress-steps .step {
        font-size: 0.75rem;
        padding: 8px 5px;
        margin: 2px;
    }
    
    .price-summary {
        padding: 15px;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(13, 110, 253, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form Enhancements */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #0b5ed7;
    border-color: #0a58ca;
}

/* Vehicle Card */
.vehicle-card {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.vehicle-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.vehicle-card.selected {
    border-color: var(--primary-color);
    background: #f0f8ff;
}

.vehicle-badge {
    background: var(--info-color);
    color: #000;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}



    /* Form Elements */
    .form-grid { 
        display: grid; 
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
        gap: 1rem;
        border: none !important;
    }
    .form-group { 
        margin-bottom: 1rem; 
    }
    .form-label { 
        display: block; 
        font-size: 0.875rem; 
        font-weight: 600; 
        color: #1E293B; 
        margin-bottom: 0.5rem; 
    }
    .form-control, .input-orange {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 2px solid #E2E8F0;
        border-radius: 0.5rem;
        font-size: 0.875rem;
        transition: all 0.2s;
        background: #FFF7ED;
    }
    .form-control:focus, .input-orange:focus {
        outline: none;
        border-color: #FF3D34;
        box-shadow: 0 0 0 2px rgba(255, 61, 52, 0.10);
        background: #FFF7ED;
    }
    /* Autofill styles */
    input.form-control:-webkit-autofill,
    input.input-orange:-webkit-autofill,
    input.form-control:-webkit-autofill:hover,
    input.input-orange:-webkit-autofill:hover,
    input.form-control:-webkit-autofill:focus,
    input.input-orange:-webkit-autofill:focus,
    input.form-control:-webkit-autofill:active,
    input.input-orange:-webkit-autofill:active {
        -webkit-box-shadow: 0 0 0px 1000px #FFF7ED inset !important;
        -webkit-text-fill-color: black !important;
        background-color: #FFF7ED !important;
        transition: background-color 5000s ease-in-out 0s;
    }

    /* Dropdown/Select Option Hover Styles */
    select.form-control option:hover,
    select.input-orange option:hover {
        background: linear-gradient(to right, #FF3D34, #FF864A) !important;
        color: white !important;
    }
    
    select.form-control option:checked,
    select.input-orange option:checked {
        background: linear-gradient(to right, #FF3D34, #FF864A) !important;
        color: white !important;
    }

   