:root { --portugal-green: #00662e; --portugal-red: #ff0000; --portugal-yellow: #fff200; --bg-light: #f4f7f4; --text-dark: #1a1a1a; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; background: var(--bg-light); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }

/* İkonların FontAwesome fontunu kullanmasını garantileyin */
.fas, .far, .fab, .fa {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* === INDEX.PHP ÖZEL TASARIMLARI === */
header { background: white; padding: 20px; text-align: center; border-bottom: 6px solid var(--portugal-green); position: relative; }
header::after { content: ''; position: absolute; bottom: -6px; left: 40%; width: 60%; height: 6px; background: var(--portugal-red); }
.logo { max-width: 120px; height: auto; }
.container { width: 95%; max-width: 1200px; margin: 30px auto; }
.welcome-header-wrapper { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 15px; }
.welcome-text h1 { color: var(--portugal-green); font-size: 2rem; margin-bottom: 5px; font-weight: 800; text-transform: uppercase; }
.welcome-text p { margin: 0; }
.print-btn { background: var(--portugal-red); color: white; border: none; padding: 10px 20px; border-radius: 8px; cursor: pointer; font-weight: bold; transition: 0.3s; }
.print-btn:hover { background: #333; }

/* === VİZE SEKMELERİ (ORTAK) === */
.vize-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.vize-btn { flex: 1; min-width: 150px; padding: 15px; border: 2px solid var(--portugal-green) !important; background: white !important; color: var(--portugal-green) !important; border-radius: 12px !important; font-weight: 800 !important; font-size: 1.1rem; text-align: center; text-decoration: none; transition: 0.3s; }
.vize-btn:hover { background: #e8f5e9 !important; color: var(--portugal-green) !important; }
.vize-btn.active { background: var(--portugal-green) !important; color: var(--portugal-yellow) !important; }
.vize-content { display: none; background: white; padding: 40px; border-radius: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.vize-content.active { display: block; animation: fadeIn 0.5s; }

/* === INDEX ADIM TASARIMLARI === */
.step-item { display: flex; gap: 20px; margin-bottom: 30px; position: relative; transition: 0.3s; }
.step-item:not(:last-child)::after { display: none; }
.step-number { min-width: 45px; height: 45px; background: var(--portugal-green); color: var(--portugal-yellow); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; z-index: 2; border: 3px solid var(--portugal-yellow); font-size: 1.2rem; cursor: pointer; transition: 0.3s; }
.step-number.completed-circle { background: var(--portugal-yellow) !important; color: var(--portugal-green) !important; border-color: var(--portugal-green) !important; }
.step-item.completed-item .step-text { opacity: 0.6; }
.step-text { flex-grow: 1; }
.step-text h3 { color: var(--portugal-green); margin-bottom: 5px; font-size: 1.2rem; display: flex; align-items: center; justify-content: space-between; }
.attachment-link { display: inline-flex; align-items: center; gap: 5px; background: #e8f5e9; color: #00662e; padding: 5px 10px; border-radius: 5px; text-decoration: none; font-size: 0.85rem; font-weight: bold; margin-top: 10px; }
.attachment-link:hover { background: #c8e6c9; }
.qr-section { text-align: center; margin-top: 30px; padding: 20px; background: white; border-radius: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.footer { text-align: center; margin-top: 30px; padding: 20px; font-size: 0.85rem; color: #777; }
.warning-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 20px; background: var(--portugal-red); color: white; border: none; border-radius: 15px; font-weight: bold; margin-top: 50px; text-decoration: none; font-size: 1rem; cursor: default; box-shadow: 0 10px 20px rgba(255,0,0,0.15); }

/* === YOUTUBE THUMBNAIL & MODAL (INDEX) === */
.yt-thumb-wrapper { display: inline-block; position: relative; cursor: pointer; margin-top: 15px; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.1); width: 150px; height: 100px; float: right; margin-left: 20px; margin-bottom: 10px; }
.step-desc::after { content: ""; display: block; clear: both; }
.yt-thumb-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: rgba(255, 255, 255, 0.9); font-size: 2.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); pointer-events: none; transition: 0.2s; }
.yt-thumb-wrapper:hover .yt-play-icon { color: #ff0000; transform: translate(-50%, -50%) scale(1.1); }
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 9999; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; animation: fadeIn 0.3s; }
.modal-content-box { background: black; padding: 0; border-radius: 10px; width: 90%; max-width: 800px; position: relative; }
.close-modal { position: absolute; top: -15px; right: -15px; background: var(--portugal-red); color: white; width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; cursor: pointer; border: 2px solid white; box-shadow: 0 2px 10px rgba(0,0,0,0.3); z-index: 10; font-size: 1.2rem; }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* === NOT KUTULARI TASARIMLARI (ORTAK) === */
.custom-alert { display: flex; align-items: center; padding: 12px 15px; margin: 15px 0; border-radius: 4px; font-weight: 600; width: 100%; clear: both; font-size: 0.95rem; line-height: 1.5; border: none; box-shadow: none; }
.custom-alert::before { display: none !important; }

/* İkonları yuvarlak ve renkli arka plana alır */
.custom-alert i:first-child { 
    display: inline-flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    width: 28px !important; 
    height: 28px !important; 
    border-radius: 50% !important; 
    color: #fff !important; 
    font-size: 0.9rem !important; 
    margin: 0 12px 0 0 !important; 
    flex-shrink: 0 !important; 
    font-family: "Font Awesome 6 Free" !important; 
    font-weight: 900 !important; 
    font-style: normal !important;
}

.custom-alert span { 
    flex: 1; 
    outline: none; 
}

/* Uyarı (Sarı) */
.custom-alert.alert-warning { background: #fff8e1 !important; color: #f57f17 !important; border-left: 8px solid #ffb300 !important; }
.custom-alert.alert-warning i:first-child { background: #f57f17 !important; }

/* Tehlike (Kırmızı) */
.custom-alert.alert-danger { background: #ffebee !important; color: #c62828 !important; border-left: 8px solid #f44336 !important; }
.custom-alert.alert-danger i:first-child { background: #c62828 !important; }

/* Bilgi (Mavi) */
.custom-alert.alert-info { background: #e3f2fd !important; color: #1565c0 !important; border-left: 8px solid #2196f3 !important; }
.custom-alert.alert-info i:first-child { background: #1565c0 !important; }

/* --- Açılır Menü Zarif Tasarımı --- */
.note-dropdown-menu { min-width: 220px !important; padding: 10px !important; border-radius: 8px !important; box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important; background: white; border: 1px solid #eee; }
.note-dropdown-menu a, .note-dropdown-menu li, .note-dropdown-menu .dropdown-item { padding: 0 !important; margin: 0 !important; background: transparent !important; display: block; text-decoration: none; border: none !important; }
.note-dropdown-item { padding: 10px 15px !important; cursor: pointer; display: flex; align-items: center; gap: 12px; font-weight: 600; border-radius: 4px !important; margin-bottom: 8px; font-size: 0.95rem; transition: 0.2s; border: none !important; }
.note-dropdown-item:last-child { margin-bottom: 0; }
.note-dropdown-item:hover { filter: brightness(0.95); transform: translateX(3px); }

/* Menü içi ikonlar */
.note-dropdown-item i { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; color: #fff !important; font-size: 0.75rem; margin: 0; flex-shrink: 0; }

.menu-alert-warning { background: #fff8e1 !important; color: #f57f17 !important; border-left: 6px solid #ffb300 !important; }
.menu-alert-warning i { background: #f57f17 !important; }

.menu-alert-danger { background: #ffebee !important; color: #c62828 !important; border-left: 6px solid #f44336 !important; }
.menu-alert-danger i { background: #c62828 !important; }

.menu-alert-info { background: #e3f2fd !important; color: #1565c0 !important; border-left: 6px solid #2196f3 !important; }
.menu-alert-info i { background: #1565c0 !important; }

/* Editör içindeki Silme (X) Butonu */
.custom-alert .remove-alert-btn { display: none; }
.note-editable .custom-alert .remove-alert-btn { display: flex !important; margin-left: auto !important; width: auto !important; height: auto !important; background: transparent !important; color: inherit !important; font-size: 1.2rem !important; opacity: 0.4 !important; transition: 0.2s; cursor: pointer; }
.note-editable .custom-alert .remove-alert-btn:hover { opacity: 1 !important; transform: scale(1.2); color: #ff0000 !important; }

/* === YAZDIRMA (PRINT) === */
@media print {
    body { background: white; color: black; }
    header, .vize-tabs, .warning-btn, .footer, .qr-section, .print-btn { display: none !important; }
    .container { width: 100%; max-width: none; margin: 0; }
    .vize-content { display: none; box-shadow: none; padding: 0; }
    .vize-content.active { display: block; }
    .step-item::after { display: none; }
    .step-item { page-break-inside: avoid; margin-bottom: 20px; }
    .yt-thumb-wrapper { display: none !important; }
    .custom-alert { box-shadow: none; border: 1px solid #ccc; }
}

/* === ADMIN PANEL ÖZEL TASARIMLARI === */
.mobile-header { background: var(--portugal-green); color: white; padding: 15px 20px; position: fixed; top: 0; left: 0; width: 100%; z-index: 1030; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.sidebar { background-color: var(--portugal-green) !important; color: white !important; }
.sidebar-links a { color: white !important; text-decoration: none; display: block; padding: 12px 15px; border-radius: 12px; margin-bottom: 5px; transition: 0.3s; font-size: 1.05rem; font-weight: 600; }
.sidebar-links a:hover, .sidebar-links a.active { background: rgba(255,255,255,0.15) !important; border-left: 5px solid var(--portugal-yellow) !important; padding-left: 10px !important; color: var(--portugal-yellow) !important; }
.sidebar-links a.text-warning { color: var(--portugal-yellow) !important; }

.card { border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important; border: none !important; }
.sortable-list .list-item, .sortable-category-list .list-item { background: white; border: 1px solid #dee2e6; border-radius: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.sortable-list .list-item:hover, .sortable-category-list .list-item:hover { box-shadow: 0 6px 15px rgba(0,102,46,0.1); border-color: #c8e6c9; }
.drag-handle { width: 50px; cursor: grab; background: #fafafa; border-right: 1px solid #eee; display: flex; align-items: center; justify-content: center; border-radius: 15px 0 0 15px; }
.drag-handle:active { cursor: grabbing; background: #e9ecef; }
.title-lbl { color: var(--portugal-green); font-size: 1.1rem; }

.sortable-ghost { opacity: 1 !important; background: #e8f5e9 !important; border: 2px dashed var(--portugal-green) !important; border-radius: 15px; box-sizing: border-box; animation: dashMove 1s linear infinite; }
.sortable-ghost * { visibility: hidden; }
.sortable-chosen { cursor: grabbing !important; }
.sortable-drag { box-shadow: 0 25px 50px rgba(0,0,0,0.25); transform: scale(1.02); }
.toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 1070; }

.note-editable iframe[src*="youtube"], .note-editable iframe[src*="youtu.be"] { width: 150px !important; height: 100px !important; float: right !important; margin: 0 0 15px 20px !important; border-radius: 10px !important; pointer-events: none; border: 2px solid #eee !important; }
.note-editable::after { content: ""; display: block; clear: both; }

.modal { z-index: 1050 !important; }
.modal-backdrop { z-index: 1040 !important; }
.note-modal { z-index: 1060 !important; }

@media (min-width: 992px) {
    .sidebar { width: 260px !important; position: fixed !important; height: 100vh !important; overflow-y: auto !important; overflow-x: hidden !important; z-index: 1000 !important; box-shadow: 4px 0 10px rgba(0,0,0,0.1) !important; border:none !important; display:flex !important; flex-direction:column !important; visibility:visible !important; transform:none !important; }
    .main-content { margin-left: 260px; padding: 30px; width: calc(100% - 260px); min-height: 100vh; }
}

@media (max-width: 991.98px) {
    .sidebar { border: none; width: 280px; }
    .main-content { margin-left: 0; padding: 10px; padding-top: 70px; width: 100%; min-height: 100vh; }
    .vize-tabs { flex-direction: column; gap: 5px; margin-bottom: 15px !important; }
    .vize-btn { width: 100%; padding: 8px !important; font-size: 0.95rem !important; }
    .sortable-list .list-item, .sortable-category-list .list-item { display: flex !important; align-items: stretch !important; border-radius: 14px !important; margin-bottom: 8px !important; overflow: hidden; }
    .sortable-list .drag-handle, .sortable-category-list .drag-handle { width: 32px !important; border-radius: 14px 0 0 14px !important; flex: 0 0 32px; }
    .sortable-list .list-item > div:last-child, .sortable-category-list .list-item > div:last-child { flex: 1; display: flex !important; align-items: center; justify-content: space-between; gap: 10px; padding: 10px !important; }
    .sortable-list .list-item > div:last-child > div:first-child, .sortable-category-list .list-item > div:last-child > div:first-child { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
    .step-number { min-width: 22px !important; height: 22px !important; font-size: 0.75rem !important; border-width: 2px !important; flex-shrink: 0; }
    .title-lbl { font-size: 0.95rem !important; white-space: normal !important; word-break: break-word; line-height: 1.3; flex: 1; }
    .sortable-list .list-item > div:last-child > a, .sortable-category-list .list-item > div:last-child > a { width: 42px; height: 42px; display: flex !important; align-items: center; justify-content: center; border-radius: 12px; flex-shrink: 0; font-size: 18px; text-decoration: none; }
    .sortable-list .list-item > div:last-child > a:first-of-type, .sortable-category-list .list-item > div:last-child > a:first-of-type { border: 2px solid #0d6efd; color: #0d6efd; background: #fff; }
    .sortable-list .list-item > div:last-child > a:last-of-type, .sortable-category-list .list-item > div:last-child > a:last-of-type { border: 2px solid #dc3545; color: #dc3545; background: #fff; margin-left: 8px; }
    .attach-icon { font-size: 1rem !important; }
    .card { padding: 12px !important; border-radius: 15px !important; margin-bottom: 15px !important; }
    .note-editor .note-toolbar { overflow-x: auto; white-space: nowrap; padding: 5px !important; }
}

/* === ÖZEL NOT GİRİŞ PENCERESİ (ZARİF MODAL) === */
.custom-prompt-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 9999; display: none; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.custom-prompt-box { background: #fff; width: 90%; max-width: 550px; border-radius: 16px; padding: 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); animation: promptPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.custom-prompt-title { color: var(--portugal-green); font-weight: 800; margin-bottom: 20px; font-size: 1.3rem; display: flex; align-items: center; }
.custom-prompt-box textarea { resize: vertical; border-radius: 12px; border: 2px solid #e0e0e0; padding: 15px; font-size: 1rem; font-weight: 500; font-family: inherit; transition: 0.3s; box-shadow: none; color: #444; }
.custom-prompt-box textarea:focus { border-color: var(--portugal-green); outline: none; box-shadow: 0 0 0 4px rgba(0,102,46,0.1); }
.custom-prompt-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 25px; }
.custom-prompt-actions .btn { border-radius: 10px; padding: 10px 25px; font-size: 1rem; transition: 0.2s; }
.custom-prompt-actions .btn-light { background: #f4f4f4; border: none; }
.custom-prompt-actions .btn-light:hover { background: #e0e0e0; }
.custom-prompt-actions .btn-success { box-shadow: 0 4px 10px rgba(0,102,46,0.2); }
.custom-prompt-actions .btn-success:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,102,46,0.3); }
@keyframes promptPop { 0% { opacity: 0; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1); } }

/* === YENİ ADMİN PANEL LAYOUT TASARIMI === */
.wrapper { display: flex; width: 100%; align-items: stretch; min-height: 100vh; }
.sidebar { width: 260px; background: var(--portugal-green, #006600); color: #fff; position: fixed; top: 0; left: 0; height: 100vh; z-index: 1000; box-shadow: 2px 0 5px rgba(0,0,0,0.1); display: flex; flex-direction: column; }
.sidebar .sidebar-header { padding: 25px 20px; background: rgba(0,0,0,0.15); text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.sidebar .sidebar-header h4 { margin: 0; font-weight: 800; font-size: 1.3rem; letter-spacing: 0.5px; }
.sidebar .user-info { padding: 15px 20px; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.05); text-align: center; }
.sidebar ul.components { padding: 15px 0; margin: 0; list-style: none; flex-grow: 1; overflow-y: auto; }
.sidebar ul li a { padding: 14px 25px; display: block; color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 600; font-size: 1rem; transition: all 0.3s ease; border-left: 4px solid transparent; }
.sidebar ul li a:hover { color: #fff; background: rgba(255,255,255,0.1); border-left: 4px solid rgba(255,255,255,0.5); padding-left: 30px; }
.sidebar ul li a.active { color: #fff; background: rgba(255,255,255,0.2); border-left: 4px solid #fff; }
.sidebar ul li a i { margin-right: 12px; width: 20px; text-align: center; font-size: 1.1rem; }
.sidebar .bottom-links { width: 100%; border-top: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.1); margin-top: auto; }
.sidebar .bottom-links a { padding: 15px 25px; color: #ffcccc; display: block; text-decoration: none; font-weight: bold; }
.sidebar .bottom-links a:hover { background: rgba(220,53,69,0.2); color: #fff; }
.sidebar .bottom-links a.view-site { color: #cce5ff; }
.sidebar .bottom-links a.view-site:hover { background: rgba(0,123,255,0.2); color: #fff; }
.content { margin-left: 260px; width: calc(100% - 260px); padding: 35px; min-height: 100vh; transition: all 0.3s; }
@media (max-width: 768px) {
    .wrapper { flex-direction: column; }
    .sidebar { position: relative; width: 100%; height: auto; display: block; }
    .sidebar ul.components { overflow-y: visible; }
    .content { margin-left: 0; width: 100%; padding: 20px; }
}

/* Tablo ve Dosya Adı Görünümü */
.table td.fw-bold { color: #2d3748; font-size: 0.9rem; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* İndirme butonu iyileştirme */
.btn-outline-primary { border-radius: 8px; padding: 5px 15px; font-weight: 600; transition: 0.3s; }
.btn-outline-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 6px rgba(49, 130, 206, 0.2); }

/* === INDEX.PHP YENİ DİKEY YERLEŞİM TASARIMI === */
.step-item { display: flex; gap: 25px; background: #fff; padding: 25px; border-radius: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 30px; border: 1px solid transparent; transition: 0.3s; }
.step-item:hover { border-color: var(--portugal-green); transform: translateY(-3px); }
.step-sidebar { display: flex; flex-direction: column; align-items: center; gap: 15px; min-width: 65px; border-right: 1px solid #f0f0f0; padding-right: 15px; }
.step-actions-vertical { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }

/* Aksiyon İkonları */
.action-icon-btn { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; background: #f8f9fa; border: 1px solid #eee; font-size: 1.1rem; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.upload-btn { color: #0d6efd; }
.upload-btn:hover { background: #0d6efd; color: #fff; transform: scale(1.1); }
.status-btn { color: #dc3545; background: #fff1f0; } 
.status-btn.active { color: #198754; background: #e8f5e9; border-color: #198754; }
.status-btn:hover { transform: scale(1.1); }

.step-content-main { flex: 1; min-width: 0; }
.step-header-inline h3 { color: var(--portugal-green); font-weight: 800; margin-bottom: 12px; font-size: 1.3rem; }
.step-body-text { font-size: 1rem; color: #4a5568; line-height: 1.7; }

/* Ekli Dosya Kapsülleri */
.attachment-link-capsule { display: inline-flex; align-items: center; gap: 8px; background: #f1f3f5; color: #495057; padding: 10px 18px; border-radius: 50px; text-decoration: none !important; font-size: 0.85rem; font-weight: 700; margin-top: 15px; transition: 0.2s; border: 1px solid #e9ecef; }
.attachment-link-capsule:hover { background: var(--portugal-green); color: #fff; }

/* Tıklanabilir Başlıklar İçin Hover Efekti */
.click-title { cursor: pointer; transition: 0.2s; }
.click-title:hover { text-decoration: underline; opacity: 0.8; }

/* Aktivite Alanı Dikey Şerit */
.step-activity-zone { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 15px; width: 45px; }
.activity-btn { width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; background: white; border: 1px solid #eee; font-size: 1rem; box-shadow: 0 2px 5px rgba(0,0,0,0.05); position: relative; overflow: hidden; }
.activity-btn:hover { transform: scale(1.1); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

.upload-wrapper { color: #0d6efd; border-color: #0d6efd; }
.disk-btn { color: #dc3545; background: #fff5f5; border-color: #feb2b2; }
.disk-btn:hover { color: #fff; background: #dc3545; border-color: #dc3545; transform: scale(1.1); }

/* Dolma Efekti (Progress Circle) */
.upload-progress-circle { position: absolute; bottom: 0; left: 0; width: 100%; height: 0%; background: rgba(13, 110, 253, 0.2); transition: height 0.2s linear; pointer-events: none; z-index: 1; }
.main-upload-icon { z-index: 2; }
.user-file-disks { display: flex; flex-direction: column; gap: 8px; margin-top: 5px; }

/* Yeni yüklenen disket için blink/pulse efekti */
.new-disk-anim { animation: diskPulse 0.5s ease-in-out 4; }
@keyframes diskPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
    50% { transform: scale(1.2); box-shadow: 0 0 10px 5px rgba(220, 53, 69, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

/* Akordeon ok simgesini en sağa sabitler */
.accordion-button::after { margin-left: auto !important; }
.accordion-button .fa-file + span { line-height: 1; }

/* MESAJ MERKEZİ (BİLET SİSTEMİ) YENİ TASARIMLARI */
.message-bubble-container:hover .btn-sm.text-danger { opacity: 1; }
.message-bubble-container .btn-sm.text-danger { opacity: 0; transition: opacity 0.2s; }
#ticketChatBox::-webkit-scrollbar { width: 6px; }
#ticketChatBox::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 10px; }

@media (max-width: 768px) {
    .step-item { flex-direction: column; gap: 15px; }
    .step-sidebar { flex-direction: row; border-right: none; border-bottom: 1px solid #f0f0f0; padding-right: 0; padding-bottom: 15px; width: 100%; justify-content: space-between; align-items: center !important; }
    .step-actions-vertical { flex-direction: row; margin-top: 0; }
    .step-activity-zone { flex-direction: row !important; width: auto !important; margin-top: 0; }
    .user-file-disks { flex-direction: row !important; }
    .message-bubble-container .btn-sm.text-danger { opacity: 1; } /* Mobilde çöp kutusu hep görünsün */
}