/* ==========================================================================
   MINIMALIST DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    --bg-primary: #fbfbfb;
    --bg-secondary: #f4f4f4;
    --surface: #ffffff;
    --border-color: #e5e5e5;
    
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    
    --accent: #2563eb; /* Klasik, güvenilir mavi */
    --accent-hover: #1d4ed8;
    --accent-light: #eff6ff;
    
    --danger: #dc2626;
    --danger-light: #fef2f2;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius: 8px;
    --transition: all 0.2s ease;
}

/* ==========================================================================
   BASE STYLES & LAYOUT
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 960px; /* Daha odaklı okuma için daraltılmış genişlik */
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1420px;
    padding-left: 10px;
}

/* Tarih & Saat Üst Bar */
.datetime-topbar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12.5px;
    font-family: var(--font-body);
    letter-spacing: 0.3px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.datetime-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.datetime-topbar-inner span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.datetime-topbar-inner i {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Header & Navigation */
.header {
    background-color: rgba(251, 251, 251, 0.95);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px 0;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

.nav-menu {
    grid-column: 2;
    display: flex;
    gap: 24px;
    justify-self: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link.disabled, .nav-link-disabled {
    color: var(--text-muted, #94a3b8) !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    pointer-events: auto;
}

.nav-link.disabled:hover, .nav-link-disabled:hover {
    color: var(--text-muted, #94a3b8) !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-primary);
    cursor: pointer;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

/* Pages Header */
.page-header {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.page-title {
    font-size: 32px;
    margin-bottom: 8px;
}

.page-desc {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
}

.btn-primary {
    background-color: var(--text-primary);
    color: white;
}

.btn-primary:hover {
    background-color: #333333;
}

.btn-secondary {
    background-color: white;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: white;
}

.btn-danger-outline {
    background: transparent;
    border: 1px solid var(--danger);
    color: var(--danger);
}

.btn-danger-outline:hover {
    background-color: var(--danger-light);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-xs {
    padding: 4px 8px;
    font-size: 11px;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   ANASAYFA (INDEX)
   ========================================================================== */

/* Homepage Layout: Collapsible Sidebar + Main */
.homepage-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 28px;
    padding: 32px 0 80px;
    align-items: start;
    transition: grid-template-columns 0.3s cubic-bezier(0.4, 0, 0.2, 1), gap 0.3s ease;
}

.homepage-layout.sidebar-collapsed {
    grid-template-columns: 0px 1fr;
    gap: 0;
}

.homepage-main {
    min-width: 0;
    transition: width 0.3s ease;
}

/* ==========================================================================
   YAZILAR (MUHASEBE & SGK) AÇILIR-KAPANIR SIDEBAR
   ========================================================================== */
.articles-sidebar {
    position: sticky;
    top: 85px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

.homepage-layout.sidebar-collapsed .articles-sidebar {
    transform: translateX(-380px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.articles-card {
    background-color: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.articles-card-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e3a8a 100%);
    padding: 14px 16px;
    color: #ffffff;
}

.articles-card-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.articles-header-title {
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.2px;
}

.articles-header-title i {
    font-size: 16px;
    color: #60a5fa;
}

.sidebar-collapse-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: var(--transition);
}

.sidebar-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.articles-header-subtitle {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
    font-weight: 400;
}

/* Sol Kenara Sabitlenmiş Zarif Dikey Menü Açma Butonu (Sidebar Kapalıyken) */
.sidebar-expand-tab {
    display: none;
    position: fixed;
    left: 0;
    top: 180px;
    z-index: 99;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: none;
    border-radius: 0 8px 8px 0;
    padding: 14px 6px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 2px 4px 14px rgba(0, 0, 0, 0.18);
    align-items: center;
    gap: 8px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transition: all 0.2s ease;
    font-family: var(--font-body);
    user-select: none;
}

.sidebar-expand-tab i {
    writing-mode: horizontal-tb;
}

.sidebar-expand-tab i.fa-folder-tree {
    color: #60a5fa;
    font-size: 12px;
}

.sidebar-expand-tab i.fa-chevron-right {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.2s ease;
}

.sidebar-expand-tab:hover {
    background: #1e3a8a;
    padding-left: 9px;
    box-shadow: 3px 6px 18px rgba(37, 99, 235, 0.3);
}

.sidebar-expand-tab:hover i.fa-chevron-right {
    color: #ffffff;
    transform: translateY(2px);
}

.homepage-layout.sidebar-collapsed {
    grid-template-columns: 0px 1fr;
    gap: 0;
    padding-left: 28px; /* Dikey butonun içerik/yazıların üstüne binmesini kesin olarak engeller */
}

.homepage-layout.sidebar-collapsed ~ .sidebar-expand-tab {
    display: flex;
}

/* ==========================================================================
   SAYFANIN ORTASI: EN SON EKLENEN YAZILAR (FEATURED LATEST ARTICLES)
   ========================================================================== */
.center-latest-articles {
    margin: 36px 0 48px;
}

.section-header-center {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 14px;
}

.section-header-center h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header-center h2 i {
    color: var(--accent);
}

.center-articles-count {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 500;
    background: var(--bg-secondary);
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.latest-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.latest-article-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.latest-article-card.featured-card {
    border-color: #93c5fd;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.06);
}

.latest-article-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.12);
}

.card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.featured-pill {
    font-size: 11px;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    border: 1px solid #fde68a;
    padding: 2.5px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-article-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    transition: color 0.15s ease;
}

.latest-article-card:hover .card-article-title {
    color: var(--accent);
}

.card-article-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
    font-size: 12px;
}

.card-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--accent);
    background: #eff6ff;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #bfdbfe;
    font-size: 12px;
    transition: var(--transition);
}

.latest-article-card:hover .card-read-btn {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.article-lead-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #16a34a;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #14532d;
    line-height: 1.65;
}

/* Arama Kutusu */
.articles-search-wrapper {
    position: relative;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--surface);
}

.articles-search-wrapper i {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 12px;
}

.articles-search-input {
    width: 100%;
    padding: 8px 12px 8px 32px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 12.5px;
    font-family: var(--font-body);
    outline: none;
    background-color: var(--bg-primary);
    transition: var(--transition);
}

.articles-search-input:focus {
    border-color: var(--accent);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.article-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-muhasebe {
    background-color: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.badge-sgk {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

/* ==========================================================================
   YAZI OKUMA SAYFASI STANDARDI (TEK KOLON / ODAKLI DÜZEN)
   ========================================================================== */
.article-read-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 36px 20px 80px;
}

.article-page-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .article-read-container {
        padding: 20px 12px 60px;
    }
    .article-page-card {
        padding: 24px 18px;
    }
}

/* ==========================================================================
   PDF NOT İNDİRME / OLUŞTURMA BUTONU STİLLERİ
   ========================================================================== */
.btn-pdf-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-pdf-download:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.35);
    color: #ffffff !important;
}

.btn-pdf-download i {
    font-size: 14px;
}

.article-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.article-bottom-actions {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   AĞAÇ (TREE VIEW) MENÜ STİLLERİ
   ========================================================================== */
.articles-tree-view {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 560px;
    overflow-y: auto;
}

.articles-tree-view::-webkit-scrollbar {
    width: 5px;
}

.articles-tree-view::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.tree-node {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--surface);
    overflow: hidden;
    transition: all 0.2s ease;
}

.tree-node.expanded {
    border-color: #94a3b8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tree-node-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 13px;
    background-color: #f8fafc;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s ease;
}

.tree-node-header:hover {
    background-color: #f1f5f9;
}

.tree-node-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.tree-node-title-group i.folder-icon {
    color: var(--accent);
    font-size: 14px;
    transition: transform 0.2s ease;
}

.tree-node-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tree-node-count {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    background-color: #e2e8f0;
    padding: 2px 7px;
    border-radius: 12px;
}

.tree-node-chevron {
    font-size: 11px;
    color: #64748b;
    transition: transform 0.25s ease;
}

.tree-node.expanded .tree-node-chevron {
    transform: rotate(90deg);
}

.tree-node-body {
    display: none;
    padding: 6px 8px 8px;
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.tree-node.expanded .tree-node-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tree-leaf-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
    border-left: 2px solid transparent;
}

.tree-leaf-item:hover {
    background-color: #eff6ff;
    color: var(--accent);
    border-left-color: var(--accent);
    transform: translateX(2px);
}

.tree-leaf-item.active {
    background-color: #eff6ff;
    color: var(--accent);
    font-weight: 600;
    border-left-color: var(--accent);
}

.tree-leaf-item i {
    margin-top: 2px;
    font-size: 11px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.tree-leaf-item:hover i {
    color: var(--accent);
}

.tree-leaf-text {
    line-height: 1.4;
}

/* Kategori Rozetleri */
.badge-excel {
    background-color: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

/* ==========================================================================
   SAYFANIN ORTASI: EN SON EKLENEN YAZILAR (FEATURED LATEST ARTICLES)
   ========================================================================== */
.center-latest-articles {
    margin: 10px 0 48px;
}

.section-header-center {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 14px;
}

.section-header-center h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header-center h2 i {
    color: var(--accent);
}

.center-articles-count {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 500;
    background: var(--bg-secondary);
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* Center Filter Pills */
.center-filters-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.center-filter-pill {
    padding: 7px 16px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-family: var(--font-body);
}

.center-filter-pill:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.center-filter-pill.active {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.center-filter-pill.active i {
    color: #ffffff;
}

.latest-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.latest-article-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.latest-article-card.featured-card {
    border-color: #93c5fd;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.06);
}

.latest-article-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.12);
}

.card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.featured-pill {
    font-size: 11px;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    border: 1px solid #fde68a;
    padding: 2.5px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-article-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    transition: color 0.15s ease;
}

.latest-article-card:hover .card-article-title {
    color: var(--accent);
}

.card-article-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
    font-size: 12px;
}

.card-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--accent);
    background: #eff6ff;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #bfdbfe;
    font-size: 12px;
    transition: var(--transition);
}

.latest-article-card:hover .card-read-btn {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.article-lead-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #16a34a;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #14532d;
    line-height: 1.65;
}

/* ==========================================================================
   YAZI OKUMA MODALI (ARTICLE READER MODAL)
   ========================================================================== */
.article-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.article-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.article-modal-container {
    background-color: #ffffff;
    border-radius: 12px;
    max-width: 820px;
    width: 100%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.25s ease;
}

.article-modal-overlay.active .article-modal-container {
    transform: translateY(0) scale(1);
}

.article-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: #f8fafc;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.article-modal-header-content {
    flex: 1;
}

.article-modal-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.article-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    font-family: var(--font-heading);
}

.article-modal-close {
    background: transparent;
    border: none;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    flex-shrink: 0;
}

.article-modal-close:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}

.article-modal-body {
    padding: 28px 32px;
    overflow-y: auto;
    line-height: 1.75;
    font-size: 14.5px;
    color: #334155;
    font-family: var(--font-body);
}

.article-modal-body h3 {
    font-size: 16.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 24px 0 10px;
    padding-left: 10px;
    border-left: 3px solid var(--accent);
}

.article-modal-body h3:first-child {
    margin-top: 0;
}

.article-modal-body p {
    margin-bottom: 14px;
}

.article-modal-body ul {
    margin: 10px 0 16px 20px;
}

.article-modal-body li {
    margin-bottom: 8px;
}

.article-modal-body code {
    background-color: #f1f5f9;
    color: #0f172a;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    font-family: monospace;
    border: 1px solid #e2e8f0;
}

.article-highlight-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    padding: 16px 18px;
    margin: 20px 0;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.article-highlight-box i {
    color: var(--accent);
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.article-highlight-box strong {
    color: #0f172a;
    display: block;
    margin-bottom: 4px;
}

.article-highlight-box p {
    margin-bottom: 0;
    font-size: 13.5px;
    color: #475569;
}

.article-info-table-wrapper {
    margin: 18px 0;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.article-mini-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.article-mini-table th {
    background-color: #f1f5f9;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 1px solid #cbd5e1;
}

.article-mini-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

.article-mini-table tr:last-child td {
    border-bottom: none;
}

.article-mini-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.article-modal-footer {
    padding: 14px 24px;
    border-top: 1px solid var(--border-color);
    background: #f8fafc;
    display: flex;
    justify-content: flex-end;
}

.article-modal-footer-btn {
    padding: 8px 18px;
    background-color: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.article-modal-footer-btn:hover {
    background-color: var(--accent-hover);
}

.hero-section {
    padding: 60px 0;
    max-width: 680px; /* Metin odaklı minimal genişlik */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
}

/* Home Modules Grid */
.home-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-bottom: 80px;
}

.module-link-card {
    background-color: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.module-link-card:hover {
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.module-icon {
    font-size: 20px;
    color: var(--accent);
    margin-bottom: 12px;
}

.module-link-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.module-link-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   ÖZGEÇMİŞ (CV)
   ========================================================================== */
.cv-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    padding-bottom: 80px;
}

.cv-section-title {
    font-size: 20px;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.timeline-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timeline-period {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

.timeline-role {
    font-size: 16px;
    font-weight: 600;
}

.timeline-org {
    font-size: 13px;
    color: var(--text-secondary);
}

.timeline-details {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.timeline-bullets {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-bullets li {
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
    line-height: 1.6;
}

.timeline-bullets li::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    left: 4px;
    top: -2px;
}

/* Skills */
.skills-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 13px;
    padding: 6px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   ARAÇLAR (TOOLS)
   ========================================================================== */
.tools-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 80px;
}

.tool-card {
    background-color: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tool-card h3 {
    font-size: 18px;
}

.tool-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Color Palette Tool */
.palette-display {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
}

.color-block {
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    font-family: monospace;
    font-size: 10px;
    font-weight: 700;
    transition: var(--transition);
}

.color-block:hover {
    transform: scaleY(1.05);
}

.tool-inputs {
    display: flex;
    gap: 8px;
}

.select-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background-color: white;
    font-size: 13px;
    outline: none;
}

.tool-tip {
    font-size: 11px;
    color: var(--text-muted);
}

/* Text Helper Tool */
.textarea-input {
    width: 100%;
    height: 100px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background-color: white;
    font-family: var(--font-body);
    font-size: 13px;
    resize: none;
    outline: none;
}

.textarea-input:focus {
    border-color: var(--text-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.stat-item {
    background-color: var(--bg-secondary);
    padding: 8px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
}

.stat-label {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* ==========================================================================
   HABERLER (NEWS)
   ========================================================================== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-bottom: 80px;
}

.news-item {
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.news-item:last-child {
    border-bottom: none;
}

.news-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.news-meta .category {
    color: var(--accent);
    font-weight: 600;
    margin-right: 8px;
    text-transform: uppercase;
}

.news-title {
    font-size: 20px;
    margin-bottom: 12px;
    text-decoration: none;
    color: var(--text-primary);
    display: inline-block;
}

.news-title:hover {
    color: var(--accent);
}

.news-summary {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   EĞİTİM STÜDYOLARI (STUDIO)
   ========================================================================== */
.studios-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 80px;
}

.studio-item-card {
    background-color: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    transition: var(--transition);
}

.studio-item-card:hover {
    border-color: var(--text-primary);
}

.studio-info {
    flex: 1;
}

.studio-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.studio-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                margin-top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.studio-item-card:hover .studio-info p {
    max-height: 150px;
    opacity: 1;
    margin-top: 12px;
}

.studio-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px;
}

/* Studios Columns Container */
.studios-columns-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    padding-bottom: 80px;
}

@media(max-width: 992px) {
    .studios-columns-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.studios-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.status-section-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

/* Empty State Card */
.empty-state-card {
    background-color: var(--surface);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    padding: 48px 32px;
    text-align: center;
    width: 100%;
    transition: var(--transition);
}

.empty-state-icon {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.empty-state-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Studio Item Card in Columns */
.studios-column .studio-item-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

/* Studio Draft (Unpublished) */
.studio-item-card.studio-draft {
    opacity: 0.85;
    background-color: var(--bg-secondary);
    border-style: dashed;
}

.studio-item-card.studio-draft:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

/* Badge Draft */
.badge-draft {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    background-color: var(--border-color);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Disabled Button */
.btn-disabled {
    cursor: not-allowed !important;
    opacity: 0.6;
    background-color: var(--border-color) !important;
    color: var(--text-muted) !important;
    border: 1px solid var(--border-color) !important;
    pointer-events: none;
}

/* ==========================================================================
   İLETİŞİM (CONTACT)
   ========================================================================== */
.contact-container {
    max-width: 500px;
    margin: 0 auto 80px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-field label {
    font-size: 12px;
    font-weight: 600;
}

.form-input {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background-color: white;
    font-size: 13px;
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--text-primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    background-color: var(--bg-primary);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-quote {
    font-style: italic;
    color: var(--text-secondary);
    max-width: 600px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 2px;
}

.footer-disclaimer {
    font-size: 11.5px;
    color: var(--text-muted);
    opacity: 0.85;
    max-width: 700px;
    line-height: 1.5;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        display: none;
        margin: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }

    .homepage-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 0 60px;
    }

    .articles-sidebar {
        position: static;
        order: 2;
    }

    .homepage-layout.sidebar-collapsed .articles-sidebar {
        display: none;
    }

    .latest-articles-grid {
        grid-template-columns: 1fr;
    }

    .article-modal-container {
        max-height: 95vh;
    }

    .article-modal-body {
        padding: 20px 18px;
    }

    .hero-section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 28px;
    }
    
    .cv-container, .tools-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .home-modules {
        grid-template-columns: 1fr;
    }
    
    .studio-item-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .datetime-topbar-inner {
        justify-content: center;
    }
}

/* ==========================================================================
   INTERACTIVE GENERAL ACCOUNTING PLATFORM STYLES
   ========================================================================== */
.accounting-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    padding-bottom: 80px;
}

/* Sidebar Accordion & Search */
.sidebar-panel {
    background-color: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.account-search-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.account-search-wrapper i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.account-search-box {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 13px;
    outline: none;
    transition: var(--transition);
}

.account-search-box:focus {
    border-color: var(--text-primary);
}

.class-accordion {
    display: flex;
    flex-direction: column;
}

.class-accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.class-accordion-item:last-child {
    border-bottom: none;
}

.class-header-btn {
    width: 100%;
    text-align: left;
    padding: 14px 0;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    transition: var(--transition);
}

.class-header-btn:hover {
    color: var(--accent);
}

.class-header-btn i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.class-accordion-item.active .class-header-btn i {
    transform: rotate(180deg);
}

.class-content {
    display: none;
    padding-bottom: 14px;
}

.class-accordion-item.active .class-content {
    display: block;
}

.account-group-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin: 12px 0 6px 0;
    letter-spacing: 0.5px;
}

.account-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-item-link {
    width: 100%;
    text-align: left;
    background: none;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 8px 12px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-item-link:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.account-item-link.active {
    background-color: var(--accent-light);
    color: var(--accent);
    font-weight: 500;
    border-color: rgba(37, 99, 235, 0.1);
}

/* Detail Panel & Tabs */
.detail-panel {
    background-color: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    min-height: 500px;
}

.account-detail-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.account-code-badge {
    background-color: var(--text-primary);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    margin-right: 8px;
}

.account-type-badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    margin-top: 8px;
}

.badge-active {
    background-color: #d1fae5;
    color: #065f46;
}

.badge-passive {
    background-color: #fee2e2;
    color: #991b1b;
}

.badge-income {
    background-color: #eff6ff;
    color: #1e40af;
}

.badge-cost {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-nazim {
    background-color: #f3e8ff;
    color: #6b21a8;
}

.tabs-nav {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 18px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    margin-bottom: -1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--text-primary);
    border-bottom-color: var(--text-primary);
    font-weight: 600;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

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

/* Nasıl Çalışır & T-Hesap Stilleri */
.working-principles-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.t-account-wrapper {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.t-account {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    width: 100%;
    max-width: 800px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.t-account-header {
    text-align: center;
    padding: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border-bottom: 2px solid var(--text-primary);
    background-color: var(--bg-secondary);
}

.t-account-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

.t-account-columns::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--text-primary);
}

.t-column {
    padding: 16px;
    min-height: 140px;
}

.t-col-header {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}

.t-item {
    font-size: 13px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    padding: 4px 6px;
    border-radius: 4px;
}

.t-item.increase {
    background-color: rgba(16, 185, 129, 0.05);
    color: #065f46;
}

.t-item.decrease {
    background-color: rgba(239, 68, 68, 0.05);
    color: #991b1b;
}

.example-box {
    margin-top: 32px;
}

.example-box h4 {
    font-size: 16px;
    margin-bottom: 12px;
}

.journal-entry-preview {
    background-color: #ffffff; /* Beyaz arka plan ile yüksek kontrast */
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px 48px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    overflow-x: auto;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
    color: var(--text-primary);
    width: 100%;
}

.journal-row {
    display: grid;
    grid-template-columns: 140px 1fr 160px 160px;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.15); /* Daha belirgin kesikli çizgi */
    align-items: center;
}

.journal-row:last-child {
    border-bottom: none;
}

.journal-row.journal-header {
    font-weight: 700;
    border-bottom: 2px solid var(--text-primary);
    font-family: var(--font-heading);
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding-bottom: 12px;
}

.journal-code {
    color: var(--text-secondary); /* Daha koyu ve okunabilir */
    font-weight: 600;
}

.journal-acc-name {
    color: var(--text-primary);
    font-weight: 600; /* Hesap isimleri daha belirgin */
}

.journal-acc-name.credit-indent {
    padding-left: 24px;
}

.journal-val {
    text-align: right;
    font-weight: 700; /* Borç/Alacak rakamları koyu */
    color: var(--text-primary);
}

/* Çoktan Seçmeli Test Stilleri */
.quiz-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quiz-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
}

.quiz-question {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.5;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-option {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 13px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
}

.quiz-option:hover:not(.disabled) {
    background-color: var(--accent-light);
    border-color: var(--accent);
}

.quiz-option-letter {
    font-weight: 700;
    margin-right: 12px;
    background-color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    font-size: 11px;
}

.quiz-option.correct {
    background-color: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

.quiz-option.correct .quiz-option-letter {
    background-color: #10b981;
    color: white;
    border-color: #10b981;
}

.quiz-option.incorrect {
    background-color: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

.quiz-option.incorrect .quiz-option-letter {
    background-color: #ef4444;
    color: white;
    border-color: #ef4444;
}

.quiz-option.disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.quiz-feedback {
    margin-top: 16px;
    padding: 16px;
    border-radius: var(--radius);
    font-size: 13px;
    display: none;
    line-height: 1.6;
}

.quiz-feedback.correct-bg {
    display: block;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.quiz-feedback.incorrect-bg {
    display: block;
    background-color: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.quiz-feedback h5 {
    font-size: 14px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quiz-nav-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.quiz-progress {
    font-size: 12px;
    color: var(--text-muted);
}

/* Sürükle Bırak Yevmiye Kaydı Oyunu */
.transaction-prompt {
    background-color: var(--accent-light);
    border-left: 4px solid var(--accent);
    padding: 16px 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-primary);
}

.drag-drop-container {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
}

.drag-source-panel h4, .drop-target-panel h4 {
    font-size: 14px;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.drag-source-panel {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px;
    height: fit-content;
}

.drag-accounts-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.draggable-account {
    padding: 10px 12px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    cursor: grab;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.draggable-account:hover {
    border-color: var(--text-muted);
    box-shadow: 0 4px 6px rgba(0,0,0,0.04);
}

.draggable-account i {
    color: var(--text-muted);
}

.drop-zones-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.drop-zone-container {
    display: flex;
    flex-direction: column;
}

.drop-zone-header {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.drop-zone-header.borc-text {
    color: var(--accent);
}

.drop-zone-header.alacak-text {
    color: #b45309; /* Kahverengi/Turuncu */
}

.drop-zone {
    flex: 1;
    min-height: 160px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    background-color: #fafafa;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition);
    justify-content: flex-start;
}

.drop-zone.dragover {
    border-color: var(--accent);
    background-color: var(--accent-light);
}

.dropped-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    animation: scaleIn 0.2s ease;
    gap: 8px;
}

.dropped-item-amount {
    width: 95px;
    padding: 5px 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 11.5px;
    font-family: inherit;
    font-weight: 600;
    outline: none;
    text-align: right;
    transition: var(--transition);
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.dropped-item-amount:focus {
    border-color: var(--text-primary);
    background-color: rgba(37, 99, 235, 0.02);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.05);
}

/* Chrome, Safari, Edge, Opera'da number input oklarını gizleme */
.dropped-item-amount::-webkit-outer-spin-button,
.dropped-item-amount::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox'ta number input oklarını gizleme */
.dropped-item-amount[type=number] {
    -moz-appearance: textfield;
}

/* Yevmiye Fişi Altı Toplamlar Çubuğu */
.practice-totals-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding: 12px 18px;
    background-color: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.01);
}

.practice-total-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.practice-total-label {
    color: var(--text-secondary);
}

.practice-total-val {
    font-size: 14px;
    font-weight: 700;
    transition: color 0.25s ease;
}

.practice-total-val.balanced {
    color: #10b981;
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.dropped-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropped-item-code {
    font-size: 10px;
    color: var(--text-muted);
}

.delete-dropped {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
    font-size: 12px;
}

.delete-dropped:hover {
    color: var(--danger);
}

.drop-zone-placeholder {
    margin: auto;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    pointer-events: none;
}

.drag-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.drag-feedback {
    font-size: 13px;
    font-weight: 500;
    display: none;
}

.drag-feedback.success {
    display: block;
    color: #10b981;
}

.drag-feedback.error {
    display: block;
    color: var(--danger);
}

/* Empty State */
.empty-detail-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    text-align: center;
    padding: 40px 0;
}

.empty-detail-state i {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--border-color);
}

.empty-detail-state p {
    font-size: 14px;
    max-width: 300px;
}

/* Responsive Grid for interactive portal */
@media (max-width: 900px) {
    .accounting-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar-panel {
        position: static;
        max-height: 300px;
    }
    
    .drag-drop-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CATEGORY SECTIONS STYLES
   ========================================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 48px;
}

.category-section {
    margin-bottom: 0; /* Grid içindeyken alttaki boşluğu sıfırlayalım */
}

.category-title {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
    width: fit-content;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 40px;
    }
}

/* Category Filter Tabs Styles */
.category-filter-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.filter-btn {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 20px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background-color: var(--accent-light);
    color: var(--accent);
    border-color: rgba(37, 99, 235, 0.2);
}

.filter-btn.active {
    background-color: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
}

/* ==========================================================================
   CONTACT PAGE STYLES (iletisim.html)
   ========================================================================== */
.featured-training-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--accent-light) 0%, rgba(37, 99, 235, 0.02) 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    gap: 32px;
    transition: var(--transition);
}

.featured-training-banner:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.05);
}

.banner-content {
    flex: 1;
    z-index: 2;
}

.banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    background-color: rgba(37, 99, 235, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.banner-badge i {
    font-size: 13px;
}

.banner-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.banner-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 600px;
}

.banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.banner-actions .btn {
    font-size: 13.5px;
    gap: 8px;
    padding: 10px 20px;
    font-weight: 600;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-email {
    background-color: var(--text-primary);
    color: white;
}

.btn-email:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-visual {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.visual-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    background-color: rgba(37, 99, 235, 0.06);
    border-radius: 50%;
    animation: pulseCircle 4s infinite ease-in-out;
}

.visual-icon {
    font-size: 48px;
    color: var(--accent);
    z-index: 2;
    filter: drop-shadow(0 4px 6px rgba(37, 99, 235, 0.15));
}

@keyframes pulseCircle {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0.9; }
}

@media (max-width: 768px) {
    .featured-training-banner {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 24px;
        gap: 24px;
    }
    
    .banner-visual {
        align-self: center;
        width: 100px;
        height: 100px;
    }
    
    .visual-circle {
        width: 90px;
        height: 90px;
    }
    
    .visual-icon {
        font-size: 36px;
    }
    
    .banner-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .banner-actions .btn {
        width: 100%;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 80px;
    align-items: center;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-info-icon {
    font-size: 20px;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-info-item:hover .contact-info-icon {
    border-color: var(--text-primary);
    background-color: var(--text-primary);
    color: white;
}

.contact-info-text h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.contact-info-text p, .contact-info-text a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 1.6;
    transition: var(--transition);
}

.contact-info-text a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.contact-map-wrapper {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    aspect-ratio: 1;
    display: flex;
    background-color: var(--bg-secondary);
}

.contact-map-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.contact-map-wrapper:hover img {
    transform: scale(1.02);
}

/* Map Overlay Text */
.map-overlay-text {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 5;
    pointer-events: none;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================================
   PRINT MEDIA STYLES (PDF Export)
   ========================================================================== */
@media print {
    body {
        background-color: #ffffff !important;
        color: #000000 !important;
        font-size: 10.5pt !important;
        line-height: 1.4 !important;
    }
    
    .header, .footer, .btn, .replay-btn, .menu-toggle, #replayAnimationBtn {
        display: none !important;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .page-header {
        padding-top: 0 !important;
        padding-bottom: 15px !important;
        margin-bottom: 25px !important;
        border-bottom: 2px solid #000000 !important;
        display: flex !important;
        align-items: center !important;
        gap: 24px !important;
    }
    
    .page-header img {
        width: 90px !important;
        height: 90px !important;
    }
    
    .cv-container {
        display: block !important;
    }

    .cv-left, .cv-right {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
    }

    .cv-right section {
        background-color: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin-bottom: 30px !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .ruhsat-card {
        background-color: transparent !important;
        border: 1px solid #666666 !important;
        padding: 12px !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }
    
    .cv-section-title {
        font-size: 13pt !important;
        border-bottom: 1.5px solid #000000 !important;
        margin-top: 25px !important;
        margin-bottom: 12px !important;
        padding-bottom: 4px !important;
        color: #000000 !important;
        page-break-after: avoid !important;
        break-after: avoid !important;
    }
    
    .timeline-card {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        margin-bottom: 16px !important;
    }
    
    .timeline-period {
        color: #000000 !important;
        font-weight: bold !important;
        font-size: 11pt !important;
    }

    .timeline-role {
        font-size: 12pt !important;
        color: #000000 !important;
        font-weight: bold !important;
    }
    
    .skill-tag {
        border: 1px solid #666666 !important;
        background-color: transparent !important;
        color: #000000 !important;
        font-size: 9.5pt !important;
        display: inline-block !important;
        margin-bottom: 6px !important;
        padding: 3px 8px !important;
    }
}

/* Ruhsat Kartı Hover Animasyonu */
.ruhsat-card:hover {
    border-color: #d4af37 !important;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.12);
}

@keyframes shakeAward {
    0% { transform: scale(1) rotate(0deg); }
    15% { transform: scale(1.15) rotate(-12deg); }
    30% { transform: scale(1.15) rotate(12deg); }
    45% { transform: scale(1.15) rotate(-8deg); }
    60% { transform: scale(1.15) rotate(8deg); }
    75% { transform: scale(1.15) rotate(-4deg); }
    90% { transform: scale(1.15) rotate(4deg); }
    100% { transform: scale(1.15) rotate(0deg); }
}

.ruhsat-card:hover .ruhsat-icon {
    animation: shakeAward 0.8s ease-in-out forwards;
    color: #ffd700 !important; /* İkon rengini altın sarısı parlat */
}

/* --- ARAÇLAR SAYFASI STİLLERİ --- */

/* Sekme Navigasyonu (Tabs) */
.tools-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.tab-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 16px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Araçlar Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.tool-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.tool-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.tool-card-icon {
    font-size: 24px;
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.08);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.tool-badge.free {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.tool-badge.premium {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.tool-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.tool-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Premium Kilit Efekti */
.tool-card.locked {
    cursor: pointer;
}

.tool-card.locked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(1.5px);
    z-index: 2;
    transition: backdrop-filter 0.3s ease;
}

.dark-mode .tool-card.locked::before {
    background: rgba(0, 0, 0, 0.2);
}

.lock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    font-size: 18px;
    color: #f59e0b;
    transition: transform 0.3s ease;
}

.tool-card.locked:hover .lock-overlay {
    transform: translate(-50%, -50%) scale(1.15);
}

/* İnteraktif Hesaplama Panelleri */
.calculator-panel {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    margin-top: 24px;
    display: none;
    animation: modalFadeIn 0.3s ease-out;
}

.calculator-panel.active {
    display: block;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input, .form-group select {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 10px 14px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.calc-results {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
}

.result-row.total {
    border-bottom: none;
    padding-top: 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.result-row span.val {
    font-weight: 600;
    color: var(--text-primary);
}

.result-row.total span.val {
    color: var(--primary-color);
}

/* Modaller */
.auth-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.auth-modal-content {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    width: 90%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 13.5px;
    color: var(--text-secondary);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13.5px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Header Sağ Taraf Üyelik Butonları */
.auth-nav-container {
    grid-column: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: end;
}

@media (max-width: 992px) {
    .auth-nav-container {
        margin-left: 0;
        margin-top: 16px;
        width: 100%;
        justify-content: center;
    }
}

/* Buton Hover Efekti (Büyüme & Kalınlaşma) */
.btn {
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, font-weight 0.25s ease !important;
}

.btn:hover {
    transform: scale(1.05);
    font-weight: 600 !important;
}

.profile-avatar {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.profile-avatar:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   SOL MENÜ HESAP LİSTESİ AÇMA/KAPATMA (COLLAPSIBLE SIDEBAR)
   ========================================================================== */
.sidebar-toggle-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
}

.sidebar-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-toggle-btn:hover {
    background-color: var(--bg-secondary);
    border-color: var(--text-primary);
    transform: translateY(-1px);
}

.accounting-layout {
    transition: grid-template-columns 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.accounting-layout.sidebar-collapsed {
    grid-template-columns: 0px 1fr;
    gap: 0;
}

.accounting-layout.sidebar-collapsed .sidebar-panel {
    width: 0;
    padding: 0;
    margin: 0;
    border: none;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   DÖVİZ KASASI VE KUR DEĞERLEME MODÜLÜ STİLLERİ
   ========================================================================== */
.valuation-section {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.valuation-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.valuation-header i {
    font-size: 24px;
    color: #10b981;
}

.valuation-header h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.valuation-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.valuation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .valuation-grid {
        grid-template-columns: 1fr;
    }
}

.val-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.val-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.val-input, .val-select {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background-color: white;
    font-size: 13.5px;
    outline: none;
    transition: var(--transition);
}

.val-input:focus, .val-select:focus {
    border-color: var(--text-primary);
}

/* Kur Değerleme Tipi Uyarısı */
.valuation-alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 12.5px;
    line-height: 1.5;
    margin-top: 8px;
    display: none;
}

.valuation-alert.info-alert {
    background-color: rgba(37, 99, 235, 0.06);
    color: #1e40af;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.valuation-alert.success-alert {
    background-color: rgba(16, 185, 129, 0.06);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.valuation-alert.warning-alert {
    background-color: rgba(245, 158, 11, 0.06);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.val-btn-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

/* Sonuç Kartı */
.valuation-result-box {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.result-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

@media (max-width: 500px) {
    .result-summary {
        grid-template-columns: 1fr;
    }
}

.res-item {
    text-align: center;
}

.res-label {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.res-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.res-value.profit {
    color: #10b981;
}

.res-value.loss {
    color: var(--danger);
}

.res-status-banner {
    padding: 10px;
    text-align: center;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 13.5px;
    margin-bottom: 16px;
}

.res-status-banner.profit-banner {
    background-color: rgba(16, 185, 129, 0.1);
    color: #065f46;
}

.res-status-banner.loss-banner {
    background-color: rgba(239, 68, 68, 0.1);
    color: #991b1b;
}

/* ==========================================================================
   INTERAKTIF COKLU ORNEK SECICI STİLLERİ
   ========================================================================== */
.example-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.example-sel-btn {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 8px 14px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.example-sel-btn:hover {
    background-color: var(--border-color);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.example-sel-btn.active {
    background-color: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
}

/* ==========================================================================
   Önemli Bilgiler Kutusu (Important Callouts / Warnings)
   ========================================================================== */
.important-box {
    background-color: rgba(239, 68, 68, 0.04) !important;
    border: 1px solid rgba(239, 68, 68, 0.12) !important;
    border-left: 4px solid #ef4444 !important;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin: 20px 0;
    color: #7f1d1d !important;
}

div.important-box {
    font-size: 13.5px;
    line-height: 1.6;
}

div.important-box i {
    margin-right: 6px;
    color: #ef4444;
}

.important-box strong {
    color: #991b1b !important;
}

.important-box a {
    color: #ef4444 !important;
    text-decoration: underline;
}

/* Excel sayfasındaki Kısayol Tablosu önemli-box içerisindeyse */
.example-box.important-box {
    padding: 24px;
    background-color: rgba(239, 68, 68, 0.03) !important;
}

.example-box.important-box h4 {
    color: #b91c1c !important;
    font-weight: 700;
}

.example-box.important-box .journal-row.journal-header {
    border-bottom: 2px solid rgba(239, 68, 68, 0.15) !important;
    color: #991b1b !important;
}

/* ==========================================================================
   Döngüsel Kasa Tahsilat ve Ödeme Animasyonları (GIF Tarzı CSS Loop)
   ========================================================================== */
.cash-animations-container {
    display: flex;
    gap: 24px;
    margin: 28px 0;
    flex-wrap: wrap;
    width: 100%;
}

.animation-card {
    flex: 1;
    min-width: 300px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.animation-card-title {
    font-size: 15px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tahsilat-title { color: #10b981; }
.odeme-title { color: #ef4444; }

.animation-viewport {
    width: 100%;
    height: 160px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Kasa ve Aktör Konumları */
.viewport-actor {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.actor-left { left: 24px; }
.actor-right { right: 24px; }
.actor-center {
    left: 50%;
    transform: translate(-50%, -50%);
}

.viewport-actor i {
    font-size: 28px;
    color: var(--text-secondary);
}

.viewport-actor span.actor-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
}

.actor-kasa {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    background: radial-gradient(circle at top left, #2563eb, #1d4ed8);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #60a5fa;
    box-shadow: 0 8px 20px -5px rgba(29, 78, 216, 0.3);
}

.actor-kasa i {
    font-size: 32px;
    color: #fef08a; /* Gold wheel */
    margin: 0;
    animation: pulse 2s infinite alternate;
}

/* Sonsuz Uçan Paralar */
.loop-money {
    position: absolute;
    font-size: 24px;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
}

.tahsilat-flow .loop-money {
    color: #10b981;
    animation: flowToKasa 2.4s infinite linear;
}

.odeme-flow .loop-money {
    color: #ef4444;
    animation: flowFromKasa 2.4s infinite linear;
}

/* Gecikmeli Paralar (GIF Akıcılığı Sağlar) */
.tahsilat-flow .loop-money:nth-child(1) { animation-delay: 0s; }
.tahsilat-flow .loop-money:nth-child(2) { animation-delay: 0.8s; }
.tahsilat-flow .loop-money:nth-child(3) { animation-delay: 1.6s; }

.odeme-flow .loop-money:nth-child(1) { animation-delay: 0s; }
.odeme-flow .loop-money:nth-child(2) { animation-delay: 0.8s; }
.odeme-flow .loop-money:nth-child(3) { animation-delay: 1.6s; }

@keyframes flowToKasa {
    0% {
        left: 50px;
        top: 45%;
        transform: scale(0.6) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        left: calc(50% - 20px);
        top: 50%;
        transform: scale(1.1) rotate(360deg);
        opacity: 0;
    }
}

@keyframes flowFromKasa {
    0% {
        left: calc(50% + 20px);
        top: 50%;
        transform: scale(1.1) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        left: calc(100% - 75px);
        top: 45%;
        transform: scale(0.6) rotate(360deg);
        opacity: 0;
    }
}

/* Vurgulu Açıklamalar */
.animation-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.animation-card-desc strong {
    font-weight: 700;
}

.tahsilat-desc strong { color: #10b981; }
.odeme-desc strong { color: #ef4444; }

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.06); }
}

@keyframes slideInTItem {
    0% {
        opacity: 0;
        transform: translateY(10px);
        background-color: rgba(74, 222, 128, 0.15);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        background-color: transparent;
    }
}

/* ==========================================================================
   MİNİ DÖVİZ KART BAR VE BİLEŞENLERİ
   ========================================================================== */
.exchange-card {
    background-color: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 8px;
}

.exchange-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 6px;
}

.exchange-card-title i {
    color: var(--accent);
    font-size: 14px;
}

.exchange-date {
    font-size: 10.5px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding: 3px 6px;
    border-radius: 4px;
    background-color: var(--bg-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border-color);
    margin-left: 6px;
}

.exchange-table-wrapper {
    min-height: 50px;
}

.exchange-mini-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.exchange-mini-table thead th {
    padding: 4px 5px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.exchange-mini-table thead th:not(:first-child) {
    text-align: right;
}

.exchange-mini-table tbody td {
    padding: 6px 5px;
    border-bottom: 1px dashed var(--border-color);
}

.exchange-mini-table tbody tr:last-child td {
    border-bottom: none;
}

.exchange-mini-table tbody td:not(:first-child) {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    color: var(--text-primary);
}

.exchange-currency-name-col {
    display: flex;
    align-items: center;
    gap: 4px;
}

.exchange-mini-flag {
    width: 16px;
    height: 12px;
    border-radius: 1px;
    object-fit: cover;
    border: 1px solid rgba(0,0,0,0.06);
}

.exchange-currency-code {
    font-weight: 600;
    color: var(--text-primary);
}



/* ==========================================================================
   EĞİTMENE SOR TOOLTIP STİLİ
   ========================================================================== */
.ask-instructor-tooltip {
    position: absolute;
    display: none;
    align-items: center;
    gap: 8px;
    background-color: #1a1a2e;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    font-family: var(--font-heading);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.1s ease, background-color 0.2s ease;
}

.ask-instructor-tooltip:hover {
    background-color: var(--accent);
    transform: scale(1.05);
}

.ask-instructor-tooltip i {
    font-size: 13px;
}




