/* =============================================
   GÖREV YÖNETİM SİSTEMİ - STYLESHEET
   Modern, Şık, Profesyonel Tasarım
   ============================================= */

/* CSS Variables - Light Theme */
:root {
    /* Primary Colors - Modern Blue */
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --accent: #0ea5e9;
    --accent-glow: rgba(14, 165, 233, 0.2);
    --accent-primary: #2563eb;
    
    /* Background - Light Theme */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-hover: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    
    /* Text - Dark for Light Theme */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    /* Urgency Colors */
    --urgency-acil: #dc2626;
    --urgency-acil-bg: rgba(220, 38, 38, 0.1);
    --urgency-yuksek: #ea580c;
    --urgency-yuksek-bg: rgba(234, 88, 12, 0.1);
    --urgency-orta: #ca8a04;
    --urgency-orta-bg: rgba(202, 138, 4, 0.1);
    --urgency-dusuk: #16a34a;
    --urgency-dusuk-bg: rgba(22, 163, 74, 0.1);
    
    /* Status Colors */
    --status-yeni: #2563eb;
    --status-devam: #d97706;
    --status-tamamlandi: #059669;
    
    /* Misc */
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-md: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Extra Colors */
    --danger: #dc2626;
    --success: #16a34a;
    --warning: #d97706;
    
    /* Font */
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* Global bold text without changing font size */
body,
body * {
    font-weight: 800 !important;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    /* iOS overscroll fix */
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

/* Hide Scrollbar - Only for scrollable containers */
html,
body,
.main-content,
.page-content,
.modal-body,
.stats-scroll-container,
.sidebar {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.main-content::-webkit-scrollbar,
.page-content::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
.stats-scroll-container::-webkit-scrollbar,
.sidebar::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    /* iOS overscroll fix */
    overscroll-behavior-y: none;
    position: relative;
    font-weight: 600;
}

/* Background Pattern - Light */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    display: none; /* Hide pattern for light theme */
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(30, 58, 95, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    pointer-events: none;
    z-index: -1;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* =============================================
   LOADING SCREEN
   ============================================= */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: bounce 1s infinite;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

.loading-content p {
    color: var(--text-secondary);
    font-size: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =============================================
   LOGIN PAGE
   ============================================= */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 3rem;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.5s ease;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-logo {
    margin-bottom: 1rem;
}

.login-logo-img {
    width: 80px;
    height: 110px;
    border-radius: 18px;
    object-fit: contain; /* Logonun tamamı görünsün, kesme olmasın */
}

.login-header h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

/* =============================================
   FORM ELEMENTS
   ============================================= */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: var(--font-main);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    accent-color: var(--accent);
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    cursor: pointer;
}

/* Multi Select */
.multi-select {
    position: relative;
}

.multi-select-trigger {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.multi-select-trigger:hover {
    border-color: var(--primary-light);
}

.multi-select-trigger.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.multi-select-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
}

.multi-select-tag-remove {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.multi-select-tag-remove:hover {
    opacity: 1;
}

.multi-select-placeholder {
    color: var(--text-muted);
    padding: 0.25rem 0.5rem;
}

.multi-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    max-height: 300px;
    overflow: hidden;
    z-index: 100;
    display: none;
    box-shadow: var(--shadow-lg);
}

.multi-select-dropdown.show {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.2s ease;
}

.multi-select-search {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: var(--bg-card);
    z-index: 1;
}

.multi-select-search-input {
    width: 100%;
    padding: 0.6rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.multi-select-search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-card);
}

.multi-select-search-input::placeholder {
    color: var(--text-secondary);
}

.multi-select-options {
    overflow-y: auto;
    max-height: 200px;
    flex: 1;
}

.multi-select-no-results {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.multi-select-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background 0.2s;
}

.multi-select-option:hover {
    background: var(--bg-hover);
}

.multi-select-option.selected {
    background: var(--primary);
}

.multi-select-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.multi-select-option.selected .multi-select-checkbox {
    background: var(--accent);
    border-color: var(--accent);
}

.multi-select-option.selected .multi-select-checkbox::after {
    content: '✓';
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: bold;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-main);
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    color: var(--bg-primary);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

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

.btn-secondary:hover:not(:disabled) {
    background: var(--bg-hover);
    border-color: var(--primary-light);
}

.btn-danger {
    background: var(--urgency-acil);
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background: #dc2626;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 0.5rem;
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    padding: 0.5rem;
    width: 40px;
    height: 40px;
}

/* =============================================
   MAIN LAYOUT
   ============================================= */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    transition: transform 0.3s ease;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logo-img {
    width: 30px;
    height: 46px;
    border-radius: 10px;
    object-fit: contain; /* Dikey logo tam görünsün, yanlardan kesilmesin */
}

.sidebar-logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 1.5rem;
}

.nav-section-title {
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

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

.nav-item.active {
    color: var(--accent);
    background: linear-gradient(90deg, var(--accent-glow), transparent);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    border-radius: 0 3px 3px 0;
}

.nav-item-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.nav-item-badge {
    margin-left: auto;
    background: var(--urgency-acil);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
}

/* PWA Install Button */
.pwa-install-btn {
    background: linear-gradient(135deg, var(--success), #059669) !important;
    color: white !important;
    border-radius: var(--radius);
    margin: 0.5rem 1rem;
    padding: 0.75rem 1rem !important;
}

.pwa-install-btn:hover {
    background: linear-gradient(135deg, #059669, #047857) !important;
    transform: translateY(-1px);
    min-width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    min-height: 100vh;
    padding-top: env(safe-area-inset-top, 0);
}

.page-header {
    padding: 1.5rem 2rem;
    padding-top: calc(1.5rem + env(safe-area-inset-top, 0));
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.page-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-content {
    padding: 2rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

/* =============================================
   DASHBOARD
   ============================================= */
.stats-scroll-container {
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

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

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.total { background: var(--primary); }
.stat-icon.yeni { background: var(--status-yeni); }
.stat-icon.devam { background: var(--status-devam); }
.stat-icon.tamamlandi { background: var(--status-tamamlandi); }
.stat-icon.gorulmemis { background: var(--urgency-acil); }

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.stat-card-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.stat-card-clickable:active {
    transform: translateY(-2px);
}

/* Section */
.section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.section-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-content {
    padding: 1rem;
}

/* =============================================
   TASK LIST & CARDS
   ============================================= */

/* Task Search Box */
.task-search-box {
    margin-bottom: 1rem;
}

.task-search-box .search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.task-search-box .search-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.task-search-box .search-icon {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    opacity: 0.6;
}

.task-search-box .search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
}

.task-search-box .search-input::placeholder {
    color: var(--text-secondary);
}

.task-search-box .search-clear-btn {
    background: var(--bg-secondary);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.task-search-box .search-clear-btn:hover {
    background: var(--danger);
    color: white;
}

.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.filter-select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.875rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
}

.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.task-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.task-card:hover {
    border-color: var(--primary-light);
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
}

.task-card.unseen {
    border-left: 4px solid var(--accent);
    background: linear-gradient(90deg, var(--accent-glow), transparent 30%);
}

.task-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.task-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.task-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.task-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.task-badges {
    display: flex;
    gap: 0.5rem;
}

.task-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.task-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.task-assignees {
    display: flex;
    align-items: center;
}

.task-assignee {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: -8px;
}

.task-assignee:first-child {
    margin-left: 0;
}

.task-assignee.seen {
    background: var(--status-tamamlandi);
}

.task-assignee-more {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.task-seen-indicator {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.task-seen-indicator.seen {
    color: var(--accent);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-urgency-acil {
    background: var(--urgency-acil-bg);
    color: var(--urgency-acil);
    border: 1px solid var(--urgency-acil);
}

.badge-urgency-yuksek {
    background: var(--urgency-yuksek-bg);
    color: var(--urgency-yuksek);
    border: 1px solid var(--urgency-yuksek);
}

.badge-urgency-orta {
    background: var(--urgency-orta-bg);
    color: var(--urgency-orta);
    border: 1px solid var(--urgency-orta);
}

.badge-urgency-dusuk {
    background: var(--urgency-dusuk-bg);
    color: var(--urgency-dusuk);
    border: 1px solid var(--urgency-dusuk);
}

.badge-status {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.badge-status.yeni {
    color: var(--status-yeni);
}

.badge-status.devam_ediyor {
    color: var(--status-devam);
}

.badge-status.tamamlandi {
    color: var(--status-tamamlandi);
}

/* =============================================
   TASK DETAIL
   ============================================= */
.task-detail {
    max-width: 100%;
    width: 100%;
}

/* Desktop task detail layout */
@media (min-width: 769px) {
    .task-detail {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }
    
    .task-detail-header {
        padding: 1.5rem 0;
    }
    
    .task-detail-title {
        font-size: 2rem;
    }
    
    .task-detail-section {
        padding: 2rem;
    }
    
    .task-detail-meta {
        gap: 2rem;
    }
    
    /* İki sütunlu layout - Açıklama ve Atanan kişiler yan yana */
    .task-detail-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .task-detail-grid .task-detail-section {
        margin-bottom: 0;
        height: fit-content;
    }
    
    /* Tek eleman varsa tam genişlik */
    .task-detail-grid .task-detail-section:only-child {
        grid-column: 1 / -1;
    }
    
    /* Açıklama ekle kısmı tam genişlik */
    .task-detail-section.comment-section {
        margin-bottom: 1.5rem;
    }
    
    /* Comment box daha geniş */
    .comment-box {
        max-width: 100%;
    }
    
    .comment-input {
        min-height: 100px;
    }
    
    /* Media gallery daha geniş */
    .media-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    /* Timeline daha geniş */
    .timeline {
        max-width: 100%;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
    
    /* Assignee list daha okunabilir */
    .assignees-list {
        gap: 1rem;
    }
    
    .assignee-item {
        padding: 1rem 1.25rem;
    }
    
    .assignee-avatar {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
    
    .assignee-name {
        font-size: 1rem;
    }
}

.task-detail-header {
    margin-bottom: 2rem;
    margin-top: 1rem;
}

@media (max-width: 640px) {
    .task-detail-header {
        margin-top: 1.5rem;
    }
}

.work-order-no {
    font-weight: 600;
    color: var(--primary-color);
}

.task-detail-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.task-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-secondary);
}

.task-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.task-detail-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.task-detail-section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.task-description-full {
    color: var(--text-secondary);
    line-height: 1.7;
    white-space: pre-wrap;
}

/* Assignees List */
.assignees-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.assignee-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.assignee-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.assignee-info {
    flex: 1;
}

.assignee-name {
    font-weight: 500;
}

.assignee-status {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.assignee-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    margin-left: auto;
}

.assignee-notif-badge {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.35);
    cursor: help;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.assignee-notif-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
}

.assignee-notif-badge .notif-icon {
    font-size: 0.9rem;
}

.assignee-notif-badge .notif-count {
    background: rgba(255, 255, 255, 0.25);
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    font-size: 0.75rem;
}

.assignee-seen {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
}

.assignee-seen.seen {
    color: var(--accent);
}

.assignee-seen.unseen {
    color: var(--text-muted);
}

/* Media Gallery */
.media-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.media-item {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: var(--bg-secondary);
}

.media-item img,
.media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.media-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.media-item:hover .media-item-overlay {
    opacity: 1;
}

.media-item-overlay span {
    font-size: 2rem;
}

.media-document {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s;
    min-width: 100px;
    aspect-ratio: 1;
}

.media-document:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

.media-doc-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.media-doc-name {
    font-size: 0.75rem;
    text-align: center;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -1.65rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg-card);
}

.timeline-item.completed .timeline-dot {
    background: var(--status-tamamlandi);
}

.timeline-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.timeline-author {
    font-weight: 500;
}

.timeline-time {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.timeline-text {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.timeline-media {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.timeline-media-item {
    position: relative;
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-media-item img,
.timeline-media-item video {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.timeline-media-item video {
    /* Video thumbnail - don't play, just show frame */
    object-fit: cover;
}

.timeline-media-item .media-type-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    pointer-events: none;
}

.timeline-document {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s;
}

.timeline-document:hover {
    background: var(--accent-primary);
    color: white;
}

.timeline-document .doc-icon {
    font-size: 1.25rem;
}

.timeline-document .doc-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.85rem;
}

.timeline-completed-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: var(--status-tamamlandi);
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.timeline-seen-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
}

.timeline-seen-status.seen .seen-badge {
    color: var(--accent-primary);
    font-weight: 500;
}

.timeline-seen-status.seen .seen-time {
    color: var(--text-muted);
}

.timeline-seen-status.unseen .unseen-badge {
    color: var(--text-muted);
}

.timeline-item.own .timeline-content {
    border-left: 3px solid var(--accent-primary);
}

/* =============================================
   COMMENT SECTION
   ============================================= */
.comment-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.comment-box {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.comment-input {
    width: 100%;
    min-height: 80px;
    resize: vertical;
    margin-bottom: 0.75rem;
}

/* Media Buttons */
.media-buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.media-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 1.75rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    min-width: 100px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.media-btn:active {
    transform: scale(0.95);
}

.media-btn-icon {
    width: 28px;
    height: 28px;
    stroke: white;
}

.media-btn-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.3px;
}

.media-btn-camera {
    background: linear-gradient(145deg, #5BA3E8, #3D8BD4);
}

.media-btn-camera:hover {
    background: linear-gradient(145deg, #4A95DC, #2E7BC4);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 144, 217, 0.4);
}

.media-btn-video {
    background: linear-gradient(145deg, #F06B7E, #E54D62);
}

.media-btn-video:hover {
    background: linear-gradient(145deg, #E85A71, #D64456);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 90, 113, 0.4);
}

.media-btn-gallery {
    background: linear-gradient(145deg, #B86FD1, #9B4DB8);
}

.media-btn-gallery:hover {
    background: linear-gradient(145deg, #A85DC5, #8A3DA8);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.4);
}

.media-btn-files {
    background: linear-gradient(145deg, #34D399, #10B981);
}

.media-btn-files:hover {
    background: linear-gradient(145deg, #22C989, #059669);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.media-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Small Media Buttons */
.media-buttons-sm {
    gap: 0.5rem;
}

.media-btn-sm {
    padding: 0.75rem 1rem;
    min-width: 80px;
    border-radius: 10px;
}

.media-btn-sm .media-btn-icon {
    width: 22px;
    height: 22px;
}

.media-btn-sm .media-btn-text {
    font-size: 0.8rem;
}

.comment-media-section {
    margin-bottom: 0.75rem;
}

.comment-file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.comment-file-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-tertiary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.comment-file-icon {
    font-size: 1rem;
}

.comment-file-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comment-file-remove {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    padding: 0 0.25rem;
    font-size: 1rem;
    line-height: 1;
}

.comment-file-remove:hover {
    transform: scale(1.2);
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
}

.comment-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.btn-success {
    background: linear-gradient(135deg, var(--status-tamamlandi), #059669);
    color: white;
}

.btn-success:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* =============================================
   NOTIFICATIONS
   ============================================= */

/* Push Notification Section - kullanıcı isteği ile gizlendi (sistem çalışmaya devam eder) */
.push-notification-section {
    display: none !important;
}

.push-status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.push-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.push-buttons .btn {
    padding: 10px 20px;
}

/* Cleanup Settings Card */
.cleanup-settings-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.cleanup-settings-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cleanup-settings-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cleanup-setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
    gap: 16px;
}

.cleanup-setting-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.cleanup-setting-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cleanup-setting-text {
    flex: 1;
}

.cleanup-setting-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cleanup-setting-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.cleanup-toggle-group {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cleanup-radio {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.cleanup-radio input {
    display: none;
}

.cleanup-radio:hover {
    background: var(--bg-hover);
}

.cleanup-radio.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.cleanup-radio.active:first-child {
    background: var(--success);
    border-color: var(--success);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cleanup-setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .cleanup-toggle-group {
        width: 100%;
    }
    
    .cleanup-radio {
        flex: 1;
        justify-content: center;
    }
    
    .cleanup-settings-card {
        padding: 16px;
        margin: 0 -16px 16px -16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

/* Bildirimler sayfasındaki "Bildirimlere İzin Ver" bannerı - kullanıcı isteği ile gizlendi (mobil + masaüstü) */
.push-permission-banner {
    display: none !important;
}
.push-permission-text { flex: 1; min-width: 200px; }
#request-push-permission-btn { white-space: nowrap; }

.notifications-list {
    display: flex;
    flex-direction: column;
}

.notification-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
}

.notification-item:hover {
    background: var(--bg-hover);
}

.notification-item.unread {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.15), transparent 35%);
    border-left: 4px solid #00d4ff;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.notification-message {
    color: var(--text-secondary);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* =============================================
   USERS SEARCH BOX
   ============================================= */
.users-search-box {
    margin-bottom: 1.5rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.search-icon {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    opacity: 0.6;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
    padding: 0.5rem 0;
}

.search-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.search-clear-btn {
    background: var(--bg-hover);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.search-clear-btn:hover {
    background: var(--danger);
    color: white;
}

.no-results-message {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}

.no-results-message .no-results-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results-message .no-results-text {
    font-size: 1.1rem;
}

/* =============================================
   USERS LIST (Admin)
   ============================================= */
.users-table {
    width: 100%;
    border-collapse: collapse;
}

.users-table th,
.users-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.users-table th {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.users-table tr:hover td {
    background: var(--bg-hover);
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-cell-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.user-cell-info {
    min-width: 0;
}

.user-cell-name {
    font-weight: 500;
}

.user-cell-username {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.role-badge {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.role-badge.admin {
    background: var(--urgency-acil-bg);
    color: var(--urgency-acil);
}

.role-badge.yonetici {
    background: var(--accent-glow);
    color: var(--accent);
}

.role-badge.calisan {
    background: var(--urgency-dusuk-bg);
    color: var(--urgency-dusuk);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.active {
    background: var(--status-tamamlandi);
}

.status-dot.inactive {
    background: var(--urgency-acil);
}

/* =============================================
   MODAL
   ============================================= */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-lg {
    max-width: 800px;
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.2s;
}

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

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =============================================
   TOAST NOTIFICATIONS
   ============================================= */
#toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.3s ease;
}

.toast.success {
    border-left: 4px solid var(--status-tamamlandi);
}

.toast.error {
    border-left: 4px solid var(--urgency-acil);
}

.toast.warning {
    border-left: 4px solid var(--urgency-yuksek);
}

.toast.info {
    border-left: 4px solid var(--accent);
}

.toast-icon {
    font-size: 1.25rem;
}

.toast-message {
    flex: 1;
    font-size: 0.95rem;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0;
    line-height: 1;
}

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

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

/* Notification Toast - Özel Bildirim */
.notification-toast {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border-left: 4px solid var(--primary);
    padding: 0;
    overflow: hidden;
}

.notification-toast-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    flex: 1;
    transition: background 0.2s;
}

.notification-toast-content:hover {
    background: var(--bg-hover);
}

.notification-toast-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.notification-toast-body {
    flex: 1;
}

.notification-toast-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.notification-toast-message {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    white-space: pre-line;
}

/* Yeni Güncelleme Animasyonu */
.new-update-animation {
    animation: highlightNew 0.5s ease;
}

@keyframes highlightNew {
    0% {
        background: rgba(37, 99, 235, 0.2);
        transform: translateX(-10px);
        opacity: 0;
    }
    50% {
        background: rgba(37, 99, 235, 0.1);
    }
    100% {
        background: transparent;
        transform: translateX(0);
        opacity: 1;
    }
}

/* =============================================
   EMPTY STATE
   ============================================= */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.empty-state-text,
.empty-state-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.task-search-no-results {
    padding: 2rem;
}

/* =============================================
   FILE UPLOAD
   ============================================= */
.file-upload {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
}

.file-upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.file-upload-text {
    color: var(--text-secondary);
}

.file-upload-text strong {
    color: var(--accent);
}

.file-preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.file-preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-secondary);
}

.file-preview-item img,
.file-preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--urgency-acil);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

/* =============================================
   PROFILE PAGE
   ============================================= */
.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 600;
}

.profile-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.profile-info p {
    color: var(--text-secondary);
}

/* Profile Logout Section */
.profile-logout-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.btn-logout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(145deg, #ef4444, #dc2626);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: linear-gradient(145deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn-logout:active {
    transform: translateY(0);
}

.btn-logout .logout-icon {
    width: 20px;
    height: 20px;
}

/* =============================================
   MOBILE QUICK ACTION BUTTONS
   ============================================= */
.mobile-quick-actions {
    display: none;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.quick-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 16px;
    border: none;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.quick-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.quick-action-btn.users-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.quick-action-btn.performance-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
}

.quick-action-btn.my-tasks-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.quick-action-btn:hover {
    transform: translateY(-4px) scale(1.02);
}

.quick-action-btn.users-btn:hover {
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}

.quick-action-btn.performance-btn:hover {
    box-shadow: 0 12px 35px rgba(245, 87, 108, 0.5);
}

.quick-action-btn.my-tasks-btn:hover {
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5);
}

.quick-action-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.quick-action-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.quick-action-btn:hover .quick-action-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.35);
}

.quick-action-icon svg {
    width: 26px;
    height: 26px;
}

.quick-action-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Legacy support */
.mobile-users-btn-container {
    display: none;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .sidebar-overlay.show {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .page-header {
        padding: 0 0.75rem;
        padding-top: max(38px, calc(10px + env(safe-area-inset-top, 38px)));
        padding-bottom: 8px;
        min-height: 44px;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 4px;
        background: var(--bg-card);
        box-sizing: border-box;
    }
    
    .page-header .page-title {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        font-size: 1.05rem;
        margin: 0;
        padding: 0;
        text-align: left;
        width: 100%;
        min-height: 24px;
        line-height: 24px;
    }
    
    /* Mobil: sağdaki dikey scrollbar gizlensin */
    html, body, #app, .main-content, .page-content {
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    html::-webkit-scrollbar,
    body::-webkit-scrollbar,
    #app::-webkit-scrollbar,
    .main-content::-webkit-scrollbar,
    .page-content::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    
    .page-actions {
        display: flex;
        gap: 10px;
        width: 100%;
        justify-content: center;
    }
    
    .page-actions .btn {
        flex: 1;
        padding: 12px 16px;
        font-size: 0.9rem;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
    }
    
    /* Düzenle butonu - mavi/mor renk */
    .page-actions .btn-secondary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
    }
    
    .page-actions .btn-secondary:hover,
    .page-actions .btn-secondary:active {
        background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
    }
    
    .page-content {
        padding: 1rem;
        overflow-x: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .main-content {
        overflow-x: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Profil sayfası: 3 kart tek satırda sığsın, taşma olmasın */
    .page-content > .stats-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .page-content > .stats-grid .stat-card {
        flex: none !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 0.75rem;
    }
    .page-content > .stats-grid .stat-card .stat-value {
        font-size: 1.25rem;
    }
    .page-content > .stats-grid .stat-card .stat-label {
        font-size: 0.65rem;
        line-height: 1.2;
        word-break: break-word;
    }
    
    .profile-header {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    .profile-avatar-large {
        width: 72px;
        height: 72px;
        font-size: 1.75rem;
    }
    .profile-info h2 {
        font-size: 1.2rem;
    }
    .profile-info p {
        font-size: 0.85rem;
    }
    
    /* Hide filters bar on mobile */
    .filters-bar {
        display: none !important;
    }
    
    /* Hide create task button on mobile (FAB is available) */
    #create-task-btn {
        display: none !important;
    }
    
    /* Mobile quick actions */
    .mobile-quick-actions {
        display: flex;
    }
    
    .mobile-users-btn-container {
        display: none;
    }
    
    /* Horizontal scrolling stats on mobile */
    .stats-scroll-container {
        margin: 0 -1rem 1.5rem -1rem;
        padding: 0 1rem;
        padding-top: env(safe-area-inset-top, 0);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .stats-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.75rem;
        padding: 0.25rem 0;
    }
    
    .stat-card {
        flex: 0 0 auto;
        min-width: 120px;
        max-width: 140px;
        padding: 1rem;
    }
    
    .stat-card .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
    
    .stat-card .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.75rem;
    }
    
    .login-card {
        padding: 2rem 1.5rem;
    }
    
    .modal {
        margin: 1rem;
        max-height: calc(100vh - 6rem);
        max-height: calc(100dvh - 6rem);
    }
    
    /* Mobile Users Table - Card Layout */
    .users-table {
        display: block;
    }
    
    .users-table thead {
        display: none;
    }
    
    .users-table tbody {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .users-table tr {
        display: flex;
        flex-direction: column;
        background: var(--bg-card);
        border-radius: var(--radius);
        padding: 1rem;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow);
    }
    
    .users-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem 0;
        border-bottom: none;
    }
    
    .users-table td:before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.75rem;
        color: var(--text-muted);
        text-transform: uppercase;
        margin-right: 1rem;
    }
    
    .users-table td:first-child {
        padding-top: 0;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .users-table td:first-child:before {
        display: none;
    }
    
    .users-table td:last-child {
        padding-top: 0.75rem;
        border-top: 1px solid var(--border-color);
        margin-top: 0.5rem;
        justify-content: center;
    }
    
    .users-table td:last-child:before {
        display: none;
    }
    
    .users-table td:last-child > div {
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }
    
    .users-table .btn-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
    
    .user-cell {
        flex: 1;
        justify-content: flex-start;
    }
    
    .user-cell-avatar {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .user-cell-name {
        font-size: 1.1rem;
    }
    
    .role-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }
    
    .task-detail-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    /* Mobile Comment Section */
    .comment-section .comment-box {
        padding: 0;
    }
    
    .comment-media-section .media-buttons {
        display: flex;
        gap: 0.5rem;
    }
    
    .comment-media-section .media-btn {
        flex: 1 1 calc(25% - 0.4rem);
        min-width: 0;
        padding: 0.5rem 0.25rem;
    }
    
    .comment-media-section .media-btn-text {
        font-size: 0.6rem;
    }
    
    .comment-media-section .media-btn-icon {
        width: 16px;
        height: 16px;
    }
    
    .comment-actions {
        margin-top: 0.75rem;
    }
    
    .comment-actions .btn {
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    
    /* Mobile Media Buttons in Modal */
    .media-buttons {
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    
    .media-btn {
        flex: 1 1 calc(25% - 0.4rem);
        min-width: 0;
        padding: 0.6rem 0.3rem;
    }
    
    .media-btn-icon {
        width: 20px;
        height: 20px;
    }
    
    .media-btn-text {
        font-size: 0.65rem;
    }
    
    /* Hide sidebar completely on mobile */
    .sidebar {
        display: none !important;
    }
    
    .sidebar-overlay {
        display: none !important;
    }
    
    /* Show bottom navigation on mobile */
    .bottom-nav {
        display: flex !important;
    }
    
    /* Hide mobile menu toggle (hamburger) completely */
    .mobile-menu-toggle {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    
    /* Alt nav + sistem tuşları alanı (Android gezinti çubuğu ~48px) */
    .main-content {
        padding-bottom: calc(80px + max(env(safe-area-inset-bottom, 0), 48px));
    }
    
    @supports (padding-bottom: constant(safe-area-inset-bottom)) {
        .main-content {
            padding-bottom: calc(80px + max(constant(safe-area-inset-bottom), 48px));
        }
    }
    
    .page-content {
        padding-bottom: 1.5rem;
    }
    
    /* Page header adjustments */
    .page-header {
        padding: 1rem;
    }
    
    .page-header-actions {
        gap: 0.5rem;
    }
}

/* =============================================
   iOS SAFARI SPECIFIC FIXES
   ============================================= */
/* iOS Safari PWA/Standalone mode */
@media screen and (max-width: 768px) {
    /* iOS status bar fix - sabit header (mobilde biraz daha aşağı, yazı sol + dikey ortada) */
    .page-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding-top: max(38px, calc(10px + env(safe-area-inset-top, 38px))) !important;
        padding-bottom: 8px !important;
        min-height: 44px !important;
        justify-content: center !important;
        background: var(--bg-card) !important;
        z-index: 100 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    
    /* Header için içerik boşluğu */
    .page-content {
        padding-top: 56px !important;
    }
    
    /* iOS safe area destekleniyorsa */
    @supports (padding-top: env(safe-area-inset-top)) {
        .page-content {
            padding-top: calc(52px + env(safe-area-inset-top, 0px)) !important;
        }
    }
}

/* =============================================
   BOTTOM NAVIGATION (Mobile)
   ============================================= */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    align-items: center;
    justify-content: space-evenly;
    padding: 6px 4px;
    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0));
    height: calc(60px + env(safe-area-inset-bottom, 0));
    /* iOS scroll bounce fix */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

/* iOS için ek destek */
@supports (padding-bottom: constant(safe-area-inset-bottom)) {
    .bottom-nav {
        padding-bottom: calc(6px + constant(safe-area-inset-bottom));
        height: calc(60px + constant(safe-area-inset-bottom));
    }
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
    min-width: 50px;
    border-radius: 10px;
}

.bottom-nav-item:active {
    background: rgba(99, 102, 241, 0.1);
    transform: scale(0.95);
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--primary);
}

.bottom-nav-item.active .bottom-nav-icon {
    stroke: var(--primary);
}

.bottom-nav-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
}

.bottom-nav-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 16px;
    height: 16px;
    background: var(--urgency-acil);
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Floating Action Button */
.bottom-nav-fab {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, #6366f1, #4f46e5);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    transform: translateY(-12px);
    flex-shrink: 0;
}

.bottom-nav-fab:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.bottom-nav-fab:active {
    transform: translateY(-12px) scale(0.95);
}

.bottom-nav-fab svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

/* =============================================
   UTILITIES
   ============================================= */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--status-tamamlandi); }
.text-warning { color: var(--urgency-yuksek); }
.text-danger { color: var(--urgency-acil); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* =============================================
   BİLDİRİM MODAL - Şık Popup Bildirimleri
   ============================================= */

/* Modal Overlay */
.notification-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Modal Container */
.notification-modal {
    background: var(--bg-card);
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.8) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

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

/* Modal Header */
.notification-modal-header {
    padding: 24px 24px 0;
    text-align: center;
}

.notification-modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes modalBounce {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

/* Icon Types */
.notification-modal-icon.task {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.notification-modal-icon.comment {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.notification-modal-icon.reminder {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.notification-modal-icon.urgent {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

.notification-modal-icon.success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

.notification-modal-icon.info {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.notification-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.notification-modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Modal Body */
.notification-modal-body {
    padding: 20px 24px;
}

.notification-modal-message {
    background: var(--bg-hover);
    border-radius: 12px;
    padding: 16px;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.6;
    border-left: 4px solid var(--primary);
}

.notification-modal-details {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.notification-modal-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: var(--bg-hover);
    padding: 6px 12px;
    border-radius: 20px;
}

.notification-modal-detail-icon {
    font-size: 1rem;
}

/* Modal Footer */
.notification-modal-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
}

.notification-modal-btn {
    flex: 1;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.notification-modal-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.notification-modal-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

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

.notification-modal-btn.secondary:hover {
    background: var(--bg-tertiary);
}

/* Modal Close Button */
.notification-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-hover);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.notification-modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Notification Badge Animation */
.notification-modal-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    animation: badgeBounce 0.5s ease;
}

@keyframes badgeBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Sound Wave Animation */
.notification-modal-sound-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    pointer-events: none;
}

.notification-modal-sound-wave::before,
.notification-modal-sound-wave::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    animation: soundWave 2s ease-out infinite;
}

.notification-modal-sound-wave::after {
    animation-delay: 0.5s;
}

@keyframes soundWave {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Stack multiple notifications */
.notification-modal-stack {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    pointer-events: none;
}

.notification-modal-stack > * {
    pointer-events: auto;
}

/* Mini notification card (for stacked notifications) */
.notification-mini-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 380px;
    min-width: 320px;
    animation: slideInRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.notification-mini-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.notification-mini-card.hiding {
    animation: slideOutRight 0.3s ease forwards;
}

@keyframes slideOutRight {
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

.notification-mini-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.notification-mini-icon.task {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
    color: #3b82f6;
}

.notification-mini-icon.comment {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    color: #10b981;
}

.notification-mini-icon.reminder {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    color: #f59e0b;
}

.notification-mini-icon.urgent {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
    color: #ef4444;
}

.notification-mini-content {
    flex: 1;
    min-width: 0;
}

.notification-mini-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-mini-message {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-mini-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.notification-mini-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-mini-close:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* Mobile responsive */
@media (max-width: 480px) {
    .notification-modal {
        width: 95%;
        max-width: none;
        margin: 16px;
    }
    
    .notification-mini-card {
        min-width: 280px;
        max-width: calc(100vw - 40px);
    }
    
    .notification-modal-stack {
        left: 10px;
        right: 10px;
    }
}

/* =============================================
   PERFORMANCE STYLES
   ============================================= */

/* Back Button - Modern Style */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    text-decoration: none;
}

.btn-back:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
}

.btn-back:active {
    transform: translateX(-2px);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

/* Back Icon Button - For headers */
.btn-back-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
    margin-right: 12px;
    flex-shrink: 0;
}

.btn-back-icon:hover {
    transform: translateX(-3px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.45);
}

.btn-back-icon:active {
    transform: scale(0.95);
}

.btn-back-icon svg {
    width: 20px;
    height: 20px;
}

/* Mobile adjustments for back icon */
@media (max-width: 640px) {
    .btn-back-icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }
    
    .btn-back-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* Performance List */
.performance-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.performance-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.performance-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.perf-rank {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.perf-rank.top-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.perf-rank.top-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.4);
}

.perf-rank.top-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #b8690e 100%);
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.4);
}

.perf-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.perf-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.perf-user-details {
    min-width: 0;
}

.perf-name {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
}

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

.perf-score-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.perf-score-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: white;
}

.perf-score-circle.excellent {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.perf-score-circle.very_good {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.perf-score-circle.good {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.perf-score-circle.average {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.perf-score-circle.needs_improvement {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.perf-level {
    font-size: 10px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.perf-quick-stats {
    display: none;
    gap: 16px;
}

.perf-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.perf-stat-value {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.perf-stat-label {
    font-size: 10px;
    color: var(--text-muted);
}

.perf-arrow {
    font-size: 24px;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* Performance Detail */
.performance-detail {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 80px;
}

.perf-header-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    padding: 24px;
    color: white;
    text-align: center;
}

.perf-header-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.perf-header-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    backdrop-filter: blur(10px);
}

.perf-header-info {
    text-align: left;
}

.perf-header-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.perf-header-sicil {
    font-size: 14px;
    opacity: 0.8;
}

.perf-score-big {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.perf-score-ring {
    width: 140px;
    height: 140px;
    position: relative;
}

.perf-score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(0deg);
}

.perf-score-ring circle {
    transition: stroke-dasharray 1s ease;
}

.perf-score-big.excellent .perf-score-ring svg { color: #34d399; }
.perf-score-big.very_good .perf-score-ring svg { color: #60a5fa; }
.perf-score-big.good .perf-score-ring svg { color: #a78bfa; }
.perf-score-big.average .perf-score-ring svg { color: #fbbf24; }
.perf-score-big.needs_improvement .perf-score-ring svg { color: #f87171; }

.perf-score-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.perf-score-number {
    font-size: 42px;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.perf-score-label {
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.perf-level-badge {
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.perf-level-badge.excellent { background: rgba(16, 185, 129, 0.3); }
.perf-level-badge.very_good { background: rgba(59, 130, 246, 0.3); }
.perf-level-badge.good { background: rgba(139, 92, 246, 0.3); }
.perf-level-badge.average { background: rgba(245, 158, 11, 0.3); }
.perf-level-badge.needs_improvement { background: rgba(239, 68, 68, 0.3); }

/* Stats Grid */
.perf-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.perf-stat-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
    cursor: default;
    border: 1px solid transparent;
}

.perf-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
}

.perf-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s ease;
}

/* Total Tasks - Blue gradient */
.perf-stat-card.total .perf-stat-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Completed - Green gradient */
.perf-stat-card.completed .perf-stat-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* In Progress - Orange/Amber gradient */
.perf-stat-card.progress .perf-stat-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Pending - Coral/Pink gradient */
.perf-stat-card.pending .perf-stat-icon {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.perf-stat-card:hover .perf-stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.perf-stat-content {
    display: flex;
    flex-direction: column;
}

.perf-stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.perf-stat-title {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Section Card */
.perf-section-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 20px;
    overflow: hidden;
}

.perf-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

/* Progress Bar */
.perf-progress-bar {
    height: 28px;
    background: var(--bg-tertiary);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

.perf-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--success) 100%);
    border-radius: 14px;
    transition: width 1s ease;
}

.perf-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
}

.perf-period-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.perf-period {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.perf-period-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.perf-period-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Response Time */
.perf-response-time {
    text-align: center;
    padding: 20px 0;
}

.perf-response-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.perf-response-label {
    font-size: 13px;
    color: var(--text-muted);
}

.perf-response-rating {
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 12px;
}

.perf-response-rating.fast {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.perf-response-rating.medium {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
}

.perf-response-rating.slow {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

/* Reminder Stats */
.perf-reminder-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.perf-reminder-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.perf-reminder-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.perf-reminder-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.perf-reminder-item.excellent .perf-reminder-fill { background: var(--success); }
.perf-reminder-item.good .perf-reminder-fill { background: var(--primary); }
.perf-reminder-item.needs-improvement .perf-reminder-fill { background: var(--warning); }

.perf-reminder-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.perf-reminder-count {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    min-width: 30px;
}

.perf-reminder-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.perf-reminder-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.perf-reminder-rate {
    font-size: 24px;
    font-weight: 800;
    color: var(--success);
}

/* Recent Tasks */
.perf-recent-tasks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.perf-task-item {
    padding: 14px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.perf-task-item:hover {
    background: var(--bg-secondary);
    transform: translateX(4px);
}

.perf-task-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.perf-task-title {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.perf-task-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.perf-task-badge.excellent {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.perf-task-badge.good {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
}

.perf-task-badge.needs_improvement {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.perf-task-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.perf-task-reminders {
    color: var(--warning);
    font-weight: 500;
}

/* Desktop Responsive */
@media (min-width: 768px) {
    .perf-quick-stats {
        display: flex;
    }
    
    .performance-card {
        padding: 20px 24px;
    }
    
    .perf-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Performance Detail - Desktop */
    .performance-detail {
        max-width: 100%;
        width: 100%;
    }
    
    .performance-detail .perf-header-card {
        padding: 32px;
    }
    
    .performance-detail .perf-header-avatar {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }
    
    .performance-detail .perf-header-name {
        font-size: 28px;
    }
    
    .performance-detail .perf-score-circle {
        width: 140px;
        height: 140px;
    }
    
    .performance-detail .perf-score-value {
        font-size: 48px;
    }
    
    .performance-detail .perf-stat-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    
    .performance-detail .perf-stat-card {
        padding: 24px;
    }
    
    .performance-detail .perf-stat-value {
        font-size: 32px;
    }
    
    .performance-detail .perf-charts-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .performance-detail .perf-chart-card {
        padding: 24px;
    }
    
    .performance-detail .perf-section-card {
        padding: 24px;
    }
    
    .performance-detail .perf-section-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* =============================================
   PERFORMANCE PAGE STYLES
   ============================================= */

/* Performance List */
.performance-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.performance-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.performance-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.perf-rank {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.perf-rank.top-1 { background: linear-gradient(135deg, #ffd700, #ffb700); color: #000; font-size: 1.2rem; }
.perf-rank.top-2 { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); color: #000; font-size: 1.2rem; }
.perf-rank.top-3 { background: linear-gradient(135deg, #cd7f32, #b5651d); color: #fff; font-size: 1.2rem; }

.perf-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.perf-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.perf-user-details {
    min-width: 0;
}

.perf-name {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.perf-sicil {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.perf-score-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.perf-score-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.perf-score-circle.excellent { background: linear-gradient(135deg, #22c55e, #16a34a); color: white; }
.perf-score-circle.very_good { background: linear-gradient(135deg, #3b82f6, #2563eb); color: white; }
.perf-score-circle.good { background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: white; }
.perf-score-circle.average { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; }
.perf-score-circle.needs_improvement { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; }

.perf-level {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.perf-quick-stats {
    display: none;
}

.perf-arrow {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-left: auto;
}

/* Performance Detail */
.performance-detail {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.perf-header-card {
    background: linear-gradient(135deg, var(--accent), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: white;
    text-align: center;
}

.perf-header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.perf-header-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    border: 3px solid rgba(255,255,255,0.3);
}

.perf-header-info {
    text-align: left;
}

.perf-header-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.perf-header-sicil {
    opacity: 0.8;
    font-size: 0.9rem;
}

.perf-score-big {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.perf-score-ring {
    position: relative;
    width: 120px;
    height: 120px;
}

.perf-score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.perf-score-ring circle {
    transition: stroke-dasharray 1s ease;
}

.perf-score-big.excellent .perf-score-ring { color: #4ade80; }
.perf-score-big.very_good .perf-score-ring { color: #60a5fa; }
.perf-score-big.good .perf-score-ring { color: #a78bfa; }
.perf-score-big.average .perf-score-ring { color: #fbbf24; }
.perf-score-big.needs_improvement .perf-score-ring { color: #f87171; }

.perf-score-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.perf-score-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.perf-score-label {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
}

.perf-level-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.perf-level-badge.excellent { background: rgba(74, 222, 128, 0.2); }
.perf-level-badge.very_good { background: rgba(96, 165, 250, 0.2); }
.perf-level-badge.good { background: rgba(167, 139, 250, 0.2); }
.perf-level-badge.average { background: rgba(251, 191, 36, 0.2); }
.perf-level-badge.needs_improvement { background: rgba(248, 113, 113, 0.2); }

/* Stats Grid */
.perf-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.perf-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.perf-stat-icon {
    font-size: 1.5rem;
}

.perf-stat-content {
    display: flex;
    flex-direction: column;
}

.perf-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.perf-stat-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.perf-stat-card.completed { border-left: 3px solid var(--success); }
.perf-stat-card.progress { border-left: 3px solid var(--warning); }
.perf-stat-card.pending { border-left: 3px solid var(--accent); }

/* Section Card */
.perf-section-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.25rem;
    overflow: hidden;
}

.perf-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

/* Progress Bar */
.perf-progress-bar {
    height: 24px;
    background: var(--bg-secondary);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.perf-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success), #4ade80);
    border-radius: 12px;
    transition: width 1s ease;
}

.perf-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.perf-period-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.perf-period {
    text-align: center;
}

.perf-period-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.perf-period-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Response Time */
.perf-response-time {
    text-align: center;
    padding: 1rem;
}

.perf-response-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.perf-response-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.perf-response-rating {
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    margin-top: 0.75rem;
}

.perf-response-rating.fast { background: #dcfce7; color: #166534; }
.perf-response-rating.medium { background: #fef3c7; color: #92400e; }
.perf-response-rating.slow { background: #fee2e2; color: #991b1b; }

/* Reminder Stats */
.perf-reminder-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.perf-reminder-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.perf-reminder-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
}

.perf-reminder-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.perf-reminder-item.excellent .perf-reminder-fill { background: var(--success); }
.perf-reminder-item.good .perf-reminder-fill { background: var(--warning); }
.perf-reminder-item.needs-improvement .perf-reminder-fill { background: var(--error); }

.perf-reminder-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
}

.perf-reminder-count {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.perf-reminder-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.perf-reminder-summary {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent-glow), transparent);
    border-radius: var(--radius);
    margin-top: 1rem;
}

.perf-reminder-rate {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-right: 0.5rem;
}

/* Recent Tasks */
.perf-recent-tasks {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.perf-task-item {
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.perf-task-item:hover {
    background: var(--bg-hover);
}

.perf-task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.perf-task-title {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.perf-task-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.perf-task-badge.excellent { background: #dcfce7; color: #166534; }
.perf-task-badge.good { background: #fef3c7; color: #92400e; }
.perf-task-badge.needs_improvement { background: #fee2e2; color: #991b1b; }

.perf-task-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.perf-task-order {
    font-family: var(--font-mono);
}

.perf-task-reminders {
    color: var(--warning);
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .performance-card {
        padding: 0.875rem;
    }
    
    .perf-rank {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .perf-avatar {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
    
    .perf-name {
        font-size: 0.9rem;
    }
    
    .perf-score-circle {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .perf-quick-stats {
        display: none;
    }
    
    .perf-header-card {
        padding: 1.25rem;
    }
    
    .perf-header-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .perf-header-name {
        font-size: 1.1rem;
    }
    
    .perf-score-ring {
        width: 100px;
        height: 100px;
    }
    
    .perf-score-number {
        font-size: 1.75rem;
    }
    
    .perf-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .perf-stat-card {
        padding: 0.75rem;
    }
    
    .perf-stat-icon {
        font-size: 1.25rem;
    }
    
    .perf-stat-number {
        font-size: 1.25rem;
    }
    
    .perf-reminder-info {
        min-width: 120px;
    }
    
    .perf-reminder-label {
        font-size: 0.7rem;
    }
}

/* Performans Ay Seçici */
.perf-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.perf-section-header .perf-section-title {
    margin-bottom: 0;
}

.perf-month-select {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
}

.perf-month-select:focus {
    outline: none;
    border-color: var(--primary);
}

.perf-month-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.perf-monthly-tasks {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.perf-monthly-tasks::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.perf-monthly-tasks .perf-task-item {
    overflow: hidden;
}

.perf-monthly-tasks .perf-task-header {
    flex-wrap: wrap;
}

.perf-monthly-tasks .perf-task-title {
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 80px);
}

.perf-monthly-tasks .perf-task-meta {
    flex-wrap: wrap;
}

.perf-no-tasks {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.perf-task-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .perf-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .perf-month-select {
        width: 100%;
    }
    
    .perf-monthly-tasks {
        max-height: 350px;
        overflow-x: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .perf-monthly-tasks::-webkit-scrollbar {
        display: none;
    }
    
    .perf-monthly-tasks .perf-task-title {
        font-size: 0.85rem;
        max-width: calc(100% - 70px);
    }
    
    .perf-monthly-tasks .perf-task-badge {
        font-size: 0.65rem;
        padding: 2px 6px;
        flex-shrink: 0;
    }
}

/* =============================================
   TOPLAM GÖREVLERİM SAYFASI
   ============================================= */

.my-tasks-search-box {
    margin-bottom: 1rem;
}

.my-tasks-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.my-tasks-stat {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 200px;
}

.my-tasks-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.my-tasks-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 4px;
}

.my-tasks-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.my-task-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.my-task-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.my-task-card:active {
    transform: scale(0.98);
}

.my-task-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.my-task-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.my-task-info {
    flex: 1;
    min-width: 0;
}

.my-task-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.my-task-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 4px;
    flex-wrap: wrap;
}

.my-task-order,
.my-task-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.my-task-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.my-task-arrow {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

/* Mobil düzenleme */
@media (max-width: 768px) {
    .my-tasks-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .my-tasks-header .page-title {
        font-size: 1.1rem;
        white-space: nowrap;
    }
    
    .my-tasks-stat {
        max-width: none;
        padding: 0.875rem 1rem;
    }
    
    .my-tasks-stat-number {
        font-size: 1.75rem;
    }
    
    .my-task-card {
        padding: 0.875rem;
    }
    
    .my-task-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .my-task-title {
        font-size: 0.9rem;
    }
    
    .my-task-meta {
        gap: 0.5rem;
    }
    
    .my-task-order,
    .my-task-date {
        font-size: 0.7rem;
    }
}

/* =============================================
   PERFORMANS GRAFİKLERİ
   ============================================= */

.perf-charts-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.perf-chart-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
}

.perf-chart-card .perf-section-title {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.perf-chart-wrapper {
    position: relative;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.perf-chart-wrapper canvas {
    max-width: 100%;
    max-height: 100%;
}

/* Mobil düzenleme */
@media (max-width: 768px) {
    .perf-charts-container {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .perf-chart-card {
        padding: 0.875rem;
    }
    
    .perf-chart-wrapper {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .perf-chart-wrapper {
        height: 180px;
    }
    
    .perf-chart-card .perf-section-title {
        font-size: 0.85rem;
    }
}

/* =============================================
   BİLDİRİMLER HEADER - MOBİL DÜZENLEME
   ============================================= */

/* Mobil için küçük okundu butonu - varsayılan gizli */
.btn-mark-all-mobile {
    display: none;
}

/* Desktop için normal buton */
.desktop-mark-all {
    display: inline-flex;
}

/* Mobil düzenleme */
@media (max-width: 768px) {
    /* Bildirimler sayfası header - tek satır, buton ekranda kalsın */
    .notifications-page-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }
    
    .notifications-page-header .page-title {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        font-size: 1.1rem !important;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Mobil okundu butonu göster - sağa taşmasın */
    .notifications-page-header .btn-mark-all-mobile {
        display: inline-flex !important;
        flex-shrink: 0 !important;
        align-items: center;
        font-size: 0.7rem;
        padding: 6px 10px;
        background: var(--primary);
        color: white;
        border: none;
        border-radius: 6px;
        font-weight: 500;
        white-space: nowrap;
    }
    
    .notifications-page-header .btn-mark-all-mobile:active {
        background: var(--primary-dark);
        transform: scale(0.95);
    }
    
    /* Desktop butonunu ve page-actions'ı gizle */
    .notifications-page-header .page-actions {
        display: none !important;
    }
}
