/* =====================================================
   SIEM Vehicular - Scheduling System Styles
   ===================================================== */

/* ---------- Vehicle Gallery ---------- */
.vehicle-gallery {
    padding: 3rem 0 5rem;
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(227, 30, 36, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.05em;
}

/* ---------- Hero Car Image ---------- */
.hero-car-image {
    position: absolute;
    bottom: 0;
    right: -5%;
    width: 55%;
    max-width: 750px;
    z-index: 1;
    opacity: 0.15;
    mask-image: linear-gradient(to top, transparent 0%, black 30%, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 30%, black 70%, transparent 100%);
    pointer-events: none;
}

.hero-car-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ---------- About Real Image ---------- */
.about-real-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

/* ---------- Scheduling Section ---------- */
.scheduling {
    padding: 7rem 0;
    position: relative;
    z-index: 1;
}

/* Progress Steps */
.sched-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.sched-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.sched-step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.sched-step.active .sched-step-circle {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(227, 30, 36, 0.3);
}

.sched-step.completed .sched-step-circle {
    background: #22c55e;
    border-color: #22c55e;
    color: white;
}

.sched-step span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.sched-step.active span,
.sched-step.completed span {
    color: var(--text-primary);
}

.sched-step-line {
    width: 80px;
    height: 2px;
    background: var(--border);
    margin: 0 0.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.sched-step-line.active {
    background: var(--gradient-primary);
}

/* Panel Container */
.sched-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.sched-panel {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    animation: schedFadeIn 0.4s ease;
}

.sched-panel.active {
    display: block;
}

@keyframes schedFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.sched-panel-header {
    margin-bottom: 2rem;
}

.sched-panel-header h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sched-panel-header h3 i {
    color: var(--primary);
}

.sched-panel-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Search Box */
.sched-search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.sched-search-box > i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 2;
}

.sched-search-box input {
    width: 100%;
    padding: 1rem 3rem 1rem 2.8rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.sched-search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.sched-search-box input::placeholder {
    color: var(--text-muted);
}

.sched-search-clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.3rem;
    z-index: 2;
}

.sched-search-clear:hover {
    color: var(--primary);
}

/* Search Results Dropdown */
.sched-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.sched-search-results.active {
    display: block;
}

.sched-search-result-item {
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.sched-search-result-item:last-child {
    border-bottom: none;
}

.sched-search-result-item:hover {
    background: rgba(227, 30, 36, 0.08);
}

.sched-search-result-item i {
    color: var(--primary);
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.sched-search-result-item .result-brand {
    font-weight: 600;
    color: var(--text-primary);
}

.sched-search-result-item .result-model {
    color: var(--text-secondary);
}

.sched-search-result-item .result-type {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
    background: rgba(255,255,255,0.05);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
}

.search-no-results {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Divider */
.sched-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.sched-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--border);
}

.sched-divider span {
    position: relative;
    background: var(--bg-card);
    padding: 0 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Custom Selects */
.sched-vehicle-selectors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.sched-select-group label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sched-select-group label i {
    color: var(--primary);
    font-size: 0.75rem;
}

.sched-custom-select {
    position: relative;
}

.sched-custom-select.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.sched-select-trigger {
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.sched-select-trigger:hover {
    border-color: rgba(227, 30, 36, 0.3);
}

.sched-select-trigger.selected {
    color: var(--text-primary);
    border-color: var(--primary);
}

.sched-select-trigger i {
    font-size: 0.7rem;
    transition: var(--transition);
}

.sched-custom-select.open .sched-select-trigger i {
    transform: rotate(180deg);
}

.sched-select-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    max-height: 250px;
    overflow-y: auto;
    z-index: 50;
    display: none;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.sched-custom-select.open .sched-select-options {
    display: block;
}

.sched-select-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.sched-select-option:hover {
    background: rgba(227, 30, 36, 0.08);
    color: var(--text-primary);
}

.sched-select-option.selected {
    background: rgba(227, 30, 36, 0.1);
    color: var(--primary);
    font-weight: 600;
}

/* Vehicle Summary */
.sched-vehicle-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(227, 30, 36, 0.06);
    border: 1px solid rgba(227, 30, 36, 0.2);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.sched-vehicle-summary-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.sched-vehicle-summary-info strong {
    display: block;
    font-size: 1rem;
}

.sched-vehicle-summary-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.sched-change-btn {
    margin-left: auto;
    padding: 0.4rem 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.sched-change-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Patent Field */
.sched-patent-field {
    margin-bottom: 1.5rem;
}

.sched-patent-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sched-patent-field .optional {
    color: var(--text-muted);
    text-transform: none;
    font-weight: 400;
}

.sched-patent-input {
    width: 180px;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    outline: none;
    transition: var(--transition);
}

.sched-patent-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

/* Actions */
.sched-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.sched-next-btn:disabled,
.sched-confirm-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Services Grid */
.sched-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sched-service-card {
    padding: 1.2rem;
    background: rgba(255,255,255,0.02);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.sched-service-card:hover {
    border-color: rgba(227, 30, 36, 0.3);
    background: rgba(227, 30, 36, 0.03);
}

.sched-service-card.selected {
    border-color: var(--primary);
    background: rgba(227, 30, 36, 0.08);
    box-shadow: 0 0 15px rgba(227, 30, 36, 0.1);
}

.sched-service-card .svc-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.6rem;
    background: rgba(227, 30, 36, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    transition: var(--transition);
}

.sched-service-card.selected .svc-icon {
    background: var(--gradient-primary);
    color: white;
}

.sched-service-card .svc-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.sched-service-card .svc-meta {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.sched-service-card .svc-check {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.6rem;
}

.sched-service-card.selected .svc-check {
    display: flex;
}

.sched-service-card {
    position: relative;
}

/* Extra Description */
.sched-extra-field {
    margin-bottom: 0;
}

.sched-extra-field label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.sched-extra-field label i {
    color: var(--primary);
}

.sched-extra-field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.92rem;
    outline: none;
    resize: vertical;
    min-height: 80px;
    transition: var(--transition);
}

.sched-extra-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

/* Calendar */
.sched-datetime-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.sched-calendar {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.2rem;
}

.sched-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.sched-cal-header span {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: capitalize;
}

.sched-cal-header button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.sched-cal-header button:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.sched-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 0.5rem;
}

.sched-cal-weekdays span {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    padding: 0.3rem;
}

.sched-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.sched-cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

.sched-cal-day:hover:not(.disabled):not(.empty) {
    background: rgba(227, 30, 36, 0.1);
    color: var(--text-primary);
}

.sched-cal-day.today {
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.sched-cal-day.selected {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
}

.sched-cal-day.disabled {
    color: var(--text-muted);
    opacity: 0.3;
    cursor: not-allowed;
}

.sched-cal-day.empty {
    cursor: default;
}

.sched-cal-day.sunday {
    color: var(--primary);
    opacity: 0.3;
    cursor: not-allowed;
}

/* Time Slots */
.sched-time-section h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.sched-time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.sched-time-slot {
    padding: 0.6rem;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 500;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

.sched-time-slot:hover {
    border-color: rgba(227, 30, 36, 0.3);
    color: var(--text-primary);
}

.sched-time-slot.selected {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
    font-weight: 600;
}

.sched-time-slot.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Client Form */
.sched-client-form {
    margin-bottom: 1.5rem;
}

.sched-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.sched-form-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.sched-form-field input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.92rem;
    outline: none;
    transition: var(--transition);
}

.sched-form-field input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.sched-phone-field {
    display: flex;
    align-items: stretch;
}

.sched-phone-prefix {
    padding: 0.75rem 0.8rem;
    background: rgba(227, 30, 36, 0.1);
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.sched-phone-field input {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Summary Card */
.sched-summary-card {
    background: rgba(227, 30, 36, 0.04);
    border: 1px solid rgba(227, 30, 36, 0.15);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-bottom: 0;
}

.sched-summary-card h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sched-summary-card h4 i {
    color: var(--primary);
}

.sched-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.sched-summary-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.sched-summary-item > i {
    width: 36px;
    height: 36px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.85rem;
}

.sched-summary-item strong {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sched-summary-item span {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Success */
.sched-success-content {
    text-align: center;
    padding: 2rem 0;
}

.sched-success-icon {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 1rem;
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.sched-success-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.sched-success-content > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.sched-success-details {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin: 0 auto 2rem;
    max-width: 500px;
    text-align: left;
}

.sched-success-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.9rem;
}

.sched-success-detail-row:last-child {
    border-bottom: none;
}

.sched-success-detail-row .detail-label {
    color: var(--text-muted);
}

.sched-success-detail-row .detail-value {
    color: var(--text-primary);
    font-weight: 500;
}

.sched-success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 180px);
    }
    
    .sched-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 150px);
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .sched-progress {
        padding: 0;
        gap: 0;
    }

    .sched-step span {
        font-size: 0.6rem;
        max-width: 60px;
        text-align: center;
        line-height: 1.3;
    }

    .sched-step-circle {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .sched-step-line {
        width: 25px;
    }

    .sched-panel {
        padding: 1.5rem;
    }

    .sched-panel-header h3 {
        font-size: 1rem;
    }

    .sched-panel-header p {
        font-size: 0.82rem;
    }

    .sched-vehicle-selectors {
        grid-template-columns: 1fr;
    }

    .sched-services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sched-datetime-grid {
        grid-template-columns: 1fr;
    }

    .sched-time-slots {
        grid-template-columns: repeat(4, 1fr);
    }

    .sched-form-row {
        grid-template-columns: 1fr;
    }

    .sched-summary-grid {
        grid-template-columns: 1fr;
    }

    .sched-actions {
        flex-direction: column-reverse;
        gap: 0.8rem;
    }

    .sched-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-car-image {
        display: none;
    }

    .sched-vehicle-summary {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .sched-change-btn {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .sched-success-content h3 {
        font-size: 1.2rem;
    }

    .sched-success-details {
        padding: 1rem;
    }

    .sched-success-detail-row {
        font-size: 0.82rem;
        flex-direction: column;
        gap: 0.2rem;
    }

    .sched-success-actions {
        flex-direction: column;
    }

    .sched-success-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item.large {
        grid-column: span 1;
    }

    .gallery-item {
        height: 160px;
    }

    .sched-services-grid {
        grid-template-columns: 1fr;
    }

    .sched-time-slots {
        grid-template-columns: repeat(3, 1fr);
    }

    .sched-panel {
        padding: 1.2rem;
    }

    .sched-step span {
        font-size: 0.55rem;
        max-width: 50px;
    }

    .sched-step-circle {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .sched-step-line {
        width: 18px;
    }

    .sched-service-card {
        padding: 1rem;
    }

    .sched-service-card .svc-name {
        font-size: 0.8rem;
    }

    .sched-service-card .svc-meta {
        font-size: 0.68rem;
        flex-direction: column;
        gap: 0.2rem;
    }

    .sched-cal-day {
        font-size: 0.78rem;
    }

    .sched-time-slot {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .sched-success-icon {
        font-size: 3rem;
    }

    .sched-success-content h3 {
        font-size: 1rem;
    }

    .sched-patent-input {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .sched-progress {
        transform: scale(0.9);
        transform-origin: center;
    }

    .sched-panel {
        padding: 1rem;
    }

    .sched-time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .sched-cal-day {
        font-size: 0.72rem;
    }
}

/* Custom scrollbar for dropdowns */
.sched-select-options::-webkit-scrollbar,
.sched-search-results::-webkit-scrollbar {
    width: 6px;
}

.sched-select-options::-webkit-scrollbar-track,
.sched-search-results::-webkit-scrollbar-track {
    background: transparent;
}

.sched-select-options::-webkit-scrollbar-thumb,
.sched-search-results::-webkit-scrollbar-thumb {
    background: rgba(227, 30, 36, 0.3);
    border-radius: 3px;
}

/* Success Notice */
.sched-success-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    background: rgba(227, 30, 36, 0.06);
    border: 1px solid rgba(227, 30, 36, 0.15);
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
}

.sched-success-notice i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.sched-success-notice span {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.sched-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}
