/**
 * Booking System V2 - Step Styles
 * 
 * Contains all step-specific layouts and components:
 * - Step 1: Start Booking
 * - Step 2: Service Selection Grid
 * - Step 3.1: Location Selection
 * - Step 3.2: Gender Selection (Laser)
 * - Step 3.2.1 & 3.2.2: Latido Doctor Selection & Redirect
 * - Step 3.3: Phorest Service List
 * - Step 3.4: Appointment Calendar
 * - Step 3.5: Login/Registration Forms
 * - Step 3.6: Booking Confirmation
 * - Step 3.7: Success Screen
 * - Step 5.1: Message Display
 * 
 * @package WerbeaufCustoms\BookingSystem
 * @version 5.0.0
 */

/* ============================================================
   STEP 1: START BOOKING
   ============================================================ */

.bs-start-booking-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
}

.bs-welcome-message p {
    font-size: 18px;
    color: #374151;
    margin-bottom: 30px;
}

.bs-booking-steps-preview {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    text-align: left;
    display: inline-block;
}

.bs-booking-steps-preview li {
    font-size: 16px;
    color: #6b7280;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bs-action-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Base Button Structure (styling from Admin) */
.bs-btn {
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Primary Button Structure (styling from Admin) */
.bs-btn-primary {
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bs-btn-primary:hover {
    transform: scale(1.04);
}

.bs-btn-start-booking {
    min-width: 250px;
}


/* ============================================================
   STEP 2: SERVICE SELECTION GRID
   ============================================================ */

.bs-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0;
    max-width: 100%;
    width: 100%;
}

/* 2 columns on tablet (≤1100px) */
@media screen and (max-width: 1100px) {
    .bs-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .bs-service-grid {
        grid-template-columns: 1fr;
    }
    
    .bs-service-card {
        gap: 15px;
        padding: 15px;
    }
    
    .bs-service-description {
        font-size: 13px;
    }
}

.bs-service-card .bs-service-title {
    padding-bottom: 0;
    line-height: 1.5;
}

.bs-service-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: grid;
    gap: 10px;
    align-items: center;
}

.bs-service-card:hover {
    border-color: #495e77;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Service Image (left, round) - Size controlled by Admin */
.bs-service-image {
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e5e7eb;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.bs-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.bs-service-card:hover .bs-service-image img {
    transform: scale(1.1);
}

.bs-service-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    font-size: 32px;
}

/* Unified border style (like location cards) */
.bs-service-card:hover .bs-service-image {
    border-color: #495e77;
    box-shadow: 0 4px 12px rgba(73, 94, 119, 0.2);
}

/* Service Content (right) */
.bs-service-content {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs-service-title {
    margin: 0;
}

.bs-service-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.bs-error {
    text-align: center;
    color: #dc2626;
    padding: 20px;
}


/* ============================================================
   STEP 3.1: LOCATION SELECTION
   ============================================================ */

.bs-location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
    align-items: stretch;
}

.bs-location-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.bs-location-card:hover {
    border-color: #495e77;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Location Image - Round */
.bs-location-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid #e5e7eb;
    transition: all 0.3s ease;
}

.bs-location-card:hover .bs-location-image {
    border-color: #495e77;
    box-shadow: 0 4px 12px rgba(73, 94, 119, 0.2);
}

.bs-location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.bs-location-card:hover .bs-location-image img {
    transform: scale(1.1);
}

.bs-location-card h3 {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: #495e77;
}

@media screen and (max-width: 980px) {
    .bs-location-card h3 {
      font-size: 19px;
    }
}

@media screen and (max-width: 767px) {
    .bs-location-card h3 {
      font-size: 18px;
    }
}

.bs-location-card .bs-location-area {
    display: block;
}

.bs-location-card .bs-location-address {
    font-size: 14px;
    color: #495e77;
    margin: 0;
    font-weight: 400;
}

.bs-location-card .bs-location-id {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 12px;
    background: #f3f4f6;
    border-radius: 12px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

/* Disabled Location */
.bs-location-card.bs-location-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.bs-location-card.bs-location-disabled:hover {
    border-color: #e5e7eb;
    transform: none;
    box-shadow: none;
}

.bs-location-card.bs-location-disabled .bs-location-image {
    filter: grayscale(100%);
}

.bs-location-card.bs-location-disabled:hover .bs-location-image {
    border-color: #e5e7eb;
    box-shadow: none;
}

.bs-location-unavailable {
    color: #495f76;
    font-size: 13px;
    font-weight: 700;
    margin: auto 0 0 0 !important;
    padding: 8px 12px !important;
    background: #e5eaee;
    border-radius: 8px;
}

/* Theme Override */
.bs-location-card .bs-location-unavailable:last-of-type {
    padding-bottom: 8px !important;
}


/* ============================================================
   STEP 3.2: GENDER SELECTION (Laser Haarentfernung)
   ============================================================ */

.bs-gender-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.bs-gender-option {
    background: #ffffff;
    border: 3px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-height: 280px;
    position: relative;
}

.bs-gender-option:hover {
    border-color: #495e77;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.bs-gender-option:active {
    transform: translateY(-2px);
}

.bs-gender-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    padding: 10px;
}

.bs-gender-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bs-gender-label {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Gender Grid */
@media (max-width: 767px) {
    .bs-gender-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .bs-gender-option {
        padding: 30px 20px;
        min-height: 220px;
    }

    .bs-gender-icon {
        width: 100px;
        height: 100px;
    }

    .bs-gender-label {
        font-size: 18px;
    }
}


/* ============================================================
   STEP 3.2.1 & 3.2.2: LATIDO DOCTOR SELECTION & REDIRECT
   ============================================================ */

/* Doctor Choice Grid (Step 3.2.1) */
.bs-doctor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Default: 2 Ärzte → 50/50 */
    gap: 20px;
    margin-top: 20px;
    grid-auto-rows: 1fr; /* Alle Karten gleiche Höhe */
}

/* 3 Ärzte → 33.33% / 33.33% / 33.33% */
.bs-doctor-grid:has(.bs-doctor-card:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
}

/* 4 Ärzte → 25% / 25% / 25% / 25% */
.bs-doctor-grid:has(.bs-doctor-card:nth-child(4):last-child) {
    grid-template-columns: repeat(4, 1fr);
}

.bs-doctor-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Content gleichmäßig verteilen */
}

.bs-doctor-card:hover {
    border-color: #495e77;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(73, 94, 119, 0.15);
}

.bs-doctor-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f4f6;
}

.bs-doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bs-doctor-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.bs-doctor-name {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.bs-doctor-specialization {
        font-size: 14px;
    color: #6b7280;
    margin: 0 0 15px 0;
    font-style: italic;
}

.bs-select-doctor {
    width: 100%;
    padding: 10px 20px;
    background: #495e77;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bs-select-doctor:hover {
    background: #3d4f63;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(73, 94, 119, 0.3);
}

/* Redirect Screen (Step 3.2.2) */
.bs-latido-redirect-container {
    text-align: center;
    padding: 40px 20px;
}

.bs-selected-doctor-info {
    margin-bottom: 30px;
}

.bs-doctor-image-wrapper {
    margin-bottom: 20px;
}

.bs-selected-doctor-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.bs-selected-doctor-name {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 10px 0;
}

.bs-redirect-countdown {
    font-size: 18px;
    color: #6b7280;
    margin: 20px 0;
}

.bs-countdown-seconds {
    font-weight: 700;
    color: #495e77;
    font-size: 24px;
}

.bs-redirect-progress {
    width: 100%;
    max-width: 400px;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin: 40px auto 0;
    overflow: hidden;
}

.bs-redirect-progress-bar {
    width: 0%;
    height: 100%;
    background: #495e77;
    transition: width 0.1s linear;
}

.bs-latido-redirect-actions {
    margin-top: 30px;
}

.bs-latido-redirect-now {
    padding: 14px 32px;
    font-size: 16px;
    background: #495e77;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bs-latido-redirect-now:hover {
    background: #3d4f63;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(73, 94, 119, 0.3);
}

/* Responsive Latido Steps */
@media (max-width: 767px) {
    .bs-doctor-grid {
        grid-template-columns: 1fr !important; /* Mobile: immer 1 Spalte */
        gap: 15px;
    }
    
    .bs-doctor-card {
        padding: 15px;
    }
    
    .bs-doctor-image {
        width: 80px;
        height: 80px;
    }
    
    .bs-doctor-name {
        font-size: 16px;
    }
    
    .bs-doctor-specialization {
        font-size: 12px;
    }
    
    .bs-selected-doctor-image {
        width: 100px;
        height: 100px;
    }
    
    .bs-selected-doctor-name {
        font-size: 20px;
    }
    
    .bs-redirect-countdown {
        font-size: 16px;
    }
    
    .bs-countdown-seconds {
        font-size: 20px;
    }
    
    .bs-latido-redirect-now {
        width: 100%;
        padding: 14px 24px;
    }
}


/* ============================================================
   STEP 3.3: PHOREST SERVICE LIST (with Employee Dropdown)
   ============================================================ */

.bs-service-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
}

.bs-service-item {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr auto;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
}

.bs-service-item:hover {
    border-color: #495e77;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.bs-service-item .bs-service-name {
    display: flex;
    align-items: center;
}

.bs-service-item .bs-service-name .service-name {
    font-size: 16px;
    font-weight: 600;
    color: #495e77;
    margin: 0;
}
@media screen and (max-width: 767px) {
    .bs-service-item .bs-service-name .service-name {
        font-size: 15px;
    }
}
.bs-service-item .bs-service-price {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs-service-item .bs-service-price .service-price {
    font-size: 16px;
    font-weight: 600;
    color: #769cc1;
    margin: 0;
}

@media screen and (max-width: 980px) {
    .bs-service-item .bs-service-price .service-price {
        font-size: 15px;
    }
}

@media screen and (max-width: 767px) {
    .bs-service-item .bs-service-price .service-price {
        font-size: 14px;
    }
}

.bs-service-item .bs-service-employee {
    display: flex;
    align-items: center;
}

.bs-service-item .bs-service-employee .staff-select {
    width: 100%;
    padding: 7px 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bs-service-item .bs-service-employee .staff-select:hover {
    border-color: #495e77;
}

.bs-service-item .bs-service-employee .staff-select:focus {
    outline: none;
    border-color: #495e77;
    box-shadow: 0 0 0 3px rgba(73, 94, 119, 0.1);
}

.bs-service-item .bs-service-submit {
    display: flex;
    align-items: center;
}

/* Select Service Button (Structure only, styling from Admin) */
.bs-service-item .btn-select-service {
    display: inline-block;
    border: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bs-service-item .btn-select-service:hover {
    transform: scale(1.04);
}

/* Responsive: Stack on mobile */
@media (max-width: 767px) {
    .bs-service-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .bs-service-item .bs-service-name,
    .bs-service-item .bs-service-price,
    .bs-service-item .bs-service-employee,
    .bs-service-item .bs-service-submit {
        justify-content: flex-start;
    }
    
    .bs-service-item .btn-select-service {
        width: 100%;
        text-align: center;
    }
}


/* ============================================================
   STEP 3.4: PHOREST APPOINTMENT (Calendar & Time Slots)
   ============================================================ */

.bs-appointment-list {
    padding: 20px 0;
}

.bs-appointment-day {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.bs-appointment-day:hover {
    border-color: #495e77;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.bs-appointment-date {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f3f4f6;
}

.bs-weekday {
    color: #495e77;
}

.bs-appointment-times {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bs-time-slot {
    display: inline-block;
    padding: 7px 15px;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.bs-time-slot:hover {
    background: #495e77;
    color: #ffffff;
    border-color: #495e77;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(73, 94, 119, 0.2);
}

.bs-appointment-more {
    text-align: center;
    padding: 20px 0;
}

/* Show More Appointments Button (Structure only, styling from Admin) */
.btn-show-more-appointments {
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-show-more-appointments:hover {
    transform: scale(1.04);
}

@media (max-width: 980px) {  
    .bs-time-slot {
        padding: 6px 13px;
        font-size: 15px;
    }
}

/* Responsive: Stack on mobile */
@media (max-width: 767px) {
    .bs-appointment-day {
        padding: 15px;
    }
    
    .bs-appointment-date {
        font-size: 16px;
    }
    
    .bs-time-slot {
        padding: 5px 10px;
        font-size: 14px;
    }
    
    .btn-show-more-appointments {
        width: 100%;
    }
}


/* ============================================================
   STEP 3.5: LOGIN / REGISTRATION FORMS
   ============================================================ */

   .bs-form-control {
    border: 1px solid #bbb;
    padding: 10px !important;
    width: 100%;  
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #ffffff;
    transition: border-color 0.2s ease;
    height: 42px; 
    appearance: none;
    -webkit-appearance: none;
}

.bs-form-control:focus {
    border-color: #888;
    outline: none;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

select.bs-form-control {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23666%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px auto;
    padding-right: 30px;
    cursor: pointer;
}

/* Auth Forms Container */
.bs-auth-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

/* Message Container */
.bs-login-message-container {
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease;
}

.bs-login-message {
    margin: 0;
    line-height: 1.5;
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

.bs-login-message.bs-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.bs-login-message.bs-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Form Body */
.bs-form-body {
    margin-bottom: 24px;
}

/* Form Group */
.bs-form-group {
    margin-bottom: 20px;
}

.bs-form-group label {
    display: block;
    margin-bottom: 8px;
}

.bs-form-group label a {
    float: right;
    text-decoration: none;
}

.bs-form-group label a:hover {
    text-decoration: underline;
}

/* Form Controls */
.bs-form-control {
    width: 100%;
    line-height: 1.5;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.bs-form-control:focus {
    outline: 0;
}

.bs-form-control:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Password Input Wrapper */
.bs-password-input {
    position: relative;
}

/* Form Row (for half-width fields) */
.bs-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.bs-form-group-half {
    flex: 1;
    margin-bottom: 0;
}

/* Phone Input Group */
.bs-phone-input-group {
    display: flex;
    gap: 8px;
}

.bs-phone-dropdown {
    width: 150px;
    flex-shrink: 0;
}

/* Reset Description */
.bs-reset-description {
    margin: 0 0 20px;
    line-height: 1.6;
}

/* Form Actions Buttons (Structure only, styling from Admin) */
.bs-form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bs-form-actions .bs-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bs-form-actions .bs-btn-primary:hover:not(:disabled) {
    transform: scale(1.04);
}

.bs-form-actions .bs-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bs-form-actions .bs-btn-secondary:hover:not(:disabled) {
    transform: scale(1.04);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 767px) {
    .bs-auth-form {
        padding: 15px;
    }
    
    .bs-form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .bs-phone-dropdown {
        width: 120px;
    }
}


/* ============================================================
   STEP 3.6: BOOKING CONFIRMATION
   ============================================================ */

.bs-confirmation-container {
    max-width: 700px;
    margin: 0 auto;
}

/* Summary Sections */
.bs-summary-section {
    margin-bottom: 30px;
}

.bs-summary-section-title {
    margin: 0 0 16px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
}

/* Summary Cards */
.bs-summary-card {
    border: 1px solid #dee2e6;
}

.bs-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.bs-summary-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bs-summary-label {
    font-weight: 600;
}

.bs-summary-value {
    font-weight: 600;
    text-align: right;
}

/* Logout Link */
.bs-summary-logout {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.bs-logout-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bs-logout-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Confirmation Actions */
.bs-confirmation-actions {
    margin-top: 40px;
    text-align: center;
}

/* Confirm Booking Button (Structure only, styling from Admin) */
.bs-btn-confirm-booking {
    width: 100%;
    max-width: 400px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bs-btn-confirm-booking:hover:not(:disabled) {
    transform: scale(1.04);
}

.bs-btn-confirm-booking:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.bs-confirmation-note {
    margin-top: 16px;
    line-height: 1.5;
}

/* Booking Status Messages */
.bs-booking-status-container {
    margin-top: 24px;
    animation: fadeIn 0.3s ease;
}

.bs-booking-status {
    margin: 0;
    font-weight: 600;
    text-align: center;
}

.bs-booking-status.bs-status-success {
    border: 1px solid #c3e6cb;
}

.bs-booking-status.bs-status-error {
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 767px) {
    .bs-confirmation-container {
        padding: 15px;
    }
    
    .bs-summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .bs-summary-value {
        text-align: left;
    }
}


/* ============================================================
   STEP 3.7: SUCCESS SCREEN
   ============================================================ */

.bs-success-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

/* Success Icon/Animation */
.bs-success-icon-wrapper {
    margin-bottom: 30px;
}

.bs-success-checkmark {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    position: relative;
}

.bs-checkmark {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #28a745;
    stroke-miterlimit: 10;
}

.bs-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #28a745;
    fill: none;
}

.bs-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #28a745;
    stroke-width: 3;
}

/* Checkmark Animation */
.bs-success-checkmark.animate .bs-checkmark-circle {
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.bs-success-checkmark.animate .bs-checkmark-check {
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* Success Header */
.bs-success-header {
    margin-bottom: 40px;
}

.bs-success-title {
    margin: 0 0 12px;
    font-weight: 800;
    line-height: 1.2;
}

.bs-success-subtitle {
    margin: 0;
    line-height: 1.5;
}

/* Success Details */
.bs-success-details {
    margin-bottom: 30px;
}

.bs-success-card {
    border: 2px solid #28a745;
    text-align: left;
}

.bs-success-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.bs-success-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bs-success-icon {
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.bs-success-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bs-success-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bs-success-value {
    font-weight: 700;
}

/* Email Notice */
.bs-success-notice {
    border: 1px solid #c3e6cb;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bs-notice-icon {
    flex-shrink: 0;
}

.bs-success-notice p {
    margin: 0;
    line-height: 1.5;
    text-align: left;
}

/* Success Actions */
.bs-success-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

/* Success Actions Buttons (Structure only, styling from Admin) */
.bs-success-actions .bs-btn {
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.bs-success-actions .bs-btn-primary {
    border: none;
}

.bs-success-actions .bs-btn-primary:hover {
    transform: scale(1.04);
}

/* Responsive */
@media (max-width: 767px) {
    .bs-success-container {
        padding: 30px 15px;
    }
    
    .bs-success-checkmark {
        width: 100px;
        height: 100px;
    }
    
    .bs-checkmark {
        width: 100px;
        height: 100px;
    }
    
    .bs-success-icon {
        width: 32px;
    }
}


/* ============================================================
   STEP 5.1: MESSAGE DISPLAY (Messages System)
   ============================================================ */

.bs-step-message .bs-message-display-content {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
}

.bs-step-message .bs-message-body {
        font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.bs-step-message .bs-message-body p {
    margin: 0 0 16px 0;
}

.bs-step-message .bs-message-body p:last-child {
    margin-bottom: 0;
}

.bs-step-message .bs-message-body ul,
.bs-step-message .bs-message-body ol {
    margin: 16px 0;
    padding-left: 24px;
}

.bs-step-message .bs-message-body li {
    margin-bottom: 8px;
}

.bs-step-message .bs-message-body strong {
    color: #1f2937;
    font-weight: 600;
}

.bs-step-message .bs-message-body a {
    color: #495e77;
    text-decoration: underline;
}

.bs-step-message .bs-message-body a:hover {
    color: #3d4f63;
}

.bs-message-cta-link {
    display: inline-block;
    padding: 14px 32px;
    background: #495e77;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
}

.bs-message-cta-link:hover {
    background: #3d4f63;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(73, 94, 119, 0.3);
}

/* Actions (Close Button) */
.bs-message-actions {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.bs-message-close-btn {
    background: transparent;
    border: 2px solid #d1d5db;
    color: #6b7280;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bs-message-close-btn:hover {
    border-color: #9ca3af;
    color: #374151;
    background: #f9fafb;
}

/* Responsive */
@media (max-width: 767px) {
    .bs-step-message .bs-message-display-content {
        padding: 20px;
    }
    
    .bs-step-message .bs-message-body {
        font-size: 14px;
    }
    
    .bs-message-cta-link {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .bs-message-close-btn {
        width: 100%;
        padding: 12px 24px;
    }
}
