/* Modern Apartman Yönetim Sistemi - 2024 Design */

/* Modern CSS Variables - Contemporary Design */
:root {
    /* Primary Colors - Modern Blue Gradient */
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-200: #bae6fd;
    --primary-300: #7dd3fc;
    --primary-400: #38bdf8;
    --primary-500: #0ea5e9;
    --primary-600: #0284c7;
    --primary-700: #0369a1;
    --primary-800: #075985;
    --primary-900: #0c4a6e;
    
    /* Modern System Colors */
    --primary: #0ea5e9;
    --primary-hover: #0284c7;
    --primary-active: #0369a1;
    --primary-light: #f0f9ff;
    --primary-dark: #0c4a6e;
    
    /* Modern Neutral Colors */
    --surface-primary: #ffffff;
    --surface-secondary: #f8fafc;
    --surface-tertiary: #f1f5f9;
    --surface-quaternary: #e2e8f0;
    --surface-elevated: #ffffff;
    
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --text-disabled: #94a3b8;
    --text-inverse: #ffffff;
    
    --border-primary: #e2e8f0;
    --border-secondary: #cbd5e1;
    --border-focus: #0ea5e9;
    --border-accent: #3b82f6;
    
    /* Modern Status Colors */
    --success: #10b981;
    --success-bg: #d1fae5;
    --success-light: #ecfdf5;
    --warning: #f59e0b;
    --warning-bg: #fef3c7;
    --warning-light: #fffbeb;
    --error: #ef4444;
    --error-bg: #fee2e2;
    --error-light: #fef2f2;
    --info: #0ea5e9;
    --info-bg: #dbeafe;
    --info-light: #eff6ff;
    
    /* Modern Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* Modern Border Radius */
    --radius-none: 0px;
    --radius-sm: 0.125rem;
    --radius: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    
    /* Modern Typography */
    --font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--surface-secondary) 0%, var(--surface-tertiary) 100%);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* Modern Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid var(--border-primary);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: var(--z-fixed);
    position: sticky;
    top: 0;
    padding: var(--space-3) 0;
    transition: all 0.3s ease;
}

/* Navbar color overrides */
.navbar-light .navbar-brand,
.navbar-light .navbar-nav .nav-link {
    color: var(--text-primary) !important;
}

.navbar-light .navbar-brand:hover,
.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary) !important;
}

.navbar-brand {
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
    color: var(--primary) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
}

.navbar-brand:hover {
    color: var(--primary-hover) !important;
    background: var(--primary-light);
    transform: translateY(-1px);
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: var(--font-weight-medium);
    padding: var(--space-3) var(--space-4) !important;
    border-radius: var(--radius-lg);
    margin: 0 var(--space-1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    background: var(--primary-light);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-light);
    font-weight: var(--font-weight-semibold);
    box-shadow: var(--shadow-sm);
}

/* Modern Dropdowns */
.dropdown-menu {
    background: var(--surface-elevated);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2);
    margin-top: var(--space-2);
    z-index: var(--z-dropdown);
    min-width: 220px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dropdown-item {
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: translateX(4px);
}

.dropdown-divider {
    border-color: var(--border-primary);
    margin: var(--space-2) 0;
}

/* Modern Cards */
.card {
    background: var(--surface-elevated);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 1;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--border-accent);
}

.card-header {
    background: linear-gradient(135deg, var(--surface-secondary) 0%, var(--surface-tertiary) 100%);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-primary);
    padding: var(--space-6);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-lg);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* Card header with colored backgrounds */
.card-header.bg-primary,
.card-header.bg-success,
.card-header.bg-warning,
.card-header.bg-danger,
.card-header.bg-info {
    color: var(--text-inverse) !important;
}

.card-header.bg-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%) !important;
}

.card-header.bg-success {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%) !important;
}

.card-header.bg-warning {
    background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%) !important;
}

.card-header.bg-danger {
    background: linear-gradient(135deg, var(--error) 0%, #dc2626 100%) !important;
}

.card-header.bg-info {
    background: linear-gradient(135deg, var(--info) 0%, var(--primary-hover) 100%) !important;
}

.card-body {
    padding: var(--space-6);
}

.card-footer {
    background: var(--surface-secondary);
    border-top: 1px solid var(--border-primary);
    padding: var(--space-6);
}

/* Modern Buttons */
.btn {
    font-family: var(--font-family);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-6);
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    cursor: pointer;
    font-size: var(--font-size-sm);
    line-height: 1.5;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: var(--text-inverse);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-active) 100%);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    background: var(--primary-active);
    border-color: var(--primary-active);
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: var(--surface-elevated);
    color: var(--text-primary);
    border-color: var(--border-secondary);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    background: var(--surface-tertiary);
    border-color: var(--border-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: var(--text-inverse);
    border-color: var(--success);
    box-shadow: var(--shadow-sm);
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-color: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-danger {
    background: linear-gradient(135deg, var(--error) 0%, #dc2626 100%);
    color: var(--text-inverse);
    border-color: var(--error);
    box-shadow: var(--shadow-sm);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
    color: var(--text-inverse);
    border-color: var(--warning);
    box-shadow: var(--shadow-sm);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    border-color: #d97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-xs);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-base);
}

/* Modern Forms */
.form-control {
    font-family: var(--font-family);
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    transition: all 0.3s ease;
    background: var(--surface-elevated);
    color: var(--text-primary);
    box-shadow: var(--shadow-xs);
}

.form-control:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1), var(--shadow-sm);
    outline: none;
    background: var(--surface-primary);
}

.form-control::placeholder {
    color: var(--text-tertiary);
}

.form-label {
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-size: var(--font-size-sm);
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23605e5c' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Modern Tables */
.table {
    background: var(--surface-elevated);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-primary);
    margin-bottom: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.table thead th {
    background: linear-gradient(135deg, var(--surface-secondary) 0%, var(--surface-tertiary) 100%);
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--space-4);
    border: none;
    border-bottom: 1px solid var(--border-primary);
}

.table tbody td {
    padding: var(--space-4);
    border: none;
    border-bottom: 1px solid var(--border-primary);
    vertical-align: middle;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.table tbody tr:hover {
    background: var(--primary-light);
    transform: scale(1.01);
    transition: all 0.2s ease;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Modern Badges */
.badge {
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-xs);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-xs);
}

.badge.bg-primary {
    background: var(--primary) !important;
    color: var(--text-inverse) !important;
}

.badge.bg-success {
    background: var(--success) !important;
    color: var(--text-inverse) !important;
}

.badge.bg-warning {
    background: var(--warning) !important;
    color: var(--text-inverse) !important;
}

.badge.bg-danger {
    background: var(--error) !important;
    color: var(--text-inverse) !important;
}

.badge.bg-info {
    background: var(--info) !important;
    color: var(--text-inverse) !important;
}

/* Modern Alerts */
.alert {
    border: none;
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-5);
    margin-bottom: var(--space-6);
    border-left: 4px solid;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.alert-success {
    background: var(--success-bg);
    color: var(--success);
    border-left-color: var(--success);
}

.alert-danger {
    background: var(--error-bg);
    color: var(--error);
    border-left-color: var(--error);
}

.alert-warning {
    background: var(--warning-bg);
    color: var(--warning);
    border-left-color: var(--warning);
}

.alert-info {
    background: var(--info-bg);
    color: var(--info);
    border-left-color: var(--info);
}

/* Modern Stats Cards */
.stat-card {
    background: var(--surface-elevated);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-hover) 100%);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-accent);
}

.stat-card .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: var(--space-4);
    background: var(--primary-light);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.stat-card.primary .stat-icon {
    background: var(--primary-light);
    color: var(--primary);
}

.stat-card.success .stat-icon {
    background: var(--success-light);
    color: var(--success);
}

.stat-card.warning .stat-icon {
    background: var(--warning-light);
    color: var(--warning);
}

.stat-card.danger .stat-icon {
    background: var(--error-light);
    color: var(--error);
}

.stat-card .stat-number {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    line-height: 1;
}

.stat-card .stat-label {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

/* Modern Modals */
.modal-content {
    border: none;
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    z-index: var(--z-modal);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.modal-header {
    background: linear-gradient(135deg, var(--surface-secondary) 0%, var(--surface-tertiary) 100%);
    border-bottom: 1px solid var(--border-primary);
    padding: var(--space-6);
}

/* Modal header with colored backgrounds */
.modal-header.bg-primary,
.modal-header.bg-success,
.modal-header.bg-warning,
.modal-header.bg-danger,
.modal-header.bg-info {
    color: var(--text-inverse) !important;
}

.modal-header.bg-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%) !important;
}

.modal-header.bg-success {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%) !important;
}

.modal-header.bg-warning {
    background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%) !important;
}

.modal-header.bg-danger {
    background: linear-gradient(135deg, var(--error) 0%, #dc2626 100%) !important;
}

.modal-header.bg-info {
    background: linear-gradient(135deg, var(--info) 0%, var(--primary-hover) 100%) !important;
}

.modal-title {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    font-size: var(--font-size-xl);
}

.modal-body {
    padding: var(--space-6);
}

.modal-footer {
    background: var(--surface-secondary);
    border-top: 1px solid var(--border-primary);
    padding: var(--space-6);
}

/* Modern Pagination */
.pagination {
    gap: var(--space-2);
}

.page-link {
    border: 1px solid var(--border-secondary);
    color: var(--text-primary);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xs);
}

.page-link:hover {
    background: var(--primary-light);
    border-color: var(--border-primary);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-inverse);
    box-shadow: var(--shadow-sm);
}

/* Modern Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 50%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.login-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-2xl);
    padding: var(--space-8);
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.login-header h2 {
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-3);
}

.login-header p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
}

/* Modern Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-down {
    animation: slideInDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-up {
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pulse {
    animation: pulse 2s infinite;
}

.bounce {
    animation: bounce 1s infinite;
}

.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Notification Badge */
.nav-link .badge {
    animation: pulse 2s infinite;
    font-size: var(--font-size-xs);
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface-tertiary);
    border-radius: var(--radius);
}

::-webkit-scrollbar-thumb {
    background: var(--border-primary);
    border-radius: var(--radius);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

/* Modern Responsive Design - Mobile First Approach */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }
    
    .stat-card {
        margin-bottom: var(--space-3);
    }
    
    .card {
        margin-bottom: var(--space-3);
    }
}

/* Tablets */
@media (max-width: 992px) {
    .container {
        padding-left: var(--space-3);
        padding-right: var(--space-3);
    }
    
    .stat-card {
        margin-bottom: var(--space-3);
        padding: var(--space-4);
    }
    
    .card {
        margin-bottom: var(--space-3);
    }
    
    .card-header {
        padding: var(--space-4);
        font-size: var(--font-size-base);
    }
    
    .card-body {
        padding: var(--space-4);
    }
    
    .navbar-nav .nav-link {
        padding: var(--space-2) var(--space-3) !important;
        margin: var(--space-1) 0;
        font-size: var(--font-size-base);
    }
    
    .navbar-brand {
        font-size: var(--font-size-lg);
    }
    
    .stat-card .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }
    
    .stat-card .stat-number {
        font-size: var(--font-size-3xl);
    }
    
    .stat-card .stat-label {
        font-size: var(--font-size-xs);
    }
}

/* Mobile Landscape and Small Tablets */
@media (max-width: 768px) {
    .container {
        padding-left: var(--space-3);
        padding-right: var(--space-3);
    }
    
    .stat-card {
        margin-bottom: var(--space-3);
        padding: var(--space-4);
    }
    
    .card {
        margin-bottom: var(--space-3);
    }
    
    .card-header {
        padding: var(--space-4);
        font-size: var(--font-size-sm);
    }
    
    .card-body {
        padding: var(--space-4);
    }
    
    .table-responsive {
        border-radius: var(--radius-xl);
        margin: 0 -var(--space-3);
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        margin-bottom: var(--space-2);
        padding: var(--space-3) var(--space-4);
        font-size: var(--font-size-sm);
    }
    
    .btn-group .btn {
        width: auto;
        margin-bottom: 0;
    }
    
    .modal-dialog {
        margin: var(--space-3);
        max-width: calc(100% - var(--space-6));
    }
    
    .login-card {
        margin: var(--space-3);
        padding: var(--space-5);
    }
    
    .navbar-brand {
        font-size: var(--font-size-base);
    }
    
    .navbar-nav .nav-link {
        padding: var(--space-2) var(--space-3) !important;
        font-size: var(--font-size-base);
    }
    
    .stat-card .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .stat-card .stat-number {
        font-size: var(--font-size-2xl);
    }
    
    .stat-card .stat-label {
        font-size: var(--font-size-xs);
    }
    
    /* Form elements */
    .form-control,
    .form-select {
        padding: var(--space-2) var(--space-3);
        font-size: var(--font-size-sm);
    }
    
    .form-label {
        font-size: var(--font-size-xs);
        margin-bottom: var(--space-1);
    }
    
    /* Alert adjustments */
    .alert {
        padding: var(--space-3) var(--space-4);
        font-size: var(--font-size-sm);
    }
    
    /* Badge adjustments */
    .badge {
        font-size: 0.65rem;
        padding: var(--space-1) var(--space-2);
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .container {
        padding-left: var(--space-2);
        padding-right: var(--space-2);
    }
    
    .stat-card {
        margin-bottom: var(--space-2);
        padding: var(--space-3);
    }
    
    .card {
        margin-bottom: var(--space-2);
    }
    
    .card-header {
        padding: var(--space-3);
        font-size: var(--font-size-sm);
    }
    
    .card-body {
        padding: var(--space-3);
    }
    
    .card-footer {
        padding: var(--space-3);
    }
    
    .login-card {
        margin: var(--space-2);
        padding: var(--space-4);
    }
    
    .modal-dialog {
        margin: var(--space-2);
        max-width: calc(100% - var(--space-4));
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: var(--space-4);
    }
    
    .navbar {
        padding: var(--space-2) 0;
    }
    
    .navbar-brand {
        font-size: var(--font-size-sm);
    }
    
    .navbar-nav .nav-link {
        padding: var(--space-2) !important;
        font-size: var(--font-size-sm);
    }
    
    .stat-card .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .stat-card .stat-number {
        font-size: var(--font-size-xl);
    }
    
    .stat-card .stat-label {
        font-size: 0.7rem;
    }
    
    .btn {
        padding: var(--space-2) var(--space-3);
        font-size: var(--font-size-xs);
        margin-bottom: var(--space-1);
    }
    
    .btn-sm {
        padding: var(--space-1) var(--space-2);
        font-size: 0.65rem;
    }
    
    .btn-lg {
        padding: var(--space-3) var(--space-4);
        font-size: var(--font-size-sm);
    }
    
    /* Form elements */
    .form-control,
    .form-select {
        padding: var(--space-2);
        font-size: var(--font-size-xs);
    }
    
    .form-label {
        font-size: 0.7rem;
        margin-bottom: var(--space-1);
    }
    
    /* Table adjustments */
    .table {
        font-size: var(--font-size-xs);
    }
    
    .table thead th {
        padding: var(--space-2);
        font-size: 0.7rem;
    }
    
    .table tbody td {
        padding: var(--space-2);
        font-size: var(--font-size-xs);
    }
    
    /* Alert adjustments */
    .alert {
        padding: var(--space-2) var(--space-3);
        font-size: var(--font-size-xs);
    }
    
    /* Badge adjustments */
    .badge {
        font-size: 0.6rem;
        padding: 2px var(--space-1);
    }
    
    /* Dropdown adjustments */
    .dropdown-menu {
        min-width: 180px;
        font-size: var(--font-size-sm);
    }
    
    .dropdown-item {
        padding: var(--space-2) var(--space-3);
        font-size: var(--font-size-sm);
    }
    
    /* Pagination adjustments */
    .pagination {
        gap: var(--space-1);
    }
    
    .page-link {
        padding: var(--space-1) var(--space-2);
        font-size: var(--font-size-xs);
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .container {
        padding-left: var(--space-1);
        padding-right: var(--space-1);
    }
    
    .stat-card {
        padding: var(--space-2);
    }
    
    .card-header,
    .card-body,
    .card-footer {
        padding: var(--space-2);
    }
    
    .stat-card .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .stat-card .stat-number {
        font-size: var(--font-size-lg);
    }
    
    .stat-card .stat-label {
        font-size: 0.65rem;
    }
    
    .btn {
        padding: var(--space-1) var(--space-2);
        font-size: 0.65rem;
    }
    
    .form-control,
    .form-select {
        padding: var(--space-1);
        font-size: 0.7rem;
    }
    
    .table {
        font-size: 0.7rem;
    }
    
    .table thead th,
    .table tbody td {
        padding: var(--space-1);
    }
}

/* Modern Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile-specific utility classes */
.mobile-compact {
    padding: var(--space-2) !important;
    margin: var(--space-1) !important;
}

.mobile-text-sm {
    font-size: var(--font-size-xs) !important;
}

.mobile-text-xs {
    font-size: 0.7rem !important;
}

.mobile-padding-sm {
    padding: var(--space-2) !important;
}

.mobile-margin-sm {
    margin: var(--space-1) !important;
}

.mobile-hidden {
    display: none !important;
}

@media (min-width: 768px) {
    .mobile-hidden {
        display: block !important;
    }
    
    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .mobile-only {
        display: block !important;
    }
    
    .desktop-only {
        display: none !important;
    }
}

/* Mobile device specific styles */
.mobile-device {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

/* PWA Styles */
.offline {
    opacity: 0.8;
}

.offline::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #f59e0b;
    z-index: 9999;
}

/* PWA Install Button */
.pwa-install-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: pulse 2s infinite;
}

.pwa-install-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: pulse 2s infinite;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
}

/* iOS Install Button Animation */
@keyframes iosPulse {
    0% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 8px 25px rgba(220, 53, 69, 0.6);
    }
    100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    }
}

/* Mobile Install Buttons */
@media (max-width: 768px) {
    .pwa-install-button {
        bottom: 80px;
        right: 20px;
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .btn-success.position-fixed {
        bottom: 20px;
        left: 20px;
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/* iOS Install Button - Özel Kırmızı-Beyaz Tasarım */
.ios-install-btn {
    position: fixed !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4) !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: 12px 24px !important;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    border: 2px solid #fff !important;
    color: white !important;
    animation: iosPulse 2s infinite !important;
    min-width: 200px !important;
    transition: all 0.3s ease !important;
}

.ios-install-btn:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%) !important;
    transform: translateX(-50%) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.6) !important;
}

.ios-install-btn:active {
    transform: translateX(-50%) scale(0.95) !important;
}

/* iOS Pulse Animasyonu */
@keyframes iosPulse {
    0% {
        box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
        transform: translateX(-50%) scale(1);
    }
    50% {
        box-shadow: 0 8px 30px rgba(220, 53, 69, 0.7);
        transform: translateX(-50%) scale(1.02);
    }
    100% {
        box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
        transform: translateX(-50%) scale(1);
    }
}

/* iOS için ekstra dikkat çekici efektler */
@media (max-width: 768px) {
    .ios-install-btn {
        font-size: 1.1rem !important;
        padding: 14px 28px !important;
        min-width: 220px !important;
    }
    
    .ios-install-btn i {
        font-size: 1.2rem !important;
    }
}

/* Install Modal Styles */
#installModal .modal-content {
    border-radius: var(--radius-2xl);
}

#installModal .modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    border-bottom: none;
}

#installModal .modal-title {
    color: white;
}

#installModal .btn-close {
    filter: invert(1);
}

#installModal .alert {
    border: none;
    border-radius: var(--radius-lg);
}

#installModal .alert h5 {
    color: var(--primary);
    font-weight: 600;
}

#installModal .alert ol {
    margin-bottom: 0;
}

#installModal .alert li {
    margin-bottom: 0.5rem;
}

/* PWA Update Notification */
.pwa-update-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 300px;
    animation: slideInDown 0.5s ease-out;
}

/* PWA Splash Screen */
.pwa-splash {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    color: white;
}

.pwa-splash .splash-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 1s infinite;
}

.pwa-splash .splash-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pwa-splash .splash-subtitle {
    font-size: 1rem;
    opacity: 0.8;
}

/* PWA Status Indicator */
.pwa-status {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: none;
}

.pwa-status.online {
    background: var(--success);
}

.pwa-status.offline {
    background: var(--warning);
}

/* PWA Loading Spinner */
.pwa-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

.mobile-device .btn {
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-device .form-control,
.mobile-device .form-select {
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    .btn {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .form-control,
    .form-select {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        touch-action: manipulation;
    }
    
    .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
        touch-action: manipulation;
    }
    
    .page-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }
    
    /* Prevent text selection on buttons and links */
    .btn,
    .nav-link,
    .dropdown-item,
    .page-link {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Improve scrolling performance */
    .card,
    .stat-card,
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--success), #059669);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, var(--warning), #d97706);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, var(--error), #dc2626);
}

.shadow-soft {
    box-shadow: var(--shadow-sm);
}

.shadow-medium {
    box-shadow: var(--shadow-md);
}

.shadow-strong {
    box-shadow: var(--shadow-lg);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-primary);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Bootstrap Override - Text Colors */
.text-white {
    color: var(--text-primary) !important;
}

.text-muted {
    color: var(--text-secondary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-warning {
    color: var(--warning) !important;
}

.text-danger {
    color: var(--error) !important;
}

.text-info {
    color: var(--info) !important;
}

/* Background Colors Override */
.bg-white {
    background-color: var(--surface-primary) !important;
}

.bg-light {
    background-color: var(--surface-secondary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
    color: var(--text-inverse) !important;
}

.bg-success {
    background-color: var(--success) !important;
    color: var(--text-inverse) !important;
}

.bg-warning {
    background-color: var(--warning) !important;
    color: var(--text-inverse) !important;
}

.bg-danger {
    background-color: var(--error) !important;
    color: var(--text-inverse) !important;
}

.bg-info {
    background-color: var(--info) !important;
    color: var(--text-inverse) !important;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .modal {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid var(--border-primary);
    }
}

/* Modern Kısayol Kartları */
.modern-shortcut-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--surface-primary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    height: 100%;
    min-height: 120px;
    position: relative;
    overflow: hidden;
}

.modern-shortcut-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.modern-shortcut-card:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.modern-shortcut-card:hover::before {
    transform: scaleX(1);
}

.modern-shortcut-card .shortcut-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 16px;
    color: white;
    font-size: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    position: relative;
}

.modern-shortcut-card:hover .shortcut-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.modern-shortcut-card .shortcut-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all 0.3s ease;
}

.modern-shortcut-card:hover .shortcut-text {
    color: #3b82f6;
    text-decoration-color: #3b82f6;
}

/* Bildirim Rozeti - ULTRA GÜÇLÜ */
.notification-badge {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    background: #f97316 !important;
    color: white !important;
    border-radius: 50% !important;
    min-width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: 3px solid white !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3) !important;
    z-index: 10 !important;
    animation: pulse 2s infinite !important;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Mobil responsive */
@media (max-width: 768px) {
    /* Genel font boyutları - daha güçlü kurallar */
    body, html {
        font-size: 16px !important;
    }
    
    h1, .h1 {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }
    
    h2, .h2 {
        font-size: 20px !important;
        line-height: 1.2 !important;
    }
    
    h3, .h3 {
        font-size: 18px !important;
        line-height: 1.2 !important;
    }
    
    h4, .h4 {
        font-size: 16px !important;
        line-height: 1.2 !important;
    }
    
    h5, .h5 {
        font-size: 15px !important;
        line-height: 1.2 !important;
    }
    
    h6, .h6 {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }
    
    /* Alert ve bilgi kutuları */
    .alert, .alert-info, .alert-success, .alert-warning, .alert-danger {
        font-size: 15px !important;
    }
    
    .alert strong, .alert-info strong, .alert-success strong, .alert-warning strong, .alert-danger strong {
        font-size: 16px !important;
    }
    
    /* İstatistik kartları */
    .stat-card, .stat-card.primary, .stat-card.success, .stat-card.warning, .stat-card.info {
        font-size: 15px !important;
    }
    
    .stat-number {
        font-size: 24px !important;
        font-weight: bold !important;
    }
    
    .stat-label {
        font-size: 14px !important;
        font-weight: 500 !important;
    }
    
    /* Hızlı işlemler */
    .btn, .btn-primary, .btn-secondary, .btn-success, .btn-danger, .btn-warning, .btn-info, .btn-light, .btn-dark {
        font-size: 14px !important;
        padding: 8px 12px !important;
        font-weight: 500 !important;
    }
    
    .btn-sm, .btn-primary.btn-sm, .btn-secondary.btn-sm, .btn-success.btn-sm, .btn-danger.btn-sm, .btn-warning.btn-sm, .btn-info.btn-sm, .btn-light.btn-sm, .btn-dark.btn-sm {
        font-size: 13px !important;
        padding: 6px 10px !important;
        font-weight: 500 !important;
    }
    
    /* Card başlıkları */
    .card-header, .card-header h5, .card-header h6 {
        font-size: 16px !important;
        font-weight: 600 !important;
    }
    
    .card-body, .card-body p, .card-body div {
        font-size: 15px !important;
    }
    
    /* List group */
    .list-group-item, .list-group-item p, .list-group-item div {
        font-size: 15px !important;
    }
    
    .list-group-item h6, .list-group-item .h6 {
        font-size: 15px !important;
        font-weight: 600 !important;
    }
    
    .list-group-item small, .list-group-item .small {
        font-size: 13px !important;
    }
    
    /* Kısayol kartları */
    .modern-shortcut-card {
        padding: 16px 8px !important;
        min-height: 100px !important;
        border-radius: 12px !important;
        margin-bottom: 8px !important;
    }
    
    .modern-shortcut-card .shortcut-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
        margin-bottom: 8px !important;
        border-radius: 12px !important;
    }
    
    .modern-shortcut-card .shortcut-text {
        font-size: 14px !important;
        font-weight: 600 !important;
    }
    
    .notification-badge {
        min-width: 24px !important;
        height: 24px !important;
        font-size: 12px !important;
        top: -6px !important;
        right: -6px !important;
        font-weight: bold !important;
    }
}

@media (max-width: 576px) {
    /* Daha küçük ekranlar için font boyutları - güçlü kurallar */
    body, html {
        font-size: 15px !important;
    }
    
    h1, .h1 {
        font-size: 22px !important;
        line-height: 1.2 !important;
    }
    
    h2, .h2 {
        font-size: 18px !important;
        line-height: 1.2 !important;
    }
    
    h3, .h3 {
        font-size: 16px !important;
        line-height: 1.2 !important;
    }
    
    h4, .h4 {
        font-size: 15px !important;
        line-height: 1.2 !important;
    }
    
    h5, .h5 {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }
    
    h6, .h6 {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }
    
    /* Alert ve bilgi kutuları */
    .alert {
        font-size: 14px;
    }
    
    .alert strong {
        font-size: 15px;
    }
    
    /* İstatistik kartları */
    .stat-card {
        font-size: 14px;
    }
    
    .stat-number {
        font-size: 22px !important;
    }
    
    .stat-label {
        font-size: 13px !important;
    }
    
    /* Hızlı işlemler */
    .btn {
        font-size: 13px !important;
        padding: 7px 10px !important;
    }
    
    .btn-sm {
        font-size: 12px !important;
        padding: 5px 8px !important;
    }
    
    /* Card başlıkları */
    .card-header {
        font-size: 15px !important;
    }
    
    .card-body {
        font-size: 14px;
    }
    
    /* List group */
    .list-group-item {
        font-size: 14px;
    }
    
    .list-group-item h6 {
        font-size: 14px !important;
    }
    
    .list-group-item small {
        font-size: 12px !important;
    }
    
    /* Kısayol kartları */
    .modern-shortcut-card {
        padding: 12px 6px;
        min-height: 90px;
        margin-bottom: 6px;
    }
    
    .modern-shortcut-card .shortcut-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .modern-shortcut-card .shortcut-text {
        font-size: 13px;
    }
    
    .notification-badge {
        min-width: 26px !important;
        height: 26px !important;
        font-size: 13px !important;
        top: -7px !important;
        right: -7px !important;
        font-weight: bold !important;
    }
}

/* ULTRA GÜÇLÜ FONT DÜZELTMELERİ - TÜM ÇAKIŞMALARI YOK EDER */
/* Dashboard başlık - en yüksek öncelik */
h1.text-gradient,
.text-gradient {
    font-size: 28px !important;
    line-height: 1.2 !important;
}

/* Alert kutusu - en yüksek öncelik */
.alert.alert-info,
.alert-info {
    font-size: 18px !important;
    line-height: 1.4 !important;
}

.alert.alert-info strong,
.alert-info strong {
    font-size: 19px !important;
    font-weight: bold !important;
}

/* İstatistik kartları - en yüksek öncelik */
.stat-card .stat-number,
.stat-number {
    font-size: 30px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
}

.stat-card .stat-label,
.stat-label {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

/* Butonlar - en yüksek öncelik */
.btn.btn-outline-primary,
.btn.btn-outline-info,
.btn.btn-outline-success,
.btn-outline-primary,
.btn-outline-info,
.btn-outline-success {
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 12px 18px !important;
    line-height: 1.2 !important;
}

/* Card başlıkları - en yüksek öncelik */
.card .card-header,
.card-header {
    font-size: 19px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.card .card-header i,
.card-header i {
    font-size: 19px !important;
}

/* List group - en yüksek öncelik */
.list-group .list-group-item h6,
.list-group-item h6 {
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.list-group .list-group-item small,
.list-group-item small {
    font-size: 15px !important;
    line-height: 1.3 !important;
}

/* Kısayol kartları - en yüksek öncelik */
.modern-shortcut-card .shortcut-text {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

/* Genel body font - en yüksek öncelik */
body {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

/* LOGIN SAYFASI FONT DÜZELTMELERİ - ULTRA GÜÇLÜ */
/* Login başlık */
.login-header h2 {
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.login-header p {
    font-size: 18px !important;
    line-height: 1.4 !important;
}

/* Login form label'ları */
.form-label {
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

/* Login form input'ları */
.form-control,
.form-select {
    font-size: 16px !important;
    padding: 12px 15px !important;
    line-height: 1.4 !important;
}

/* Login butonları */
.btn-primary {
    font-size: 17px !important;
    font-weight: 600 !important;
    padding: 14px 20px !important;
    line-height: 1.2 !important;
}

/* Login alert'leri */
.alert-danger {
    font-size: 16px !important;
    line-height: 1.4 !important;
}

.alert-danger i {
    font-size: 17px !important;
}

/* Login link'leri */
.text-decoration-none {
    font-size: 16px !important;
    font-weight: 500 !important;
}

/* Login küçük yazılar */
small.text-muted {
    font-size: 15px !important;
    line-height: 1.4 !important;
}

/* Login icon'ları */
.fa-3x {
    font-size: 3.5rem !important;
}

.login-header i {
    font-size: 3.5rem !important;
}

/* Cache buster - Mobil font düzeltmeleri - 2025-01-17 */

/* Modern İstatistik Kartları - 2025-01-17 */
.modern-stat-card {
    background: var(--surface-elevated);
    border: none;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    min-height: 160px;
    display: flex;
    flex-direction: column;
}

.modern-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    opacity: 0.9;
    z-index: 1;
}

.modern-stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 2;
    transition: all 0.4s ease;
}

.modern-stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.modern-stat-card:hover::after {
    top: -30%;
    right: -30%;
}

.stat-card-content {
    padding: 24px;
    position: relative;
    z-index: 3;
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.modern-stat-card:hover .stat-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.stat-info {
    flex-grow: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
    opacity: 0.95;
}

.stat-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 400;
}

.stat-card-footer {
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .modern-stat-card {
        min-height: 130px;
    }
    
    .stat-card-content {
        padding: 18px;
        gap: 10px;
    }
    
    .stat-icon-wrapper {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-subtitle {
        font-size: 0.7rem;
    }
    
    .stat-card-footer {
        padding: 8px 18px;
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .modern-stat-card {
        min-height: 110px;
    }
    
    .stat-card-content {
        padding: 14px;
        gap: 8px;
    }
    
    .stat-icon-wrapper {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .stat-number {
        font-size: 1.3rem !important;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-subtitle {
        font-size: 0.6rem;
    }
    
    .stat-card-footer {
        padding: 6px 14px;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .modern-stat-card {
        min-height: 100px;
    }
    
    .stat-card-content {
        padding: 12px;
        gap: 6px;
    }
    
    .stat-icon-wrapper {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .stat-number {
        font-size: 1.2rem !important;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .stat-subtitle {
        font-size: 0.55rem;
    }
    
    .stat-card-footer {
        padding: 5px 12px;
        font-size: 0.6rem;
    }
}

@media (max-width: 360px) {
    .modern-stat-card {
        min-height: 90px;
    }
    
    .stat-card-content {
        padding: 10px;
        gap: 5px;
    }
    
    .stat-icon-wrapper {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .stat-number {
        font-size: 1rem !important;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .stat-subtitle {
        font-size: 0.5rem;
    }
    
    .stat-card-footer {
        padding: 4px 10px;
        font-size: 0.55rem;
    }
}

/* Animasyonlar */
@keyframes statCardPulse {
    0% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    }
    100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
}

.modern-stat-card:nth-child(1) {
    animation: statCardPulse 3s ease-in-out infinite;
    animation-delay: 0s;
}

.modern-stat-card:nth-child(2) {
    animation: statCardPulse 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.modern-stat-card:nth-child(3) {
    animation: statCardPulse 3s ease-in-out infinite;
    animation-delay: 1s;
}

.modern-stat-card:nth-child(4) {
    animation: statCardPulse 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Modern Kullanıcı Bilgi Kartı - 2025-01-17 */
.modern-user-info-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0;
}

.modern-user-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.user-info-background {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}

.user-info-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.user-info-background::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: userInfoShimmer 4s ease-in-out infinite;
}

@keyframes userInfoShimmer {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-20px) translateY(-20px);
    }
}

.user-info-content {
    position: relative;
    z-index: 2;
    padding: 20px 32px;
    color: white;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.modern-user-info-card:hover .user-avatar {
    transform: scale(1.05) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.user-details {
    flex-grow: 1;
}

.user-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: white;
}

.user-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.user-info-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.user-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.logout-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: scale(1.1) rotate(5deg);
    text-decoration: none;
}


/* Responsive tasarım */
@media (max-width: 768px) {
    .user-info-content {
        padding: 16px 24px;
    }
    
    .user-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-right: 16px;
    }
    
    .user-name {
        font-size: 1.3rem;
    }
    
    .user-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .user-info-item {
        font-size: 0.9rem;
    }
    
    .logout-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
}

@media (max-width: 576px) {
    .user-info-content {
        padding: 14px 20px;
    }
    
    .user-avatar {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-right: 12px;
    }
    
    .user-name {
        font-size: 1.1rem;
    }
    
    .user-info-item {
        font-size: 0.85rem;
    }
    
    .logout-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
}