.appointment-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.appointment-header {
    text-align: center;
    margin-bottom: 40px;
}

.appointment-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.store-info-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    color: #666;
}

.store-info-header i {
    color: var(--pbmit-global-color);
}

.change-store-link {
    color: #0066cc;
    text-decoration: none;
    margin-left: 10px;
}

.change-store-link:hover {
    text-decoration: underline;
}

.appointment-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
}

.appointment-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    min-width: 120px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f5f5f5;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #999;
    margin-bottom: 10px;
}

.step-item.active .step-number {
    background: var(--pbmit-global-color);
    border-color: var(--pbmit-global-color);
    color: white;
}

.step-item.completed .step-number {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.step-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.step-item.active .step-label {
    color: #1a1a1a;
    font-weight: 700;
}

.appointment-steps a.step-item {
    text-decoration: none;
    cursor: pointer;
}

.store-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.store-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 8px;
    transition: all 0.3s;
}

.store-card:hover {
    border-color: var(--pbmit-global-color);
    box-shadow: 0 4px 12px rgba(227,30,36,0.1);
}

.store-card.selected {
    border-color: #28a745;
}

.store-card-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.store-card-address {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.store-card-phone {
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
}

.appointment-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 40px;
}

.step-content {
    min-height: 400px;
}

.step-login {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-prompt {
    text-align: center;
    max-width: 400px;
}

.login-prompt h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.login-prompt p {
    color: #666;
    margin-bottom: 25px;
}

.login-prompt .btn-primary {
    display: inline-block;
    background: var(--pbmit-global-color);
    color: white;
    padding: 12px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 15px;
}

.login-prompt .btn-primary:hover {
    background: #c11a1f;
}

.register-link {
    font-size: 14px;
}

.register-link a {
    color: #0066cc;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.step-vehicle h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.no-vehicles {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.vehicle-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.vehicle-card.selected {
    border-color: #28a745;
    background: #fff !important;
}

.selected-badge {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
}

.vehicle-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 8px;
    transition: all 0.3s;
}

.vehicle-card:hover {
    border-color: var(--pbmit-global-color);
    box-shadow: 0 4px 12px rgba(227,30,36,0.1);
}

.vehicle-image {
    width: 120px;
    height: 80px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-image img {
    max-width: 100%;
    max-height: 100%;
}

.vehicle-info {
    flex: 1;
}

.vehicle-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #1a1a1a;
}

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

.vehicle-tire-size {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.oe-badge {
    background: var(--pbmit-global-color);
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
}

.tire-specs {
    color: #666;
}

.btn-select-vehicle {
    background: var(--pbmit-global-color);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.btn-select-vehicle:hover {
    background: #c11a1f;
}

.add-vehicle-section {

}

.btn-add-vehicle {
    background: white;
    border: 2px dashed #ddd;
    color: #666;
    padding: 15px 40px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-add-vehicle:hover {
    border-color: var(--pbmit-global-color);
    color: var(--pbmit-global-color);
}

.add-vehicle-form {
    margin-top: 30px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.add-vehicle-form h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-control {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-control:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-secondary {
    background: white;
    border: 1px solid #ddd;
    color: #666;
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #f5f5f5;
}

.btn-primary {
    background: var(--pbmit-global-color);
    border: none;
    color: white;
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary:hover {
    background: #c11a1f;
}

.continue-without {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-link {
    background: none;
    border: none;
    color: #0066cc;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

.btn-link:hover {
    color: #0052a3;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .appointment-steps::before {
        display: none;
    }
    
    .appointment-steps {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 20px;
    }
    
    .step-item {
        min-width: 80px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .vehicle-card {
        flex-direction: column;
        text-align: center;
    }
}

.vehicle-info-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.vehicle-info-compact strong {
    font-size: 16px;
}

.separator {
    color: #ccc;
}

.change-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.change-link:hover {
    text-decoration: underline;
}

.step-services h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 80px;
}

.service-card {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.service-card.selected {
    border-color: var(--pbmit-global-color);
    background: #f7f7f7;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.service-icon {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.service-card.selected .service-icon {
    background: var(--pbmit-global-color);
    color: white;
}

.service-checkbox {
    position: relative;
}

.service-checkbox-input {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--pbmit-global-color);
}

.service-body {
    cursor: pointer;
}

.service-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: block;
    cursor: pointer;
}

.service-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.service-duration {
    color: #999;
}

.service-price {
    font-weight: 600;
    color: var(--pbmit-global-color);
}

.service-summary-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 2px solid #eee;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
    z-index: 100;
}

.summary-info {
    font-size: 16px;
    color: #333;
}

.summary-info strong {
    color: var(--pbmit-global-color);
}

.btn-continue {
    background: var(--pbmit-global-color);
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

.btn-continue:hover:not(:disabled) {
    background: #c11a1f;
}

.btn-continue:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.selected-services-bar , .selected-vehicle-bar , .selected-store-bar{
    background: #fff9f0;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #ffe4b3;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.appt-context-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #ececf2;
    border-left: 4px solid #d0d5dd;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 14px;
    box-shadow: 0 1px 2px rgba(16,24,40,0.05);
    transition: box-shadow .2s ease, transform .2s ease;
}

.appt-context-bar:hover {
    box-shadow: 0 6px 18px rgba(16,24,40,0.10);
    transform: translateY(-1px);
}

.appt-context-bar__icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #f2f4f7;
    color: #667085;
}

.appt-context-bar__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.appt-context-bar__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #98a2b3;
}

.appt-context-bar__value {
    font-size: 15.5px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.appt-context-bar__value .muted {
    color: #667085;
    font-weight: 500;
}

.appt-context-bar__change {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #344054;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #e4e4ec;
    border-radius: 8px;
    background: #fff;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.appt-context-bar__change:hover {
    background: var(--pbmit-global-color);
    border-color: var(--pbmit-global-color);
    color: #fff;
}

.appt-context-bar--store {
    border-left-color: #e31e24;
}
.appt-context-bar--store .appt-context-bar__icon {
    background: rgba(227,30,36,0.09);
    color: #e31e24;
}

.appt-context-bar--vehicle {
    border-left-color: #2563eb;
}
.appt-context-bar--vehicle .appt-context-bar__icon {
    background: rgba(37,99,235,0.09);
    color: #2563eb;
}

.appt-context-bar--service {
    border-left-color: #16a34a;
}
.appt-context-bar--service .appt-context-bar__icon {
    background: rgba(22,163,74,0.09);
    color: #16a34a;
}

@media (max-width: 600px) {
    .appt-context-bar {
        gap: 12px;
        padding: 12px 14px;
    }
    .appt-context-bar__icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

.services-summary {
    font-size: 15px;
    color: #000000;
    font-weight: bold;
}

.datetime-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.calendar-section h3,
.timeslot-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

#appointmentCalendar {
    background: white;
    border: 1px solid var(--pbmit-global-color);
    border-radius: 8px;
    padding: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-month {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.calendar-nav {
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #666;
}

.calendar-nav:hover {
    background: var(--pbmit-global-color);
    color: white;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #999;
    padding: 8px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 19px;
    color: #333;
    transition: all 0.2s;
}

.calendar-day:hover:not(.disabled):not(.empty) {
    background: var(--pbmit-global-color);
}

.calendar-day.selected {
    background: var(--pbmit-global-color);
    color: rgb(0, 0, 0);
    font-weight: 700;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.empty {
    cursor: default;
}

.store-info-box {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.store-name {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-name i {
    color: var(--pbmit-global-color);
}

.store-address {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.change-store-link-small {
    color: #0066cc;
    font-size: 13px;
    text-decoration: none;
}

.change-store-link-small:hover {
    text-decoration: underline;
}

.preference-section {
    margin-bottom: 20px;
}

.preference-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.preference-options {
    display: flex;
    gap: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--pbmit-global-color);
}

.selected-date-display {
    background: #f0f8ff;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    border-left: 3px solid #0066cc;
}

.timeslot-container {
    min-height: 200px;
}

.select-date-msg,
.no-slots {
    text-align: center;
    color: #999;
    padding: 40px 20px;
}

.timeslot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.timeslot-btn {
    background: white;
    border: 2px solid #eee;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: all 0.2s;
}

.timeslot-btn:hover {
    border-color: var(--pbmit-global-color);
    color: var(--pbmit-global-color);
    background: #fff5f5;
}

.appointment-note {
    background: #fffbf0;
    padding: 15px;
    border-radius: 6px;
    border-left: 3px solid #ffa500;
    margin-top: 20px;
    font-size: 13px;
    color: #666;
}

.appointment-note p {
    margin-bottom: 8px;
}

.appointment-note p:last-child {
    margin-bottom: 0;
}

.step-review h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

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

.review-section {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.review-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.summary-box {
    background: white;
    border-radius: 8px;
    padding: 20px;
}

.summary-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.summary-label {
    font-weight: 600;
    color: #666;
}

.summary-value {
    color: #1a1a1a;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding-top: 20px;
}

@media (max-width: 992px) {
    .datetime-grid {
        grid-template-columns: 1fr;
    }
    
    .timeslot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .appointment-steps::before {
        display: none;
    }
    
    .appointment-steps {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 20px;
    }
    
    .step-item {
        min-width: 80px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .vehicle-card {
        flex-direction: column;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .timeslot-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

.calendar-day.closed-day {
    color: #ff0000;
    cursor: pointer;
}

/* ADD THESE TO appointment.css */

/* Service instruction text */
.service-instruction {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Change checkbox to radio button styling */
.service-radio-input {
    width: 30px;
    height: 30px;
    cursor: pointer;
    accent-color: var(--pbmit-global-color);
}

/* Service notes section */
.service-notes-section {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.service-notes-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.service-notes-section textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}

.service-notes-section textarea:focus {
    outline: none;
    border-color: var(--pbmit-global-color);
}

/* Update service summary bar for single service */
.service-summary-bar .summary-info {
    font-size: 16px;
    font-weight: 600;
    color: var(--pbmit-global-color);
}

.vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.vehicle-header h2 {
    margin: 0;
}
