/* Appointment Flow Styles */
.appointment-container {
    max-width: 1300px;
    margin: 50px auto;
    padding: 20px;
    font-family: 'Inter', sans-serif;
}

.header-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #366764;
    margin-bottom: 10px;
}

.header-section p {
    color: #5e605b;
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 40px;
}

/* Steps Indicator */
.steps-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9e8e3;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #5e605b;
}

.step.active .step-circle {
    background-color: #366764;
    color: #fff;
}

.step span {
    font-size: 0.9rem;
    color: #5e605b;
}

.step.active span {
    color: #366764;
    font-weight: 600;
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background-color: #e9e8e3;
    margin: 0 15px;
    transform: translateY(-12px);
    z-index: 1;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

/* Hero Section */
.appointment-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-banner {
    flex: 1.2;
    min-width: 300px;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.online-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #366764;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.online-dot {
    width: 10px;
    height: 10px;
    background-color: #2e8b57;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* Layout for Step 1 */
.step-1-layout {
    display: flex;
    gap: 40px;
}

.filters-sidebar {
    width: 250px;
    flex-shrink: 0;
}

/* Carousel/Grid for Specialists */
.specialists-carousel {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.specialists-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    scrollbar-width: thin;
}

.specialist-card {
    min-width: 350px;
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(49, 51, 47, 0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 1px solid #f0f0f0;
}

.carousel-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: flex-end;
}

.carousel-btn {
    background: #e1fffb;
    border: none;
    color: #366764;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
}

.carousel-btn:hover {
    background: #366764;
    color: #fff;
}

.sp-header {
    display: flex;
    gap: 15px;
    align-items: center;
}

.sp-img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
}

.sp-info h3 {
    color: #366764;
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.sp-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #5e605b;
}

.sp-rating {
    font-size: 0.85rem;
    color: #7a7b76;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sp-desc {
    font-size: 0.95rem;
    color: #5e605b;
    line-height: 1.5;
}

.sp-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.sp-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #31332f;
}

.appointment-container .btn-primary {
    background-color: #366764;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s ease;
}

.appointment-container .btn-primary:hover {
    background-color: #285a56;
}

.back-btn {
    background: none;
    border: none;
    color: #366764;
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    margin-bottom: 20px;
}

/* Time & Date Picker */
.schedule-container, .details-container {
    background-color: #fbf9f5;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}

.session-types {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.datetime-picker {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.date-picker {
    flex: 1;
}

.date-picker input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.time-picker {
    flex: 2;
}

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

.slot-btn {
    padding: 12px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.slot-btn.selected {
    background-color: #366764;
    color: #fff;
    border-color: #366764;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #31332f;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-family: inherit;
    box-sizing: border-box;
}

.booking-summary-card {
    background-color: #e1fffb;
    padding: 20px;
    border-radius: 15px;
    margin: 30px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #285a56;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #b9ece7;
    font-size: 1.2rem;
    font-weight: bold;
    color: #114744;
}

.confirm-booking-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Confirmation Modal UI */
#confirmation-view {
    text-align: center;
}

.confirmation-modal {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}

.success-icon {
    font-size: 60px;
    color: #366764;
    margin-bottom: 20px;
}

.confirmation-modal h2 {
    color: #366764;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.confirmation-modal p {
    color: #5e605b;
    margin-bottom: 20px;
}

.conf-details-card {
    background-color: #fbf9f5;
    border-radius: 15px;
    padding: 20px;
    margin: 30px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.conf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conf-header .label {
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #5e605b;
}

.conf-header h3 {
    margin: 5px 0 0 0;
    color: #366764;
    font-size: 1.5rem;
}

.conf-therapist-img img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.conf-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.conf-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.conf-item i {
    background-color: #efeee9;
    padding: 12px;
    border-radius: 10px;
    color: #366764;
}

.conf-item span {
    display: block;
    font-size: 0.85rem;
    color: #5e605b;
}

.conf-item strong {
    font-size: 1rem;
    color: #31332f;
}

.dashboard-link {
    text-decoration: none;
    display: inline-block;
}
