/* E-Kitap Setleri Frontend Stilleri */

.ba-ebooks-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.ba-ebooks-header {
    margin-bottom: 40px;
    text-align: center;
}

.ba-ebooks-header h1 {
    font-size: 2.5em;
    color: #333;
    margin: 0;
}

/* Grid Layout */
.ba-ebooks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Set Kartı */
.ba-ebook-set-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.ba-ebook-set-card:hover {
    transform: translateY(-5px);
}

/* Set Görseli */
.set-image {
    position: relative;
    padding-top: 60%;
    background: #f5f5f5;
}

.set-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Set Bilgileri */
.set-info {
    padding: 8px 15px;
}

.set-title {
    font-size: 1.5em;
    margin: 0 0 10px;
    color: #333;
}

.set-category {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.set-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #666;
}

.set-actions {
    text-align: center;
}

.view-set {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.view-set:hover {
    background: #005177;
    color: #fff;
}

/* Boş Durum */
.ba-ebooks-empty {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 10px;
}

.ba-ebooks-empty p {
    margin-bottom: 20px;
    color: #666;
}

/* Responsive Tasarım */
@media (max-width: 767px) {
    .ba-ebooks-container {
        padding: 15px;
    }
    
    .ba-ebooks-header h1 {
        font-size: 2em;
    }
    
    .ba-ebooks-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .ba-ebooks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ba-ebooks-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Set Detay Sayfası */
.ba-set-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.ba-set-header h1 {
    font-size: 2em;
    color: #333;
    margin: 0 0 10px;
}

.set-category {
    color: #666;
    font-size: 0.9em;
}

.back-link {
    color: #0073aa;
    text-decoration: none;
    font-size: 0.9em;
}

.back-link:hover {
    color: #005177;
}

.set-description {
    margin-bottom: 40px;
    color: #666;
    line-height: 1.6;
}

/* Kitap Grid */
.ba-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Kitap Kartı */
.ba-book-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

.ba-book-card:hover {
    transform: translateY(-5px);
}

.ba-book-card.last-read {
    border: 2px solid #0073aa;
}

/* Kitap Görseli */
.book-image {
    position: relative;
    padding-top: 140%;
    background: #f5f5f5;
}

.book-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.last-read-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #0073aa;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8em;
}

/* Kitap Bilgileri */
.book-info {
    padding: 20px;
}

.book-title {
    font-size: 1.2em;
    margin: 0 0 10px;
    color: #333;
    line-height: 1.4;
}

.book-excerpt {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 15px;
}

.book-actions {
    text-align: center;
}

.read-book {
    display: inline-block;
    padding: 8px 16px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.read-book:hover {
    background: #005177;
    color: #fff;
}

@media (max-width: 767px) {
    .ba-set-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .set-navigation {
        order: -1;
    }
    
    .ba-books-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .book-image {
        padding-top: 120%;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .ba-books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .ba-books-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Okuyucu Sayfası */
.ba-reader-container {
    display: flex;
    min-height: 100vh;
    background: #f5f5f5;
}

/* Sidebar */
.ba-reader-sidebar {
    width: 300px;
    background: #fff;
    border-right: 1px solid #ddd;
    overflow-y: auto;
    position: relative;
    transition: margin-left 0.3s ease;
}

.ba-reader-sidebar.collapsed {
    margin-left: -300px;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
}

.sidebar-header h2 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toggle-sidebar {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background 0.3s ease;
}

.toggle-icon {
    width: 20px;
    height: 20px;
    position: relative;
    display: inline-block;
}

.toggle-icon::before,
.toggle-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: transform 0.3s ease;
}

.toggle-icon::before {
    top: 6px;
}

.toggle-icon::after {
    top: 12px;
}

.sidebar-content {
    padding: 20px;
    height: calc(100vh - 140px);
    overflow-y: auto;
}

/* Search */
.book-search {
    margin-bottom: 20px;
}

.book-search input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

/* Book List */
.book-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.book-list li {
    margin-bottom: 10px;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.book-list li:hover {
    background: #f0f0f0;
}

.book-list li.current {
    background: #0073aa;
    color: #fff;
}

.book-list .book-title {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.9em;
    line-height: 1.3;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #ddd;
}

.back-to-set {
    display: block;
    text-align: center;
    color: #0073aa;
    text-decoration: none;
}

.back-to-set:hover {
    color: #005177;
}

/* Main Content */
.ba-reader-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    transition: margin-left 0.3s ease;
}

.ba-reader-content.expanded {
    margin-left: 0;
}

.reader-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.reader-header h1 {
    margin: 0;
    font-size: 2em;
    color: #333;
}

.reader-body {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    line-height: 1.8;
}

@media (max-width: 767px) {
    .ba-reader-container {
        flex-direction: column;
    }
    
    .ba-reader-sidebar {
        width: 280px;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    .ba-reader-content {
        padding: 15px;
    }
    
    .reader-header h1 {
        font-size: 1.4em;
        line-height: 1.3;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .ba-reader-sidebar {
        width: 240px;
    }
    
    .ba-reader-content {
        padding: 20px;
    }
    
    .reader-header h1 {
        font-size: 1.6em;
    }
}

/* Responsive Tasarım İyileştirmeleri */
@media (max-width: 480px) {
    .ba-ebooks-container {
        padding: 10px;
    }
    
    .ba-ebooks-header h1 {
        font-size: 1.8em;
    }
    
    .set-info {
        padding: 5px 12px;
    }
    
    .set-title {
        font-size: 1.3em;
    }
    
    .view-set {
        width: 100%;
        padding: 12px;
    }
}

/* Dokunmatik Cihaz İyileştirmeleri */
@media (hover: none) {
    .ba-ebook-set-card {
        transform: none !important;
    }
    
    .ba-book-card {
        transform: none !important;
    }
    
    .book-list li {
        padding: 12px;
    }
    
    .view-set,
    .read-book {
        padding: 12px 24px;
    }
}

/* Yüksek DPI Ekranlar İçin İyileştirmeler */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .book-image img,
    .set-image img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Karanlık Mod Desteği */
@media (prefers-color-scheme: dark) {
    .ba-reader-sidebar {
        background: #1a1a1a;
        border-color: #333;
    }
    
    .sidebar-header {
        border-color: #333;
    }
    
    .book-list li:hover {
        background: #2a2a2a;
    }
    
    .book-search input {
        background: #2a2a2a;
        border-color: #333;
        color: #fff;
    }
    
    .toggle-icon,
    .toggle-icon::before,
    .toggle-icon::after {
        background: #fff;
    }
    
    .ba-reader-content {
        background: #1a1a1a;
        color: #fff;
    }
    
    .reader-header {
        border-color: #333;
    }
    
    .reader-header h1 {
        color: #fff;
    }
    
    .reader-body {
        color: #eee;
    }
}

/* Performans İyileştirmeleri */
.ba-reader-sidebar,
.ba-reader-content,
.ba-ebook-set-card,
.ba-book-card {
    will-change: transform;
    backface-visibility: hidden;
}

/* Dilekçe Şablonları Bölümü Stilleri */
.dilekce-bolumu {
  background: #f9f9fa;
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
  border: 1px solid #eaeaea;
}

.dilekce-baslik {
  color: #333;
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
  padding-left: 32px;
}

.dilekce-baslik:before {
  content: "📝";
  position: absolute;
  left: 0;
  top: 0;
}

.dilekce-aciklama {
  color: #666;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.dilekce-liste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
}

.dilekce-kart {
  background: white;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.dilekce-kart:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  border-color: #ddd;
}

.dilekce-kart h3 {
  font-size: 17px;
  margin-top: 0;
  margin-bottom: 10px;
  color: #333;
  font-weight: 600;
}

.dilekce-kart p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

.btn-dilekce {
  background: var(--blue, #0073aa);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
  display: inline-block;
}

.btn-dilekce:hover {
  background: #005788;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Masraf Hesaplayıcı Bölümü Stilleri */
.masraf-hesaplayici-bolumu {
  background: #f9f9fa;
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
  border: 1px solid #eaeaea;
}

.hesaplayici-baslik {
  color: #333;
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
  padding-left: 32px;
}

.hesaplayici-baslik:before {
  content: "💰";
  position: absolute;
  left: 0;
  top: 0;
}

.hesaplayici-aciklama {
  color: #666;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.hesaplayici-form {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
  border: 1px solid #eee;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #444;
  font-size: 15px;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: var(--blue, #0073aa);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}

/* Dilekçe Popup Stilleri */
.dilekce-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9998;
  backdrop-filter: blur(3px);
}

.dilekce-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: white;
  border-radius: 10px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.dilekce-popup-header {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dilekce-popup-header h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.dilekce-kapat {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #777;
  padding: 0 5px;
  transition: color 0.3s;
}

.dilekce-kapat:hover {
  color: #333;
}

.dilekce-popup-body {
  padding: 20px;
  overflow-y: auto;
  flex-grow: 1;
  font-family: 'Times New Roman', Times, serif;
  line-height: 1.8;
}

.dilekce-popup-footer {
  padding: 15px 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.dilekce-popup-footer button {
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
  border: 1px solid #ddd;
  background: #f5f5f5;
  color: #333;
}

.dilekce-popup-footer button:hover {
  background: #eee;
}

.btn-print, .btn-download {
  background: var(--blue, #0073aa) !important;
  color: white !important;
  border-color: var(--blue, #0073aa) !important;
}

.btn-print:hover, .btn-download:hover {
  background: #005788 !important;
}

/* Responsive düzenlemeler */
@media (max-width: 767px) {
  .dilekce-liste,
  .hesaplayici-form {
    grid-template-columns: 1fr;
  }
  
  .dilekce-popup {
    width: 95%;
    max-height: 95vh;
  }
  
  .dilekce-popup-body {
    padding: 15px;
  }
  
  .dilekce-popup-footer {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .dilekce-popup-footer button {
    flex: 1 0 40%;
    text-align: center;
  }
}

/* Sadeleştir ve Soru Sor bölümleri */
.sadelestir-response, .sorusor-response {
  margin-top: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #e2e2e2;
  overflow: hidden;
}

.sadelestir-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sadelestir-header {
  background: #f1f1f1;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  border-bottom: 1px solid #e2e2e2;
  position: relative;
  height: 46px;
}

.close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.9;
}

.close-button:hover {
  background-color: #005177;
  transform: scale(1.1);
  opacity: 1;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.25);
}

.sadelestir-content {
  padding: 25px 30px;
  line-height: 1.7;
  font-size: 16px;
  color: #333;
  background: #fff;
}

/* Sadeleştir içeriği sorunlarını çözmek için ek kurallar */
.sadelestir-content a,
.sadelestir-content a:hover,
.sadelestir-content a:visited,
.sadelestir-content a:active,
.sadelestir-content span,
.sadelestir-content font,
.sadelestir-content b:not(strong),
.sadelestir-content [style*="color"],
.sadelestir-content [color] {
    color: #333 !important;
    background-color: transparent !important;
    border: none !important;
    text-decoration: none !important;
    font-weight: normal !important;
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: inherit !important;
}

/* Hiyerarşiyi arttırmak için ekstra seçiciler */
body .sadelestir-container .sadelestir-content p,
html body .sadelestir-container .sadelestir-content p {
    color: #333 !important;
    background-color: transparent !important;
    display: block !important;
    margin-bottom: 16px !important;
    text-align: justify !important;
    line-height: 1.7 !important;
}

/* Neden mavi göründüklerini tespit için özel kural */
.sadelestir-content p a[href],
.sadelestir-content p span,
.sadelestir-content p font,
.sadelestir-content p[style],
.sadelestir-content p *[style],
.sadelestir-content p *[color] {
    color: #333 !important;
    background-color: transparent !important;
    font-weight: normal !important;
    display: inline !important;
}

/* Mavi başlıkları düzelt ve yeni stil ver */
.sadelestir-content h3 {
  font-size: 20px !important;
  margin: 30px 0 20px !important;
  color: #0073aa !important;
  border-bottom: 1px solid #e0e0e0 !important;
  padding-bottom: 10px !important;
  font-weight: 600 !important;
  width: 95% !important;
  margin-left: 2.5% !important;
  clear: both !important;
  background-color: transparent !important;
  display: block !important;
}

/* Paragrafları düzelt */
.sadelestir-content p {
  margin-bottom: 18px !important;
  max-width: 95% !important;
  margin-left: 2.5% !important;
  line-height: 1.8 !important;
  background-color: transparent !important;
  padding: 0 !important;
  color: #333 !important;
  display: block !important;
}

/* Mavi renkli ifadeleri temizle */
.sadelestir-content span[style*="color"],
.sadelestir-content font[color],
.sadelestir-content *[style*="color:"],
.sadelestir-content p > b,
.sadelestir-content font {
  color: #333 !important;
  background-color: transparent !important;
}

/* Gri kutuları kaldır ve tüm stil sorunlarını çöz */
.sadelestir-content *:not(blockquote) {
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.sadelestir-content strong {
  font-weight: 600;
  color: #0073aa;
  padding: 0 3px;
}

.sadelestir-content ul, .sadelestir-content ol {
  margin: 20px 0 20px 5%;
  padding-left: 25px;
  width: 90%;
}

.sadelestir-content li {
  margin-bottom: 10px;
  list-style-type: disc;
  line-height: 1.7;
}

.sadelestir-content h3 {
  font-size: 19px;
  margin: 30px 0 20px;
  color: #0073aa;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
  font-weight: 600;
  width: 95%;
  margin-left: 2.5%;
}

.sadelestir-content blockquote {
  margin: 20px 5%;
  padding: 15px 20px;
  border-left: 4px solid #0073aa;
  background: #f9f9fa;
  font-style: italic;
  width: 85%;
}

/* WooCommerce Hesabım Sayfası - Xtra Tema Uyumlu Modern Tasarım v3 */

/* 1. Temanın varsayılan avatar kutusunu tamamen gizle */
.woocommerce-MyAccount-navigation .codevz-account-avatar {
    display: none !important;
}

/* 2. Temanın ana menü konteynerini yeniden şekillendir */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 25% !important; /* Genişliği ayarla */
    background: #ffffff !important; /* Siyah arkaplanı kaldır */
    margin: 0 !important; /* Negatif marginleri sıfırla */
    padding: 20px 0 !important; /* İç boşlukları ayarla */
    border: 1px solid #e9e9e9 !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04) !important;
}

/* 3. Menü listesini düzenle */
.woocommerce-MyAccount-navigation ul {
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 4. Her bir menü elemanını düzenle */
.woocommerce-MyAccount-navigation li {
    padding: 0 !important;
    margin: 0 !important;
}

/* 5. Menü linklerini (ikonlar ve metin) hizala ve şekillendir */
.woocommerce-MyAccount-navigation-link a,
.woocommerce-MyAccount-navigation li a {
    display: flex !important;
    align-items: center !important;
    padding: 14px 25px !important; /* İç boşluğu artır */
    margin-bottom: 4px !important;
    color: #4a4a4a !important;
    font-size: 15px !important;
    border-left: 4px solid transparent !important;
    transition: all 0.25s ease-in-out !important;
    background: none !important; /* Hover efektleri için temiz başlangıç */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 6. İkonların stilini ve konumunu belirle */
.woocommerce-MyAccount-navigation-link a::before,
.woocommerce-MyAccount-navigation li a::before {
    font-family: "Font Awesome 6 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    color: #888 !important;
    opacity: 1 !important; /* Görünürlüğü garantile */
    position: static !important; /* Mutlak konumlandırmayı kaldır */
    transform: none !important; /* Dönüşümü sıfırla */
    margin-right: 15px !important; /* Metinle arasına boşluk koy */
    transition: color 0.25s ease-in-out !important;
}

/* 7. Aktif ve hover durumları */
.woocommerce-MyAccount-navigation .is-active > a,
.woocommerce-MyAccount-navigation li.is-active > a {
    background-color: #f0f5ff !important;
    color: #0056b3 !important;
    border-left-color: #0056b3 !important;
}

.woocommerce-MyAccount-navigation .is-active > a::before,
.woocommerce-MyAccount-navigation li.is-active > a::before {
    color: #0056b3 !important;
}

.woocommerce-MyAccount-navigation li:not(.is-active) a:hover {
    background-color: #f8f9fa !important;
    color: #1d1d1d !important;
    border-left-color: #ccc !important;
}

.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.woocommerce-account .woocommerce-MyAccount-content {
    order: 1;
    width: 73% !important;
    float: none !important;
    padding: 0 !important; /* İçeriğin kendi padding'ini koruması için */
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    order: 2;
    width: 25% !important;
}

.woocommerce-MyAccount-navigation-link--my-ebooks a::before { content: "\f02d" !important; }
/* Demo Kitap için özel ikon ataması, diğerlerini ezer */
.woocommerce-MyAccount-navigation-link--demo-book a::before { content: "\f518" !important; }
.woocommerce-MyAccount-navigation-link--kalan-kota-haklarim a::before { content: "\f080" !important; }
.woocommerce-MyAccount-navigation-link--edit-account a::before { content: "\f406" !important; }
.woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "\f2f5" !important; }


/* 9. Ana içerik alanını yeniden konumlandır */
.woocommerce-account .woocommerce-MyAccount-content {
    width: 73% !important; /* Genişliği ayarla */
    padding: 30px 40px !important; /* Temiz bir iç boşluk ver */
    float: right;
}

/* 10. Mobil görünümü düzenle */
@media screen and (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100% !important;
        order: 0; /* Mobil için sırayı sıfırla, doğal akışa bırak (içerik önce gelir) */
    }
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100% !important;
        margin-bottom: 30px !important;
    }
    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100% !important;
        padding: 0 0 20px 0 !important; /* Altına biraz boşluk */
    }
}

/* ESKİ DASHBOARD KART STİLLERİNİ SİLİP YENİLERİNİ EKLİYORUZ */
/* BA-LANDING-PAGE'DEN ALINAN VE UYARLANAN KART STİLLERİ */

.woocommerce-account .ba-dashboard-welcome h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a202c;
    font-family: 'Roboto', sans-serif;
    letter-spacing: normal;
}

.woocommerce-account .ba-dashboard-welcome p {
    font-size: 17px;
    color: #4a5568;
    margin-bottom: 40px;
}

.woocommerce-account .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.woocommerce-account .feature-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.woocommerce-account .feature-item {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #eef2f7;
}

.woocommerce-account .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
}

.woocommerce-account .feature-item h3 {
    font-size: 20px;
    color: #212529;
    margin: 20px 0 10px;
    font-family: 'Inter', sans-serif;
}

.woocommerce-account .feature-item p {
    font-size: 16px;
    color: #495057;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

.woocommerce-account .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #e9f7f5; /* Açık Yeşil/Turkuaz Arka Plan */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.woocommerce-account .feature-icon img {
    width: 28px;
    height: 28px;
    filter: invert(55%) sepia(59%) saturate(543%) hue-rotate(95deg) brightness(93%) contrast(89%); /* CSS ile ikonu yeşil yapma */
} 