/* Home/TrainingDetail.cshtml dosyasından taşındı (satır içi blok). */
.udemy-page-wrapper {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: #1c1d1f;
}

.training-main-title {
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.015em;
}

/* Udemy Dark Hero */
.udemy-hero-bg {
    background-color: #1c1d1f;
    background-image: 
        radial-gradient(at 10% 20%, rgba(237, 28, 36, 0.12) 0px, transparent 40%),
        radial-gradient(at 90% 80%, rgba(30, 58, 138, 0.18) 0px, transparent 40%);
}

/* Desktop Sticky Sidebar (Udemy Düzeni: Yukarı çekilmiş sticky kart) */
@media (min-width: 1024px) {
    .udemy-sticky-col {
        margin-top: -160px;
    }
}

/* Mobilde sağ panelin (fiyat/kayıt kartının) bannerdan hemen sonra şık ve kompakt gelmesi */
@media (max-width: 1023px) {
    .udemy-main-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    #udemyRightCol {
        order: 1 !important;
        width: 100% !important;
        padding-bottom: 0 !important;
        margin-top: 0.75rem !important;
    }
    .udemy-left-col {
        order: 2 !important;
        width: 100% !important;
        padding-top: 0 !important;
    }
}

/* Tab Butonları */
.ed-tab-btn {
    position: relative;
    transition: all 0.2s ease;
}

/* Mobilde (ekran < 640px) modern kaydırılabilir Pill (Hap) stili */
@media (max-width: 639px) {
    .ed-tab-btn {
        background-color: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 9999px;
        padding: 0.45rem 0.85rem;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
        cursor: pointer;
    }
    .ed-tab-btn:hover, .ed-tab-btn:active {
        background-color: #f8fafc;
    }
    .ed-tab-btn.active {
        color: #ED1C24 !important;
        border-color: #ED1C24 !important;
        background-color: #fef2f2 !important;
        box-shadow: 0 1px 4px 0 rgba(237, 28, 36, 0.15) !important;
    }
    .ed-tab-btn.active::after {
        display: none !important;
    }
}

/* Masaüstünde (>= 640px) klasik şık yatay tab çizgisi */
@media (min-width: 640px) {
    .ed-tab-btn {
        border-bottom: 2px solid transparent;
    }
    .ed-tab-btn.active {
        color: #ED1C24 !important;
        border-bottom-color: #ED1C24 !important;
        background-color: #ffffff !important;
    }
    .ed-tab-btn.active::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        right: 0;
        height: 2.5px;
        background-color: #ED1C24;
        border-radius: 2px 2px 0 0;
    }
}

/* Mobilde sağ kaydırma butonu için hafif dikkat çekici yönlendirme animasyonu */
@keyframes tabScrollHint {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(3px); }
}
.tab-hint-bounce {
    animation: tabScrollHint 2s ease-in-out infinite;
}

/* Pulse animation for live badge */
@keyframes livePulse {
    0% { transform: scale(0.97); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.97); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.pulse-live {
    animation: livePulse 2s infinite;
}
/* Zengin Metin (Rich Text) İçerik Stilleri */
.training-rich-text {
    line-height: 1.7;
    color: #334155;
}
.training-rich-text p {
    margin-bottom: 0.75rem;
}
.training-rich-text p:last-child {
    margin-bottom: 0;
}
.training-rich-text h2, .training-rich-text h3, .training-rich-text h4 {
    font-weight: 700;
    color: #0f172a;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.training-rich-text h2 { font-size: 1.15rem; }
.training-rich-text h3 { font-size: 1.05rem; }
.training-rich-text h4 { font-size: 0.95rem; }
.training-rich-text ul, .training-rich-text ol {
    margin-top: 0.4rem;
    margin-bottom: 0.75rem;
    padding-left: 1.4rem;
}
.training-rich-text ul {
    list-style-type: disc !important;
}
.training-rich-text ol {
    list-style-type: decimal !important;
}
.training-rich-text li {
    margin-bottom: 0.35rem;
}
/* Quill 2 madde işaretli listeyi de <ol> içinde kaydeder (li data-list="bullet") */
.training-rich-text li[data-list="bullet"] {
    list-style-type: disc;
}
.training-rich-text a {
    color: #ED1C24;
    text-decoration: underline;
    font-weight: 600;
}
.training-rich-text a:hover {
    color: #b91c1c;
}
.training-rich-text strong, .training-rich-text b {
    font-weight: 700;
    color: #0f172a;
}
.training-rich-text u {
    text-decoration: underline;
}
.training-rich-text em, .training-rich-text i {
    font-style: italic;
}
.training-rich-text s, .training-rich-text strike {
    text-decoration: line-through;
}
.training-rich-text .ql-align-center {
    text-align: center;
}
.training-rich-text .ql-align-right {
    text-align: right;
}
.training-rich-text .ql-align-justify {
    text-align: justify;
}

