/* Poppins Fontu */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════════
   ANA KAPSAYICI
═══════════════════════════════════════════ */
.t-premium-wrapper {
    font-family: 'Poppins', sans-serif;
    padding: 10px 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    color: #1e293b;
    font-size: 0.9rem;
}

.t-premium-wrapper td {
    background-color: #ffffff !important;
}

.t-premium-wrapper .t-tr-break.t-break-coffee td { background-color: #fff7ed !important; }
.t-premium-wrapper .t-tr-break.t-break-lunch td  { background-color: #f0fdf4 !important; }
.t-premium-wrapper .t-tr-break.t-break-satellite td { background-color: #eff6ff !important; }
.t-premium-wrapper .t-tr-break.t-break-event td  { background-color: #faf5ff !important; }
.t-premium-wrapper .t-tr-break.t-break-assembly td { background-color: #fdf2f8 !important; }
.t-premium-wrapper .t-tr-break.t-break-ceremony td { background-color: #fefce8 !important; }

/* ═══════════════════════════════════════════
   TAB NAVİGASYONU
═══════════════════════════════════════════ */
.t-premium-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(226, 232, 240, 0.8);
    justify-content: center;
}

.t-premium-tab {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1;
    color: #64748b;
    padding: 10px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.t-premium-tab:hover {
    border-color: #3b82f6;
    color: #1e3a8a;
    transform: translateY(-2px);
}

.t-premium-tab.active {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6) !important;
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.25);
}

/* ═══════════════════════════════════════════
   ARAMA KUTUSU
═══════════════════════════════════════════ */
.t-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.t-premium-search {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    padding: 10px 42px 10px 20px !important;
    border-radius: 30px !important;
    font-size: 0.85rem !important;
    font-family: inherit !important;
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 220px;
}

.t-premium-search::placeholder { color: #94a3b8; }

.t-premium-search:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15) !important;
    width: 280px;
}

.t-search-icon {
    position: absolute;
    right: 14px;
    color: #94a3b8;
    pointer-events: none;
    display: flex;
    align-items: center;
}

/* ═══════════════════════════════════════════
   İÇERİK GÖSTER/GİZLE
═══════════════════════════════════════════ */
.t-premium-content {
    display: none;
    animation: fadeInTab 0.4s ease-out forwards;
}

.t-premium-content.active { display: block; }

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   YATAY SCROLL KAPSAYICI
═══════════════════════════════════════════ */
.t-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff !important;
}

.t-table-scroll::-webkit-scrollbar { height: 5px; }
.t-table-scroll::-webkit-scrollbar-track { background: #f1f5f9; }
.t-table-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.t-table-scroll::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ═══════════════════════════════════════════
   PROGRAM TABLOSU
═══════════════════════════════════════════ */
.t-prog-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    min-width: 560px;
}

.t-prog-table .t-col-salon {
    width: auto;
}

.t-prog-table thead tr th {
    padding: 0;
    border: 1px solid #e2e8f0;
}

.t-th-salon {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
    text-align: center;
}

/* ─── Oturum hücresi ─── */
.t-td-session {
    vertical-align: top;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.2s ease;
    position: relative;
    word-break: keep-all;
    overflow-wrap: break-word;
    background-color: #f8fafc !important;
}

.t-td-session:hover {
    box-shadow: none;
}

/* ─── Boş hücre ─── */
.t-td-empty {
    border: 1px solid #e2e8f0;
    background: #ffffff !important;
}

/* ─── Mola satırı — temel ─── */
.t-tr-break td {
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    padding: 10px 16px;
}

.t-tr-break.t-break-coffee td {
    background: #fff7ed !important;
    border-color: #fed7aa;
    padding: 16px 16px;
}

.t-tr-break.t-break-lunch td {
    background: #f0fdf4 !important;
    border-color: #bbf7d0;
    padding: 16px 16px;
}

.t-tr-break.t-break-satellite td {
    background: #eff6ff !important;
    border-color: #bfdbfe;
    padding: 10px 16px;
}

.t-tr-break.t-break-event td {
    background: #faf5ff !important;
    border-color: #e9d5ff;
    padding: 10px 16px;
}

.t-tr-break.t-break-assembly td {
    background: #fdf2f8 !important;
    border-color: #fbcfe8;
    padding: 10px 16px;
}

.t-tr-break.t-break-ceremony td {
    background: #fefce8 !important;
    border-color: #fef08a;
    padding: 10px 16px;
}

/* ═══════════════════════════════════════════
   OTURUM İÇİ ELEMANLAR
═══════════════════════════════════════════ */

/* Oturum saati etiketi */
.t-session-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.67rem;
    font-weight: 500;
    color: #3b82f6;
    background: #eff6ff !important;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    padding: 3px 10px;
    white-space: nowrap;
    margin-bottom: 8px;
}

.t-session-time::before {
    content: '';
    display: inline-block;
    width: 11px;
    height: 11px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.t-session-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 6px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.t-session-chairs {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e2e8f0;
}

.t-session-chairs b {
    font-weight: 500;
    color: #475569;
}

/* ═══════════════════════════════════════════
   OTURUM BAŞLIK BANDI
═══════════════════════════════════════════ */
.t-session-header {
    margin: -14px -16px 12px -16px;
    padding: 14px 16px;
    border-radius: 0;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.t-session-header .t-session-chairs {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ─── Konu listesi ─── */
.t-topic-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.t-topic-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    background: #ffffff !important;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: background 0.2s ease;
}

.t-topic-list li:hover { background: #f1f5f9 !important; }

.t-konu-time {
    font-size: 0.67rem;
    color: #3b82f6;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.t-konu-time::before {
    content: '';
    display: inline-block;
    width: 11px;
    height: 11px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.t-konu-title {
    font-size: 0.82rem;
    color: #1e293b;
    line-height: 1.35;
    font-weight: 400;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.t-konu-speaker {
    font-size: 0.75rem;
    color: #059669;
    font-weight: 400;
}

/* ─── Mola etiketleri ─── */
.t-break-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.t-break-coffee .t-break-label, .t-break-coffee .t-break-label-left { color: #c2410c; }
.t-break-lunch .t-break-label, .t-break-lunch .t-break-label-left { color: #15803d; }
.t-break-satellite .t-break-label, .t-break-satellite .t-break-label-left { color: #1d4ed8; }
.t-break-event .t-break-label, .t-break-event .t-break-label-left { color: #7e22ce; }
.t-break-assembly .t-break-label, .t-break-assembly .t-break-label-left { color: #be185d; }
.t-break-ceremony .t-break-label, .t-break-ceremony .t-break-label-left { color: #a16207; }

.t-break-label-left {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.t-break-label .t-session-time,
.t-break-label-left .t-session-time { margin-bottom: 0; }

/* ═══════════════════════════════════════════
   PLACEHOLDER
═══════════════════════════════════════════ */
.t-kongre-placeholder {
    color: #94a3b8;
    font-style: italic;
    font-weight: 400;
}

/* ═══════════════════════════════════════════
   MOBİL
═══════════════════════════════════════════ */
@media (max-width: 992px) {
    .t-search-wrapper {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }
    .t-premium-search,
    .t-premium-search:focus { width: 100%; }

    .t-prog-table {
        table-layout: fixed;
        min-width: auto;
    }

    .t-prog-table .t-col-salon {
        width: 65vw;
    }
}