/* Eğitmen detay + randevu — bağımsız sınıflar (tema çakışması yok) */
.ib-page {
    --ib-primary: var(--system_primery_color, #7c32ff);
    --ib-bg: #f4f6f9;
    --ib-card: #fff;
    --ib-text: #1a1d26;
    --ib-muted: #5c6370;
    --ib-border: #dde3eb;
    padding: 40px 0 80px;
}

.ib-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
    background: var(--ib-card);
    border: 1px solid var(--ib-border);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.ib-hero-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--ib-primary);
}

.ib-hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ib-hero-body {
    flex: 1;
    min-width: 200px;
}

.ib-hero-body h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ib-text);
    margin: 0 0 0.25rem;
}

.ib-hero-body .ib-headline {
    color: var(--ib-muted);
    font-size: 0.95rem;
    margin: 0 0 0.75rem;
}

.ib-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.ib-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--ib-text);
}

.ib-stat strong {
    font-weight: 700;
}

.ib-stat .ib-stars {
    color: #f59e0b;
}

.ib-hero-cta {
    flex-shrink: 0;
}

.ib-about {
    background: var(--ib-card);
    border: 1px solid var(--ib-border);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--ib-muted);
    line-height: 1.65;
}

.ib-about h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ib-text);
    margin-bottom: 0.75rem;
}

/* Randevu paneli */
.ib-booking-panel {
    background: var(--ib-card);
    border: 1px solid var(--ib-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.ib-schedule-head {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--ib-border);
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.ib-schedule-head h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ib-text);
    margin: 0 0 0.35rem;
}

.ib-schedule-head p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ib-muted);
}

.ib-schedule-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-top: 0.85rem;
}

.ib-badge-count {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--ib-primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
}

.ib-hint {
    font-size: 0.8rem;
    color: var(--ib-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.ib-hint i {
    color: var(--ib-primary);
}

/* Yatay haftalık kaydırma */
.ib-week-scroll {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 1.25rem 1rem 1.5rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.ib-week-scroll::-webkit-scrollbar {
    height: 8px;
}

.ib-week-scroll::-webkit-scrollbar-thumb {
    background: #c5cdd8;
    border-radius: 4px;
}

.ib-day-col {
    flex: 0 0 200px;
    min-width: 200px;
    scroll-snap-align: start;
    border-right: 1px solid var(--ib-border);
    padding: 0 0.75rem 0.5rem;
}

.ib-day-col:last-child {
    border-right: none;
}

.ib-day-head {
    text-align: center;
    padding-bottom: 0.85rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--ib-border);
}

.ib-day-head.is-today {
    border-bottom-color: var(--ib-primary);
}

.ib-day-name {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ib-muted);
}

.ib-day-date {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ib-text);
    margin-top: 0.15rem;
}

.ib-day-today {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--ib-primary);
    color: #fff;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.ib-slots {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Tıklanabilir saat — belirgin buton */
.ib-slot-btn {
    display: block;
    width: 100%;
    padding: 0.75rem 0.65rem;
    border: 2px solid var(--ib-primary);
    border-radius: 10px;
    background: #fff;
    color: var(--ib-primary);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.04);
}

.ib-slot-btn:hover,
.ib-slot-btn:focus {
    background: var(--ib-primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    outline: none;
}

.ib-slot-btn:active {
    transform: translateY(0);
}

.ib-slot-btn .ib-slot-type-tag {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.85;
    margin-top: 0.2rem;
}

.ib-slot-btn:hover .ib-slot-type-tag {
    opacity: 1;
}

.ib-slot-status {
    display: block;
    width: 100%;
    padding: 0.65rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.ib-slot-status.pending {
    background: #fff8e6;
    border: 1px solid #f0c040;
    color: #7a5c00;
}

.ib-slot-status.confirmed {
    background: #e8f8ef;
    border: 1px solid #3dba6c;
    color: #1a6b38;
}

.ib-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--ib-muted);
}

.ib-empty i {
    font-size: 2.5rem;
    opacity: 0.4;
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .ib-hero {
        padding: 1.25rem;
        text-align: center;
        justify-content: center;
    }

    .ib-hero-body {
        width: 100%;
    }

    .ib-stats {
        justify-content: center;
    }

    .ib-hero-cta {
        width: 100%;
    }

    .ib-hero-cta .theme_btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    .ib-day-col {
        flex: 0 0 170px;
        min-width: 170px;
    }
}
