/**
 * SD Kurs Sistemi Stil Dosyası
 */

/* Admin Paneli Stilleri */

/* Metabox Genel Stil */
.sd-kurs-metabox {
    margin-bottom: 20px;
}

.sd-kurs-tabs {
    margin-top: 15px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Tab Yapısı */
.sd-kurs-tabs .ui-tabs-nav {
    margin: 0;
    padding: 0;
    background: #f7f7f7;
    border-bottom: 1px solid #ddd;
    display: flex;
    list-style: none;
}

.sd-kurs-tabs .ui-tabs-nav li {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    position: relative;
}

.sd-kurs-tabs .ui-tabs-nav li a {
    display: block;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    border-right: 1px solid #ddd;
    transition: all 0.2s ease;
    font-size: 13px;
}

.sd-kurs-tabs .ui-tabs-nav li.ui-tabs-active a {
    background: #fff;
    color: #0073aa;
    border-bottom: 2px solid #0073aa;
    margin-bottom: -1px;
}

.sd-kurs-tabs .ui-tabs-nav li a:hover {
    background: #fafafa;
    color: #0073aa;
}

.sd-kurs-tabs .ui-tabs-panel {
    padding: 20px;
    background: #fff;
}

/* Müfredat Düzenleyici */
.sd-kurs-section-container {
    margin-top: 0;
    position: relative;
}

.sd-kurs-sections {
    margin-bottom: 20px;
}

.sd-kurs-section {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    margin-bottom: 15px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

.sd-kurs-section:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.sd-kurs-section-header {
    background: #f1f1f1;
    padding: 12px 15px;
    cursor: move;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
}

.sd-kurs-section-header input {
    flex-grow: 1;
    margin: 0 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 6px 10px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
}

.sd-kurs-section-header input:focus {
    border-color: #0073aa;
    box-shadow: 0 0 2px rgba(0, 115, 170, 0.8);
}

.sd-kurs-section-content {
    padding: 15px;
    background: #fff;
    display: none;
}

.sd-kurs-section.expanded .sd-kurs-section-content {
    display: block;
}

.sd-kurs-handle {
    cursor: move;
    color: #72777c;
    margin-right: 5px;
}

.sd-kurs-handle:hover {
    color: #0073aa;
}

.sd-kurs-toggle {
    cursor: pointer;
    color: #72777c;
    margin-left: auto;
    margin-right: 10px;
}

.sd-kurs-toggle:hover {
    color: #0073aa;
}

.sd-kurs-delete {
    cursor: pointer;
    color: #a00;
    transition: color 0.2s ease;
}

.sd-kurs-delete:hover {
    color: #dc3232;
}

/* Ders Stilleri */
.sd-kurs-lessons {
    margin-bottom: 15px;
}

/* İstisna Butonu Stilleri */
.sd-kurs-exceptions, 
.sd-kurs-exceptions.dashicons,
.sd-kurs-exceptions.dashicons.active,
.sd-kurs-exceptions.dashicons:hover,
#sd-kurs-exceptions-dialog,
#sd-kurs-exceptions-dialog p,
#sd-kurs-exceptions-dialog select,
#sd-kurs-exceptions-dialog option,
.sd-kurs-exceptions-loading,
.sd-kurs-exceptions-info {
    display: none !important;
}

.sd-kurs-lesson {
    background: #fff;
    border: 1px solid #e5e5e5;
    margin-bottom: 10px;
    border-radius: 3px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.sd-kurs-lesson:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sd-kurs-lesson-header {
    padding: 10px 12px;
    cursor: move;
    display: flex;
    align-items: center;
    background: #f7f7f7;
    border-bottom: 1px solid #e5e5e5;
}

.sd-kurs-lesson-header input {
    flex-grow: 1;
    margin: 0 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 5px 8px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
}

.sd-kurs-lesson-header input:focus {
    border-color: #0073aa;
    box-shadow: 0 0 2px rgba(0, 115, 170, 0.8);
}

.sd-kurs-lesson-content {
    padding: 15px;
    background: #fff;
    display: none;
    border-top: 1px solid #e5e5e5;
}

.sd-kurs-lesson.expanded .sd-kurs-lesson-content {
    display: block;
}

/* Video URL ve Süre inputlarını yan yana düzenleme */
.sd-kurs-lesson-fields {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.sd-kurs-field-video-url {
    flex: 0 0 80%;
}

.sd-kurs-field-duration {
    flex: 0 0 20%;
}

.sd-kurs-lesson-row {
    margin-bottom: 12px;
}

.sd-kurs-lesson-row label {
    display: block;
    font-weight: 500;
    color: #555;
    font-size: 13px;
    margin-bottom: 5px;
}

.sd-kurs-lesson-row input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 6px 10px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
}

.sd-kurs-lesson-row input:focus {
    border-color: #0073aa;
    box-shadow: 0 0 2px rgba(0, 115, 170, 0.8);
}

/* Butonlar */
.sd-kurs-add-section {
    margin-top: 15px;
    background: #0073aa;
    border-color: #006799;
    color: #fff;
    box-shadow: 0 1px 0 #006799;
    text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
    padding: 8px 15px;
    height: auto;
    font-size: 14px;
    line-height: normal;
    transition: all 0.2s ease;
}

.sd-kurs-add-section:hover,
.sd-kurs-add-section:focus {
    background: #008bce;
    border-color: #006799;
    color: #fff;
}

.sd-kurs-add-lesson {
    margin-top: 10px;
    display: inline-block;
    background: #f7f7f7;
    border: 1px solid #ccc;
    color: #555;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
}

.sd-kurs-add-lesson:hover {
    background: #f0f0f0;
    border-color: #999;
}

/* Satış Ayarları */
.sd-kurs-sales-settings {
    padding: 10px 0;
}

.sd-kurs-sales-option {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    transition: border-color 0.2s ease;
}

.sd-kurs-sales-option:hover {
    border-color: #ccc;
}

.sd-kurs-sales-option input[type="radio"] {
    margin-top: 2px;
}

.sd-kurs-sales-option label {
    font-weight: 600;
    margin-left: 5px;
    color: #333;
    vertical-align: top;
}

.sd-kurs-sales-option .description {
    margin: 8px 0 0 24px;
    color: #666;
    font-style: italic;
    font-size: 13px;
    line-height: 1.5;
}

/* Yardım Metinleri */
.sd-kurs-metabox .description {
    font-style: italic;
    color: #666;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
}

/* Sürüklenebilir Öğeler */
.sd-kurs-section.ui-sortable-helper,
.sd-kurs-lesson.ui-sortable-helper {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
    background: #fff;
}

.sd-kurs-section.ui-sortable-placeholder,
.sd-kurs-lesson.ui-sortable-placeholder {
    border: 2px dashed #ddd;
    background: rgba(247, 247, 247, 0.7);
    visibility: visible !important;
    height: 40px;
    margin-bottom: 15px;
}

/* Textarea Stilleri */
.sd-kurs-tabs textarea.widefat {
    border: 1px solid #ddd;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
    transition: border-color 0.2s ease;
}

.sd-kurs-tabs textarea.widefat:focus {
    border-color: #0073aa;
    box-shadow: 0 0 2px rgba(0, 115, 170, 0.8);
}

/* Front-end Stilleri - Udemy Benzeri Tasarım */
.sd-kurs-container {
    margin: 0;
    padding: 0;
    font-family: inherit;
    color: #1c1d1f;
    line-height: 1.4;
}

/* Hero Bölümü - Arkaplan ve Başlık alanı */
.sd-kurs-hero-bg {
    background-color: #1c1d1f;
    padding: 40px 0 40px;
    color: #fff;
    margin-bottom: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.sd-kurs-hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--hero-bg-image);
    background-size: cover;
    background-position: center center;
    opacity: 0.2;
    z-index: 1;
}

.sd-kurs-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    z-index: 2;
}

.sd-kurs-header {
    max-width: 700px;
    flex: 1;
}

.sd-kurs-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.2;
}

.sd-kurs-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ccc;
}

/* Puan ve meta bilgiler */
.sd-kurs-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
    gap: 15px;
}

.sd-kurs-badge {
    background: #eceb98;
    color: #3d3c0a;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.sd-kurs-badge-popular {
    background: #ff9900;
    color: #fff;
}

.sd-kurs-rating {
    display: flex;
    align-items: center;
    color: #f69c08;
    gap: 5px;
}

.sd-kurs-rating-number {
    font-weight: 700;
    font-size: 15px;
}

.sd-kurs-rating-stars {
    display: flex;
    gap: 1px;
}

.sd-kurs-rating-stars i {
    color: #f69c08;
}

.sd-kurs-rating-count {
    color: #ccc;
    font-size: 14px;
}

.sd-kurs-students {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ccc;
    font-size: 14px;
}
.sd-kurs-container span.amount {
    color: #ffffff !important;}


/* Eğitmen */
.sd-kurs-teacher {
    margin-bottom: 15px;
    font-size: 14px;
    color: #ccc;
}

.sd-kurs-teacher-name {
    color: #99bb06;
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
}

.sd-kurs-teacher-name:hover {
    text-decoration: underline;
    color: #99bb06;
}

/* Bilgi etiketleri */
.sd-kurs-info-tags {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.sd-kurs-info-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #ccc;
}

.sd-kurs-info-tag i {
    font-size: 16px;
}

/* Ana içerik alanı */
.sd-kurs-main {
    max-width: 1200px;
    margin: 40px auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.sd-kurs-content {
    min-width: 0;
    max-width: 100%;
}

/* Bilgi kartları - SEKME YAPISI İLE DEĞİŞTİRİLDİ */
/* .sd-kurs-info-card { ... removed ... } */
/* .sd-kurs-info-card h3 { ... removed ... } */
.sd-kurs-info-list { /* Still used inside tabs */
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 8px;
}

.sd-kurs-info-list li {
    margin-bottom: 8px !important;
    padding-left: 28px !important;
    position: relative !important;
    line-height: 1.6 !important;
    font-size: 14px !important;
    display: flex !important; /* Use flex for alignment */
    align-items: center !important; /* Vertically align icon and text */
    padding-left: 0 !important; /* Reset padding */
    margin-bottom: 12px !important;
}

.sd-kurs-info-list li i {
    /* position: absolute !important; Removed */
    /* left: 0 !important; Removed */
    /* top: 3px !important; Removed */
    color: #99bb06 !important;
    /* font-size: 16px !important; Removed */
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    background-color: #f7f9fa !important;
    border-radius: 50% !important;
    margin-right: 12px !important;
    font-size: 12px !important;
    border: 1px solid #e1e1e1 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
    flex-shrink: 0 !important;
}

.sd-kurs-info-list li:hover i {
    background-color: #99bb06 !important;
    color: white !important;
    transform: scale(1.05) !important;
    transition: all 0.2s ease !important;
}

/* Added: Tab Styles */
.sd-kurs-info-tabs {
    margin-bottom: 32px;
    border: 1px solid #d1d7dc;
    border-radius: 4px;
    background-color: #fff;
    overflow: hidden; /* Ensures border radius applies correctly */
}

.sd-kurs-info-tabs-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    background-color: #f7f9fa;
    border-bottom: 1px solid #d1d7dc;
}

.sd-kurs-info-tabs-nav li {
    margin: 0;
}

.sd-kurs-info-tabs-nav li a {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    color: #6a6f73;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    margin-bottom: -1px; /* Overlap border */
}

.sd-kurs-info-tabs-nav li a:hover {
    color: #99bb06;
}

.sd-kurs-info-tabs-nav li.active a {
    color: #1c1d1f;
    border-bottom-color: #99bb06;
}

.sd-kurs-info-tab-content {
    display: none; /* Hide inactive tabs */
    padding: 24px;
}

.sd-kurs-info-tab-content.active {
    display: block; /* Show active tab */
}

/* Accordion headers are hidden on desktop by default */
.sd-kurs-accordion-header {
    display: none;
}


/* Mobile: Accordion Styles */
@media (max-width: 768px) {
    .sd-kurs-info-tabs-nav {
        display: none !important; /* Hide original tab navigation on mobile */
    }

    .sd-kurs-accordion-header {
        display: flex !important; /* Show accordion headers on mobile */
        background-color: #f7f9fa;
        padding: 14px 20px;
        cursor: pointer;
        font-weight: 600;
        color: #1c1d1f;
        border: 1px solid #d1d7dc;
        border-top: none; 
        position: relative;
        justify-content: space-between;
        align-items: center;
    }
    
    .sd-kurs-info-tabs .sd-kurs-accordion-header:first-of-type {
        border-top: 1px solid #d1d7dc;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
    }

    .sd-kurs-info-tab-content {
        /* display: none; /* JS will handle display toggle, ensure it starts hidden if not active */
        padding: 15px;
        border-left: 1px solid #d1d7dc;
        border-right: 1px solid #d1d7dc;
        border-bottom: 1px solid #d1d7dc;
    }
    
    .sd-kurs-info-tabs .sd-kurs-info-tab-content:last-of-type {
         border-bottom-left-radius: 3px;
         border-bottom-right-radius: 3px;
    }

    .sd-kurs-info-tab-content.active {
        display: block !important; /* JS will add this class to show content */
    }
    
    .sd-kurs-accordion-header.active {
        background-color: #eef0f2; /* Slightly different background for active header */
    }

    .sd-kurs-accordion-header::after {
        content: '\f078'; /* FontAwesome chevron-down */
        font-family: "Font Awesome 5 Free";
        font-weight: 900; /* Solid icon */
        transition: transform 0.2s ease;
    }

    .sd-kurs-accordion-header.active::after {
        transform: rotate(180deg); /* Chevron-up */
    }

    /* Adjust main container border for accordion view */
    .sd-kurs-info-tabs {
        border: none; /* Remove main container border, items will form the new border */
    }
}

/* Kurs içeriği bölümü */
.sd-kurs-curriculum {
    margin-bottom: 32px;
}

.sd-kurs-curriculum h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1c1d1f;
}

.sd-kurs-curriculum-header {
    margin-bottom: 16px;
    color: #6a6f73;
    font-size: 14px;
    font-weight: 400;
}

/* Bölüm tasarımı */
.sd-kurs-section-item {
    border: 1px solid #d1d7dc;
    border-radius: 4px;
    margin-bottom: 8px;
    overflow: hidden;
}

.sd-kurs-section-header {
    background-color: #f7f9fa;
    padding: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sd-kurs-section-title {
    font-weight: 700;
    font-size: 16px;
    color: #1c1d1f;
}

.sd-kurs-section-meta {
    font-size: 13px;
    color: #6a6f73;
    margin-top: 4px;
}

.sd-kurs-section-toggle {
    font-size: 14px;
    color: #1c1d1f;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

/* Dersler listesi */
.sd-kurs-section-content {
    display: none;
    border-top: 1px solid #d1d7dc;
    background-color: #fff;
}

.sd-kurs-lesson-list {
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sd-kurs-lesson-item {
    padding: 16px !important;
    border-bottom: 1px solid #d1d7dc !important;
    position: relative !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 14px !important;
}

.sd-kurs-lesson-item:last-child {
    border-bottom: none !important;
}

.sd-kurs-lesson-item:before {
    content: "\f144" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 400 !important;
    position: absolute !important;
    left: 16px !important;
    color: #6a6f73 !important;
}

.sd-kurs-lesson-title {
    flex-grow: 1 !important;
    color: #1c1d1f !important;
    padding-left: 25px !important;
}

.sd-kurs-lesson-duration {
    color: #6a6f73 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

/* Added: Badge style for duration */
.sd-kurs-lesson-duration-badge {
    background-color: #f0f0f0;
    border: 1px solid #e0e0e0;
    border-radius: 12px; /* Rounded corners */
    padding: 3px 10px;
    font-size: 12px !important; /* Smaller font */
    line-height: 1;
    white-space: nowrap; /* Prevent wrapping */
    color: #555 !important; /* Darker text */
}

.sd-kurs-lesson-duration-badge i {
    margin-right: 5px;
    color: #888; /* Icon color */
}
/* End Added */

/* Added: Base Button Styles */
.sd-kurs-addtocart-btn,
.sd-kurs-whatsapp-btn,
.sd-kurs-watch-btn {
    display: block !important;
    width: 100% !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 16px !important; /* Default padding */
    font-size: 16px !important; /* Default font size */
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    margin-bottom: 16px !important; /* Default margin */
}

.sd-kurs-addtocart-btn i,
.sd-kurs-whatsapp-btn i,
.sd-kurs-watch-btn i {
    margin-right: 8px !important;
}

.sd-kurs-addtocart-btn {
    background-color: #99bb06 !important;
}
.sd-kurs-addtocart-btn:hover {
    background-color: #00b5a9 !important;
    color: white !important;
    text-decoration: none !important;
}

.sd-kurs-whatsapp-btn {
    background-color: #25D366 !important;
}
.sd-kurs-whatsapp-btn:hover {
    background-color: #20bd5a !important;
    color: white !important;
    text-decoration: none !important;
}

.sd-kurs-watch-btn {
    background-color: #99bb06 !important; /* Same as add to cart, adjust if needed */
}
.sd-kurs-watch-btn:hover {
    background-color: #00b5a9 !important;
    color: white !important;
    text-decoration: none !important;
}
/* End Added: Base Button Styles */

/* Sidebar kartı - SİLİNDİ */
/* .sd-kurs-sidebar-card { ... styles removed ... } */

/* Öğrenecekleriniz bölümü - SEKME YAPISI İLE DEĞİŞTİRİLDİ */
/* .sd-kurs-learn-section { ... removed ... } */
/* .sd-kurs-info-card.sd-kurs-what-learn { ... removed ... } */
/* .sd-kurs-learn-section > h2 { ... removed ... } */
/* .sd-kurs-info-card.sd-kurs-what-learn h2 { ... removed ... } */
/* .sd-kurs-info-card.sd-kurs-what-learn .sd-kurs-info-list { ... removed ... } */
/* .sd-kurs-info-card.sd-kurs-what-learn .sd-kurs-info-list li { ... removed ... } */
/* .sd-kurs-info-card.sd-kurs-what-learn .sd-kurs-info-list li i { ... removed ... } */

/* Süre badge - BU STİL YUKARIDA sd-kurs-lesson-duration-badge İÇİN TANIMLANDI */
/* .sd-kurs-duration-badge { ... removed ... } */

/* Öğrenecekleriniz, Gereksinimler ve Kimler İçin Uygun bölümleri ikon stilleri - .sd-kurs-info-list altında güncellendi */
/* .sd-kurs-info-card.sd-kurs-what-learn .sd-kurs-info-list li, ... removed ... */
/* .sd-kurs-info-card.sd-kurs-what-learn .sd-kurs-info-list li i, ... removed ... */
/* Hover efektleri - .sd-kurs-info-list altında güncellendi */
/* .sd-kurs-info-card.sd-kurs-what-learn .sd-kurs-info-list li:hover i, ... removed ... */

/* Mobil düzenlemeler */
@media (max-width: 768px) {
    /* .sd-kurs-info-list { grid-template-columns: 1fr; } - Bu kural yukarı taşındı */
    
    .sd-kurs-content {
        width: 100%;
        max-width: 100%;
    }
    
    .sd-kurs-hero-bg {
        padding: 20px 0 100px;
    }
    
    .sd-kurs-header h1 {
        font-size: 24px;
    }
    
    .sd-kurs-info-tab-content .sd-kurs-info-list {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}

/* Öğrenme hedefleri - 2 kolon grid yapısı - SEKME YAPISI İLE DEĞİŞTİRİLDİ */
/* .sd-kurs-info-card.sd-kurs-what-learn .sd-kurs-info-list { ... removed ... } */
/* .sd-kurs-info-card.sd-kurs-what-learn .sd-kurs-info-list li { ... removed ... } */

/* Hero içindeki önizleme görüntüsü - BU KISIM sd-kurs-hero-actions İÇİNE TAŞINDI */
/* .sd-kurs-hero-preview { ... removed ... } */
/* .sd-kurs-preview-image { ... removed ... } */
/* .sd-kurs-preview-image img { ... removed ... } */
/* .sd-kurs-play-overlay { ... removed ... } */
/* .sd-kurs-play-overlay:hover { ... removed ... } */
/* .sd-kurs-play-overlay i { ... removed ... } */
/* .sd-kurs-play-overlay span { ... removed ... } */

/* Mobil görünüm için düzeltmeler */
@media (max-width: 991px) {
    .sd-kurs-hero-content {
        flex-direction: column;
        align-items: center;
    }
    
    .sd-kurs-hero-actions {
        width: 100%;
        max-width: 400px;
        margin-top: 20px;
        order: 1;
    }
    
    .sd-kurs-header {
        order: 2;
        max-width: 100%;
        text-align: center;
    }
    
    .sd-kurs-hero-preview {
        width: 100%;
        margin-top: 30px;
        margin-right: 0;
    }
    
    .sd-kurs-main {
        margin-top: -60px;
    }
}

@media (max-width: 768px) {
    .sd-kurs-hero-bg {
        padding: 30px 0 80px;
    }
}

/* Bu kurs şunları içerir bölümü */
.sd-kurs-includes {
    padding: 20px 0;
    border-top: 1px solid #efefef;
    margin-top: 20px;
}

.sd-kurs-includes h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1c1d1f;
    margin-bottom: 16px;
}

.sd-kurs-includes ul {
    padding: 0 !important;
    margin: 0 !important;
    list-style-type: none !important;
}

.sd-kurs-includes li {
    display: flex;
    align-items: center;
    margin-bottom: 12px !important;
    font-size: 14px;
    color: #1c1d1f;
    position: relative;
    padding-left: 0 !important;
}

.sd-kurs-includes li i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #f7f9fa;
    border-radius: 50%;
    margin-right: 12px;
    color: #99bb06;
    font-size: 12px;
    border: 1px solid #e1e1e1;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.sd-kurs-includes li:hover i {
    background-color: #99bb06;
    color: white;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* Özel simge stilleri */
.sd-kurs-includes li .fa-play-circle {
    color: #99bb06;
}

.sd-kurs-includes li .fa-clock {
    color: #2896ff;
}

.sd-kurs-includes li .fa-infinity {
    color: #eb4d55;
}

.sd-kurs-includes li .fa-mobile-alt {
    color: #1fbd50;
}

.sd-kurs-includes li .fa-certificate {
    color: #f69c08;
}

.sd-kurs-includes li:hover .fa-play-circle,
.sd-kurs-includes li:hover .fa-clock,
.sd-kurs-includes li:hover .fa-infinity,
.sd-kurs-includes li:hover .fa-mobile-alt,
.sd-kurs-includes li:hover .fa-certificate {
    color: white;
}

/* Added: New hero actions block styles */
.sd-kurs-hero-actions {
    width: 350px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    margin-top: 10px;
}

.sd-kurs-hero-price {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.sd-kurs-hero-actions .sd-kurs-addtocart-btn,
.sd-kurs-hero-actions .sd-kurs-whatsapp-btn,
.sd-kurs-hero-actions .sd-kurs-watch-btn {
    padding: 12px;
    font-size: 15px;
    margin-bottom: 12px;
}

.sd-kurs-guarantee-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 13px;
    color: #eee;
    text-align: center;
}

.sd-kurs-guarantee-hero i {
    color: #99bb06;
}

/* Added: Hero action image and play button styles */
.sd-kurs-hero-image-container {
    position: relative;
    margin-bottom: 15px;
    border-radius: 4px; /* Match image radius */
    overflow: hidden; /* Ensure play button stays inside */
}

.sd-kurs-hero-action-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    opacity: 0.8; /* Slightly dim the image */
}

.sd-kurs-hero-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    cursor: default; /* Non-functional */
    transition: background-color 0.3s ease;
}

.sd-kurs-hero-play-button i {
    margin-left: 3px; /* Center the play icon */
}

.sd-kurs-hero-image-container:hover .sd-kurs-hero-play-button {
    background-color: rgba(0, 0, 0, 0.9);
}
/* End Added */

/* Added: Hero Includes Section Styles */
.sd-kurs-hero-separator { 
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15);
    margin: 25px 0;
}

.sd-kurs-hero-includes {
    margin-top: 0; 
    padding-top: 0; 
}

.sd-kurs-hero-includes h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.sd-kurs-hero-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 15px;
}

.sd-kurs-hero-includes li {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #e0e0e0;
    position: relative;
    margin-bottom: 0;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.sd-kurs-hero-includes li:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.sd-kurs-hero-includes li:last-child { 
    margin-bottom: 0;
}

.sd-kurs-hero-includes li i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 8px;
    color: #99bb06; 
    font-size: 11px;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .sd-kurs-hero-includes ul {
        grid-template-columns: 1fr; 
    }
}
/* End Added: Hero Includes Styles */

.sd-kurs-hero-preview {
    width: 100%;
}

.sd-kurs-important-notes {
    font-size: 15px;
    line-height: 1.6;
    color: #222;
}

#tab-important-notes {
    position: relative;
}

#tab-important-notes::before {
    content: '';
    display: block;
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #ca3232;
}

.sd-kurs-info-tabs-nav li a[href="#tab-important-notes"] {
    position: relative;
}

.sd-kurs-info-tabs-nav li a[href="#tab-important-notes"] i {
    color: #ca3232;
}

.sd-kurs-info-tabs-nav li.active a[href="#tab-important-notes"] {
    border-bottom-color: #ca3232;
}

/* İstisna butonu stilleri */
.sd-kurs-exceptions.dashicons {
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    text-align: center;
    color: inherit;
    position: relative;
    top: 3px;
}

.sd-kurs-exceptions.dashicons.active {
    color: #d63638;
}

.sd-kurs-exceptions.dashicons:hover {
    color: #007cba;
}

/* Mobile Accordion Styles */

/* Hide accordion headers by default (desktop) */
.sd-kurs-accordion-header {
    display: none;
}

@media (max-width: 768px) {
    /* Hide tab navigation on mobile */
    .sd-kurs-front-tabs .ui-tabs-nav {
        display: none !important;
    }

    /* Accordion header styles */
    .sd-kurs-accordion-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-bottom: none;
        cursor: pointer;
        font-weight: 600;
        font-size: 16px;
        color: #333;
        transition: all 0.3s ease;
        position: relative;
        margin-bottom: 0;
    }

    .sd-kurs-accordion-header:last-of-type {
        border-bottom: 1px solid #dee2e6;
    }

    .sd-kurs-accordion-header:hover {
        background-color: #e9ecef;
    }

    .sd-kurs-accordion-header.active {
        background-color: #99bb06;
        color: white;
        border-color: #2da399;
    }

    /* Chevron icon */
    .sd-kurs-accordion-header::after {
        content: '\f078';
        font-family: 'FontAwesome', 'dashicons';
        font-size: 14px;
        transition: transform 0.3s ease;
    }

    .sd-kurs-accordion-header.active::after {
        transform: rotate(180deg);
    }

    /* Content styles */
    .sd-kurs-front-tabs .ui-tabs-panel {
        border: 1px solid #dee2e6;
        border-top: none;
        margin-bottom: 0;
        border-radius: 0;
        display: none;
    }

    .sd-kurs-front-tabs .ui-tabs-panel.active {
        display: block;
    }

    /* Adjust content spacing */
    .sd-kurs-front-tabs .ui-tabs-panel.ui-tabs-hide {
        display: none !important;
    }

    /* Remove default border radius from first and last items */
    .sd-kurs-accordion-header:first-of-type {
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }

    .sd-kurs-front-tabs .ui-tabs-panel:last-of-type {
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        border-bottom: 1px solid #dee2e6;
    }
}
