/* Navbar brand logo sizing */
.brand-logo { height: 96px; }
@media (max-width: 768px) {
  .brand-logo { height: 56px; }
}
/* Bootstrap Navbar Customization */
.navbar {
    height: 105px !important;
    padding: 1.25rem 0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.navbar-brand {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
}

.navbar-nav .nav-link {
    font-weight: 500 !important;
    padding: 1rem 1.25rem !important;
    border-radius: 0.375rem !important;
    transition: all 0.2s ease !important;
    margin: 0 0.25rem !important;
    font-size: 1.1rem !important;
}

.navbar-nav .nav-link:hover {
    background-color: #f8f9fa !important;
    color: #0d6efd !important;
}

.navbar-nav .nav-link i {
    font-size: 1.1rem !important;
}

/* Dropdown Menus */
.navbar-nav .dropdown-toggle::after {
    display: inline-block !important;
    margin-left: 0.5rem !important;
    vertical-align: 0.255em !important;
    content: "" !important;
    border-top: 0.3em solid !important;
    border-right: 0.3em solid transparent !important;
    border-bottom: 0 !important;
    border-left: 0.3em solid transparent !important;
}

.navbar-nav .dropdown-menu {
    border: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    border-radius: 0.5rem !important;
    margin-top: 0.5rem !important;
}

.navbar-nav .dropdown-item {
    padding: 0.75rem 1rem !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
}

.navbar-nav .dropdown-item:hover {
    background-color: #f8f9fa !important;
    color: #0d6efd !important;
    transform: translateX(4px) !important;
}

.navbar-nav .dropdown-item i {
    font-size: 0.9rem !important;
    width: 16px !important;
    text-align: center !important;
}

/* Task Definition Dropdown Specific */
#taskDefinitionDropdown {
    position: relative !important;
}

#taskDefinitionDropdown .dropdown-menu {
    min-width: 200px !important;
}

#taskDefinitionDropdown .dropdown-item {
    padding: 0.875rem 1.25rem !important;
    font-size: 0.95rem !important;
}

/* User Profile Dropdown */
.navbar-nav .dropdown-item:hover {
    background-color: #f8f9fa !important;
    color: #0d6efd !important;
}

.header-content {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 56px !important;
}

.header-left {
    display: flex !important;
    align-items: center !important;
}

.logo {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #1f2937 !important;
}

.logo i {
    font-size: 1.25rem !important;
    color: #3b82f6 !important;
}

.logo h1 {
    margin: 0 !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
}

.header-right {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.user-profile {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #f8fafc !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
}

.user-avatar {
    width: 28px !important;
    height: 28px !important;
    background: #3b82f6 !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 0.875rem !important;
}

.user-details {
    display: flex !important;
    flex-direction: column !important;
    color: #374151 !important;
}

.username {
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    line-height: 1.2 !important;
}

.user-role {
    font-size: 0.75rem !important;
    color: #6b7280 !important;
    text-transform: capitalize !important;
}

.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    transition: all 0.2s ease !important;
    border: none !important;
    cursor: pointer !important;
    position: relative !important;
}

.btn-secondary {
    background: #f8fafc !important;
    color: #374151 !important;
    border: 1px solid #e2e8f0 !important;
}

.btn-outline {
    background: transparent !important;
    color: #6b7280 !important;
    border: 1px solid #d1d5db !important;
}

.btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.btn-secondary:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

.btn-outline:hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
    color: #374151 !important;
}

/* Mobil Hamburger Menü */
.mobile-menu-toggle {
    display: none !important;
    flex-direction: column !important;
    gap: 3px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 6px !important;
}

.mobile-menu-toggle span {
    width: 20px !important;
    height: 2px !important;
    background: #374151 !important;
    border-radius: 1px !important;
    transition: all 0.3s ease !important;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px) !important;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0 !important;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px) !important;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .header-content {
        padding: 0 16px !important;
    }
    
    .header-actions {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: #ffffff !important;
        flex-direction: column !important;
        padding: 16px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
        border-top: 1px solid #e5e7eb !important;
    }
    
    .header-actions.active {
        display: flex !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .user-profile {
        padding: 4px 8px !important;
    }
    
    .user-details {
        display: none !important;
    }
    
    .btn {
        width: 100% !important;
        justify-content: center !important;
        margin: 2px 0 !important;
        padding: 8px 12px !important;
    }
}

/* Detail Button Stilleri */
.detail-btn {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 6px;
    cursor: pointer;
    font-size: 0.7rem;
    transition: background-color 0.2s ease;
}

.detail-btn:hover {
    background: #2563eb;
}

/* Full Width Detail Button */
.task-footer {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.detail-btn-full {
    width: 100%;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 3px 12px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.detail-btn-full:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.detail-btn-full i {
    font-size: 0.9rem;
}

/* Planlandı: Checklist Ekle (yarı) + Öncelik select */
.task-footer-priority-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.checklist-btn-half {
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
/* Öncelik select – modern, kompakt görünüm */
.task-priority-select {
    flex: 1;
    min-width: 0;
    height: 26px;
    margin-top: 3px;
    font-size: 0.72rem;
    font-weight: 500;
    color: #334155;
    background: linear-gradient(to bottom, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 4px 28px 4px 10px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%2364758b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 4.5 L6 7.5 L9 4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.6);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.task-priority-select:hover {
    border-color: #94a3b8;
    background: linear-gradient(to bottom, #f1f5f9 0%, #e2e8f0 100%);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.7);
}
.task-priority-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25), 0 1px 2px rgba(0,0,0,0.04);
}
/* Planlandı kolonu kartlarında öncelik select rengi – mavi tonu ile uyum */
#planlandı-column .task-priority-select {
    border-color: #b8d3e3;
    background: linear-gradient(to bottom, #f0f9ff 0%, #feffff 100%);
}
#planlandı-column .task-priority-select:hover {
    border-color: #7dd3fc;
    background: linear-gradient(to bottom, #e0f2fe 0%, #bae6fd 100%);
}
#planlandı-column .task-priority-select:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.25);
}

/* Öncelik satırı (Checklist + select) sadece Planlandı kolonunda görünsün; diğer kolonlarda gizle */
.kanban-column:not([data-status="planlandı"]) .task-footer-priority-row {
    display: none !important;
}

/* Scope Button (Backlog Kapsam) - Detay butonuna benzer, gri tonlarında */
.scope-btn {
    width: 100%;
    margin-top: 4px;
    background: #6b7280; /* gri */
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 3px 12px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.scope-btn:hover {
    background: #4b5563;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(75, 85, 99, 0.3);
}

/* Icebox: Backlog butonu sadece atanan kullanıcılar için aktif */
#backlog-column .scope-btn:disabled,
#backlog-column .scope-btn.disabled,
.kanban-column[data-status="backlog"] .scope-btn:disabled,
.kanban-column[data-status="backlog"] .scope-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Scope candidate locked state (checkbox işaretliyken) */
.scope-candidate-locked {
    background-color: #43745b !important; /* açık yeşil */
    border-color: #111111 !important;
    color: #f3f7f6 !important;
}

/* Scope modal içindeki süreç adayı textbox'ları: yüksekliği biraz azaltıldı */
#scopeCandidatesContainer .form-control {
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
    font-size: 0.8rem;
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 24px;
}

.detail-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.detail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-section h3 {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h3 i {
    color: #6b7280;
    font-size: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 8px 0;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item label {
    font-weight: 600;
    color: #4b5563;
    min-width: 140px;
    font-size: 0.9rem;
}

.detail-item span {
    color: #6b7280;
    text-align: right;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.modal-footer {
    padding: 16px 24px;
    background-color: #f9fafb;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 4px;
    }
    
    .detail-item label {
        min-width: auto;
    }
    
    .detail-item span {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1rem !important;
    }
    
    .header-content {
        height: 48px !important;
    }
    
    .kanban-board {
        flex-direction: column;
        gap: 12px;
        min-height: auto;
    }
    
    .kanban-column {
        min-height: 300px;
        width: 100%;
    }
    
    .task-list {
        min-height: 250px;
    }
}

/* Detail Button Stilleri */
.detail-btn {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 6px;
    cursor: pointer;
    font-size: 0.7rem;
    transition: background-color 0.2s ease;
}

.detail-btn:hover {
    background: #2563eb;
}

/* Full Width Detail Button */
.task-footer {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.detail-btn-full {
    width: 100%;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 3px 12px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.detail-btn-full:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.detail-btn-full i {
    font-size: 0.9rem;
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 24px;
}

.detail-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.detail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-section h3 {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h3 i {
    color: #6b7280;
    font-size: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 8px 0;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item label {
    font-weight: 600;
    color: #4b5563;
    min-width: 140px;
    font-size: 0.9rem;
}

.detail-item span {
    color: #6b7280;
    text-align: right;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.modal-footer {
    padding: 16px 24px;
    background-color: #f9fafb;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 4px;
    }
    
    .detail-item label {
        min-width: auto;
    }
    
    .detail-item span {
        text-align: left;
    }
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    color: #495057;
}

.board-container {
    max-width: 1300px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: #212529;
    margin-bottom: 30px;
    font-weight: 600;
}

.kanban-board {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: calc(100vh - 270px);
    padding: 0;
}

.kanban-column {
    flex: 1;
    background-color: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    min-height: calc(100vh - 290px);
    display: flex;
    flex-direction: column;
}

/* Sütun renkleri */
.kanban-column#backlog-column {
    background-color: #f1f1f2;
    border: 2px dashed #7d16dc;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.15);
}

.kanban-column#planlandı-column {
    background-color: #ffffff;
    border-left: 4px solid #0ea5e9;
}

.kanban-column#devam_ediyor-column {
    background-color: #ffffff;
    border-left: 4px solid #f59e0b;
}

.kanban-column#tamamlandı-column {
    background-color: #ffffff;
    border-left: 4px solid #22c55e;
}

.kanban-column#iptal_edildi-column {
    background-color: #ffffff;
    border-left: 4px solid #ef4444;
    flex: 0.5; /* Genişliği %50 azalt */
}

/* PD Arşiv Kutusu */
.pd-archive-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #6366f1;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 150px;
    justify-content: center;
}

.pd-archive-box:hover {
    background-color: #4f46e5;
    transform: scale(1.05);
}

.pd-archive-box i {
    font-size: 18px;
}

.pd-archive-box span {
    font-weight: 600;
    font-size: 14px;
}

/* Çöp Kutusu Drop Zone */
.trash-drop-zone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #ef4444;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px dashed transparent;
    min-width: 150px;
    justify-content: center;
}

.trash-drop-zone:hover {
    background-color: #dc2626;
    transform: scale(1.05);
}

.trash-drop-zone.drag-over {
    background-color: #dc2626;
    border-color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.trash-drop-zone i {
    font-size: 18px;
}

.trash-drop-zone span {
    font-weight: 600;
    font-size: 14px;
}

.column-header {
    margin-bottom: 0;
}

/* Kolon Genişlet / Daralt (Maximize / Restore) – başlığın solunda */
.column-maximize-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background-color: #f8fafc;
    color: #64748b;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.column-maximize-btn:hover {
    background-color: #e2e8f0;
    color: #475569;
    border-color: #cbd5e1;
}

.column-maximize-btn i {
    font-size: 0.525rem;
}

/* Genişletilmiş kolon: sadece bu kolon görünsün, diğerleri gizlensin */
.kanban-board.has-maximized .kanban-column:not(.is-maximized) {
    display: none !important;
}

.kanban-board.has-maximized .kanban-column.is-maximized {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
}

/* Genişletilmiş kolonda kartlar 4'lü grid: yan yana 4 kart, tam ekrana yayılsın (kart min 280px, araları boşluk) */
.kanban-column.is-maximized .task-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    gap: 16px 24px;
    align-content: start;
    max-height: calc(100vh - 290px);
    overflow-y: auto;
    width: 100%;
}

.kanban-column.is-maximized .task-list .task-card {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
}

.column-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: transparent;
    padding: 12px;
    border-radius: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
}

.column-title i {
    font-size: 1rem;
    color: #6b7280;
}

.kanban-column h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: #374151;
    text-align: left;
}

.task-list {
    flex: 1;
    min-height: calc(100vh - 370px);
    padding: 8px 4px;
    transition: background-color 0.3s ease;
    overflow-y: auto;
    border-radius: 8px;
}

.task-list.drag-over {
    background-color: #e0f0ff; /* Sürükleme sırasında arkaplan rengi */
}

/* Kanban: Sütunda en fazla 6 kart görünsün, fazlası scroll ile görülsün */
.kanban-column .task-list {
    min-height: 0; /* Önceki min-height tanımlarını geçersiz kıl */
    height: auto;
    max-height: 600px; /* ~5 kartlık görünür alan (yaklaşık) */
    overflow-y: auto;
    padding-right: 4px; /* scroll çubuğu için ufak boşluk */
}

/* Daha ince ve modern scroll bar (destekleyen tarayıcılar için) */
.kanban-column .task-list::-webkit-scrollbar {
    width: 8px;
}
.kanban-column .task-list::-webkit-scrollbar-track {
    background: transparent;
}
.kanban-column .task-list::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 8px;
}

.task-card {
    background-color: #ffffff;
    padding: 6px; /* daha kompakt kart iç dolgusu */
    border-radius: 6px;
    margin-bottom: 4px; /* kartlar arası boşluğu azalt */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    cursor: move;
    position: relative;
    transition: all 0.2s ease-in-out;
    min-height: 56px;
}

.task-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Icebox kolonundaki kartlar: açık lavanta, mor temasıyla uyumlu, beyaz değil */
#backlog-column .task-card,
.kanban-column[data-status="backlog"] .task-card {
    background-color: #f0e4ec;
    border-color: #ddd6fe;
}

/* Task İçerik Stilleri */
.task-title {
    font-size: 0.75rem; /* yazı boyutu küçültüldü */
    font-weight: 600;
    margin: 0;
    color: #1f2937;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 6px;
}

.task-definition-heading {
    margin-bottom: 2px; /* başlık ile içerik arası boşluğu azalt */
    padding-left: 3px;
}

.task-definition-heading strong {
    font-size: 0.7rem;
    color: #4b5563;
    font-weight: 600;
    line-height: 1.3;
}

.task-description {
    font-size: 0.65rem; /* yazı boyutu küçültüldü */
    color: #6b7280;
    margin: 0 0 2px 0; /* alt boşluk azaltıldı */
    line-height: 1.2;
}

.task-step {
    font-size: 0.6rem; /* yazı boyutu küçültüldü */
    color: #4b5563;
    margin: 1px 0 1px 13px; /* adımlar arası boşluğu azalt */
}

/* Takım Badge Stilleri */
.task-team-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    margin-bottom: 4px;
    border: none;
    background: transparent;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-team-badge i {
    font-size: 0.7rem;
}

.task-team-badge span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.task-team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 6px;
}

.self-assign-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 0;
    flex-shrink: 0;
    border: 1px solid rgba(252, 249, 249, 0.55);
    margin-left: 8px;
    margin-right: 8px;
    align-self: center;
}

.self-assign-indicator--assigned {
    background-color: #22c55e; /* yeşil - Size atanmış */
}

.self-assign-indicator--not-assigned {
    background-color: #e54343; /* kırmızı - atanmamış */
}

/* Planlandı: Dahil Ol butonu ve atanma alanı */
.task-assign-area {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.join-task-btn {
    padding: 0 6px;
    font-size: 0.4rem;
    line-height: 0.8;
    border: 1px solid #6366f1;
    background-color: #6366f1;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.join-task-btn:hover {
    background-color: #4f46e5;
    border-color: #4f46e5;
    color: #fff;
}

.task-assign-row-only .task-team-badge {
    display: none;
}

/* Planlandı: Checklist Ekle butonu – Detay ile aynı yükseklik, font, boşluk; sadece renk mor */
.checklist-btn {
    width: 100%;
    margin-top: 4px;
    background: #7c3aed;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 3px 12px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
}
.checklist-btn:hover {
    background: #6d28d9;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
    color: white;
}
.checklist-btn i {
    font-size: 0.9rem;
}

.checklist-btn:disabled,
.checklist-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Detay ve Checklist butonları kart footer'da aynı yükseklikte */
.task-footer .detail-btn-full,
.task-footer .checklist-btn {
    height: 26px;
    min-height: 26px;
    line-height: 1;
    padding-top: 0;
    padding-bottom: 0;
}

/* Faaliyet modalında checklist satırı işaretlenince yeşil zemin, içerik değiştirilemez */
.checklist-activity-row.checklist-item-checked {
    background-color: #d1e7dd !important;
    color: #0f5132;
}
.checklist-item-checked span {
    text-decoration: line-through;
    opacity: 0.9;
}


/* Task Header Stilleri */
.task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3px; /* başlık altı boşluğu azalt */
    position: relative;
}

/* Arşivle butonu - sadece Icebox kolonundaki kartlarda */
#backlog-column .archive-btn-small,
.kanban-column[data-status="backlog"] .archive-btn-small {
    position: absolute;
    top: 0;
    right: 8px;
    background-color: #6366f1;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
    white-space: nowrap;
}

#backlog-column .archive-btn-small:hover,
.kanban-column[data-status="backlog"] .archive-btn-small:hover {
    background-color: #4f46e5;
    transform: scale(1.05);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

#backlog-column .archive-btn-small i,
.kanban-column[data-status="backlog"] .archive-btn-small i {
    font-size: 11px;
}

/* Diğer kolonlarda arşivle butonu görünmesin */
.kanban-column:not([data-status="backlog"]) .archive-btn-small {
    display: none;
}

/* Disabled arşivle butonu */
.archive-btn-small:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #9ca3af !important;
}

.archive-btn-small:disabled:hover {
    transform: none;
    background-color: #9ca3af !important;
}

.task-header-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.task-header-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

/* Geçen süre - Planlandı ve Devam Ediyor kartlarında sağ üst, turuncu, sadece "X.X gün" */
.task-elapsed {
    color: #e67e22;
    font-size: 0.8rem;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Tamamlandı kolonunda geçen süre bilgisi gösterilmesin (sayfa yüklemesinde yok; sürükle-bırak sonrası da gizle) */
#tamamlandı-column .task-elapsed,
.kanban-column[data-status="tamamlandı"] .task-elapsed {
    display: none !important;
}

.task-priority {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    flex-shrink: 0;
}

.priority-low { background-color: #10b981; }
.priority-medium { background-color: #f59e0b; }
.priority-high { background-color: #ef4444; }
.priority-cancelled { background-color: #6b7280; }

.task-card.dragging {
    opacity: 0.5;
    cursor: move !important;
}

.task-card p {
    margin: 0;
    word-wrap: break-word;
    font-size: 0.95rem;
    line-height: 1.5;
}

.delete-btn {
    position: absolute;
    top: 4px;
    right: 6px;
    background: none;
    border: none;
    color: #adb5bd;
    font-size: 0.8rem;
    cursor: pointer;
    display: none; /* Normalde gizli */
    transition: color 0.2s;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-card:hover .delete-btn {
    display: flex; /* Kartın üzerine gelince göster */
}

.delete-btn:hover {
    color: #e74c3c;
}

/* Auth Sayfaları ve Form Stilleri */
.auth-body { display: flex; align-items: center; justify-content: center; height: 100vh; background-color: #f8f9fa; }
.auth-container { 
    background: white; 
    padding: 40px; 
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
    width: 400px;
}
.auth-container h2 { text-align: center; margin-bottom: 20px; font-weight: 600; color: #212529; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group select { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ced4da; 
    border-radius: 8px; 
    box-sizing: border-box; 
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #4dabf7;
    box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.25);
}

.auth-button { 
    width: 100%; 
    padding: 12px; 
    background-color: #3498db; 
    color: white; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
    font-size: 1rem; 
    font-weight: 500;
    margin-top: 10px;
    transition: background-color 0.2s, transform 0.1s;
}
.auth-button:hover { background-color: #2980b9; transform: translateY(-1px); }
.auth-container p { text-align: center; margin-top: 20px; }

/* Flash Mesajları */
.alert { padding: 15px; margin-bottom: 20px; border-radius: 8px; font-weight: 500; }
.alert-success { background-color: #d4edda; color: #155724; }
.alert-danger { background-color: #f8d7da; color: #721c24; }
.alert-warning { background-color: #fff3cd; color: #856404; }

/* Modern Header ve Menü Stilleri - Öncelikli */
.modern-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    backdrop-filter: blur(10px) !important;
    width: 100% !important;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.logo i {
    font-size: 1.8rem;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.user-details {
    display: flex;
    flex-direction: column;
    color: white;
}

.username {
    font-weight: 600;
    font-size: 0.9rem;
}

.user-role {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: capitalize;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn i {
    font-size: 0.9rem;
}

/* Mobil Hamburger Menü */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .header-content {
        padding: 0 15px;
    }
    
    .header-actions {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .header-actions.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .user-profile {
        padding: 6px 12px;
    }
    
    .user-details {
        display: none;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        margin: 4px 0;
    }
}

/* Detail Button Stilleri */
.detail-btn {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 6px;
    cursor: pointer;
    font-size: 0.7rem;
    transition: background-color 0.2s ease;
}

.detail-btn:hover {
    background: #2563eb;
}

/* Full Width Detail Button */
.task-footer {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.detail-btn-full {
    width: 100%;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 3px 12px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.detail-btn-full:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.detail-btn-full i {
    font-size: 0.9rem;
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 24px;
}

.detail-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.detail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-section h3 {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h3 i {
    color: #6b7280;
    font-size: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 8px 0;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item label {
    font-weight: 600;
    color: #4b5563;
    min-width: 140px;
    font-size: 0.9rem;
}

.detail-item span {
    color: #6b7280;
    text-align: right;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.modal-footer {
    padding: 16px 24px;
    background-color: #f9fafb;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 4px;
    }
    
    .detail-item label {
        min-width: auto;
    }
    
    .detail-item span {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .header-content {
        height: 60px;
    }
}

/* Detail Button Stilleri */
.detail-btn {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 6px;
    cursor: pointer;
    font-size: 0.7rem;
    transition: background-color 0.2s ease;
}

.detail-btn:hover {
    background: #2563eb;
}

/* Full Width Detail Button */
.task-footer {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.detail-btn-full {
    width: 100%;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 3px 12px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.detail-btn-full:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.detail-btn-full i {
    font-size: 0.9rem;
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 24px;
}

.detail-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.detail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-section h3 {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h3 i {
    color: #6b7280;
    font-size: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 8px 0;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item label {
    font-weight: 600;
    color: #4b5563;
    min-width: 140px;
    font-size: 0.9rem;
}

.detail-item span {
    color: #6b7280;
    text-align: right;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.modal-footer {
    padding: 16px 24px;
    background-color: #f9fafb;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 4px;
    }
    
    .detail-item label {
        min-width: auto;
    }
    
    .detail-item span {
        text-align: left;
    }
}

/* Flash Messages Kompakt Tasarım */
.flash-messages {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 1001;
    max-width: 350px;
}

.alert {
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    animation: slideIn 0.3s ease;
    font-size: 0.875rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Detail Button Stilleri */
.detail-btn {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 6px;
    cursor: pointer;
    font-size: 0.7rem;
    transition: background-color 0.2s ease;
}

.detail-btn:hover {
    background: #2563eb;
}

/* Full Width Detail Button */
.task-footer {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.detail-btn-full {
    width: 100%;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 3px 12px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.detail-btn-full:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.detail-btn-full i {
    font-size: 0.9rem;
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 24px;
}

.detail-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.detail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-section h3 {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h3 i {
    color: #6b7280;
    font-size: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 8px 0;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item label {
    font-weight: 600;
    color: #4b5563;
    min-width: 140px;
    font-size: 0.9rem;
}

.detail-item span {
    color: #6b7280;
    text-align: right;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.modal-footer {
    padding: 16px 24px;
    background-color: #f9fafb;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 4px;
    }
    
    .detail-item label {
        min-width: auto;
    }
    
    .detail-item span {
        text-align: left;
    }
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border-left: 3px solid #22c55e;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border-left: 3px solid #ef4444;
}

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border-left: 3px solid #f59e0b;
}

/* Sayfa İçerik Stilleri */
.main-content {
    max-width: 100%;
    margin: 0;
    padding: 20px;
    width: 100%;
    margin-top: 50px;
    min-height: calc(100vh - 175px);
}

/* Bannerlar kaldırıldı */


/* Page bottom banner (under columns) */
.page-bottom-banner {
    margin-top: 12px;
    height: 90px;
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    border: 0;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}
.page-bottom-banner-inner {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}
.page-bottom-banner .banner-title { font-weight: 700; }
.page-bottom-banner .banner-sub { opacity: 0.9; font-size: 0.9rem; }

/* Modern stat chips */
.page-bottom-banner .banner-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.page-bottom-banner .stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    backdrop-filter: saturate(140%) blur(2px);
}
.page-bottom-banner .stat-chip i { opacity: 0.95; }

.banner-content { }

.banner-text h3 { }

.banner-text p { }

.banner-stats { }

.stat-item { }

.stat-number { }

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Responsive Banner */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .banner-stats {
        gap: 30px;
    }
    
    .banner-text h3 {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Detail Button Stilleri */
.detail-btn {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 6px;
    cursor: pointer;
    font-size: 0.7rem;
    transition: background-color 0.2s ease;
}

.detail-btn:hover {
    background: #2563eb;
}

/* Full Width Detail Button */
.task-footer {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.detail-btn-full {
    width: 100%;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 3px 12px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.detail-btn-full:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.detail-btn-full i {
    font-size: 0.9rem;
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 24px;
}

.detail-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.detail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-section h3 {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h3 i {
    color: #6b7280;
    font-size: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 8px 0;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item label {
    font-weight: 600;
    color: #4b5563;
    min-width: 140px;
    font-size: 0.9rem;
}

.detail-item span {
    color: #6b7280;
    text-align: right;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.modal-footer {
    padding: 16px 24px;
    background-color: #f9fafb;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
    padding: 20px;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 4px;
    }
    
    .detail-item label {
        min-width: auto;
    }
    
    .detail-item span {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .banner-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* Detail Button Stilleri */
.detail-btn {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 6px;
    cursor: pointer;
    font-size: 0.7rem;
    transition: background-color 0.2s ease;
}

.detail-btn:hover {
    background: #2563eb;
}

/* Full Width Detail Button */
.task-footer {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.detail-btn-full {
    width: 100%;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 3px 12px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.detail-btn-full:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.detail-btn-full i {
    font-size: 0.9rem;
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 24px;
}

.detail-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.detail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-section h3 {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h3 i {
    color: #6b7280;
    font-size: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 8px 0;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item label {
    font-weight: 600;
    color: #4b5563;
    min-width: 140px;
    font-size: 0.9rem;
}

.detail-item span {
    color: #6b7280;
    text-align: right;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.modal-footer {
    padding: 16px 24px;
    background-color: #f9fafb;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 4px;
    }
    
    .detail-item label {
        min-width: auto;
    }
    
    .detail-item span {
        text-align: left;
    }
}

.page-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-header {
    background: #ffffff;
    color: #1f2937;
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.page-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-container {
    padding: 40px;
}

.form-container .form-group {
    margin-bottom: 25px;
}

.form-container .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}

.form-container .form-group input,
.form-container .form-group select,
.form-container .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-container .form-group input:focus,
.form-container .form-group select:focus,
.form-container .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-container .auth-button {
    width: 100%;
    padding: 12px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 16px;
    transition: all 0.2s ease;
}

.form-container .auth-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.back-link {
    text-align: center;
    margin-top: 20px;
}

.back-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-link a:hover {
    color: #2563eb;
}

/* Mevcut Öğeler Listesi */
.existing-projects,
.existing-definitions,
.existing-steps {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.existing-projects h3,
.existing-definitions h3,
.existing-steps h3 {
    color: #495057;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.projects-list,
.definitions-list,
.steps-list {
    display: grid;
    gap: 15px;
}

.project-item,
.definition-item,
.step-item {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.project-item:hover,
.definition-item:hover,
.step-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.project-info h4,
.definition-info h4,
.step-info h4 {
    margin: 0 0 8px 0;
    color: #212529;
    font-size: 1.1rem;
}

.project-info p,
.definition-info p,
.step-info p {
    margin: 0 0 8px 0;
    color: #6c757d;
    line-height: 1.5;
}

.project-info small,
.definition-info small,
.step-info small {
    color: #adb5bd;
    font-size: 0.85rem;
}

.no-projects,
.no-definitions,
.no-steps {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

/* Aktif Menü Butonu */
.btn.active {
    background: #3b82f6 !important;
    color: white !important;
    border-color: #3b82f6 !important;
}

.btn.active:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
}

/* Eski stiller - temizlik için */
/* Task Footer Stilleri */
.task-footer {
    margin-top: 6px;
    padding-top: 4px;
    border-top: 1px solid #f3f4f6;
}

.task-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.task-creator, .task-assigned {
    font-size: 0.6rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 3px;
}

.task-creator i, .task-assigned i {
    font-size: 0.55rem;
    width: 8px;
}


/* Kullanıcı Yönetim Sayfası */
.user-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.user-table th, .user-table td { text-align: left; padding: 12px; border-bottom: 1px solid #dee2e6; }
.user-table th { background-color: #e9ecef; color: #495057; font-weight: 600; }
.user-table tr:hover { background-color: #f0f3f6; }
.delete-user-btn { 
    background-color: #dc3545; 
    color: white; 
    border: none; 
    padding: 8px 12px; 
    border-radius: 5px; 
    cursor: pointer;
    font-weight: 500;
}
.delete-user-btn:hover { background-color: #c82333; }
.add-user-link { 
    display: inline-block; 
    margin-bottom: 20px; 
    padding: 10px 15px; 
    background-color: #007bff; 
    color: white; 
    text-decoration: none; 
    border-radius: 8px;
    font-weight: 500;
}
.add-user-link:hover { background-color: #0056b3; }

.auth-container p.back-link {
    margin-top: 30px;
    font-size: 0.9rem;
}

/* Role Badge Styles */
.role-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-badge:contains("Admin") {
    background-color: #dc3545;
    color: white;
}

.role-badge:contains("Proje Yöneticisi") {
    background-color: #fd7e14;
    color: white;
}

.role-badge:contains("User") {
    background-color: #6c757d;
    color: white;
}

.role-description {
    color: #6c757d;
    font-style: italic;
    margin-top: 2px;
}

/* Bulk Delete Button Styles */
/* İptal Edildi sütunu için özel stil - buton ile birlikte */
#iptal_edildi-column .column-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Diğer sütunlar için normal stil - sola yaslanmış */
.column-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.column-title h2 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bulk-delete-btn {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
    margin-left: auto;
}

.bulk-delete-btn:hover {
    background: linear-gradient(135deg, #5a6268, #495057);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.4);
}

.bulk-delete-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

.bulk-delete-btn i {
    font-size: 0.9rem;
    color: white;
}

.bulk-delete-btn span {
    font-size: 0.75rem;
    font-weight: 600;
}

/* Create Task Button Styles */
.create-task-btn {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
    margin-left: auto;
    text-decoration: none;
}

.create-task-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #5a6268, #495057);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.4);
}

.create-task-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

.create-task-btn i {
    font-size: 0.9rem;
    color: white;
}

.create-task-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(135deg, #9ca3af, #9ca3af);
}

/* Activity Button Styles */
.activity-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 3px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
    width: 48%;
    justify-content: center;
}

.activity-btn.disabled,
.activity-btn:disabled {
    background: #d1d5db;
    color: #6b7280;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.activity-btn.disabled:hover,
.activity-btn:disabled:hover {
    background: #d1d5db;
    box-shadow: none;
    transform: none;
}

.activity-btn:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4);
}

.activity-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.activity-btn i {
    font-size: 0.9rem;
    color: white;
}

.activity-btn span {
    font-size: 0.75rem;
    font-weight: 600;
}

/* Bootstrap modal stacking context fix for activity modal */
body .modal {
    z-index: 1060;
}

body .modal-backdrop {
    z-index: 1055;
}

/* Bottom banner removed */

/* Task Footer Layout for In-Progress Column */
.kanban-column[data-status="devam_ediyor"] .task-footer {
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

.kanban-column[data-status="devam_ediyor"] .detail-btn-full {
    width: 48%;
    padding: 3px 12px;
}

/* Activity list in Detail modal: render each activity as separate boxed row */
.activity-list-container {
    max-height: 180px;
    overflow-y: auto;
    padding: 0;
    margin-top: 8px;
}

.activity-item {
    padding: 6px 8px;
    margin-bottom: 6px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #ffffff;
    font-size: 0.85rem;
}

.activity-item:last-child {
    margin-bottom: 0;
}
/* İlk faaliyet (Görev Açıklaması) vurgusu */
.activity-item.initial-activity,
.activity-list-container .initial-activity {
    color: #7c3aed;
    font-weight: 600;
}

/* Görev Detayları modalı: satır arası boşluklar %70 azaltıldı */
#taskDetailModal .detail-section {
    margin-bottom: 7px;
    padding-bottom: 6px;
}
#taskDetailModal .detail-section h3 {
    margin: 0 0 5px 0;
}
#taskDetailModal .detail-item {
    margin-bottom: 4px;
    padding: 2px 0;
}