/* Medicircle - Profesyonel Modern Tasarım */

:root {
    --primary-color: #49764a;
    --primary-dark: #2d4a2d;
    --primary-light: #6b8c6b;
    --primary-accent: #7fb07f;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --background-color: #f0f4f0;
    --surface-color: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e8f0e8;
    --shadow-light: 0 1px 3px 0 rgba(73, 118, 74, 0.1), 0 1px 2px 0 rgba(73, 118, 74, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(73, 118, 74, 0.1), 0 2px 4px -1px rgba(73, 118, 74, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(73, 118, 74, 0.1), 0 4px 6px -2px rgba(73, 118, 74, 0.05);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
    font-size: 14px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

/* Layout Container */
.container {
    width: 100%;
    padding: 0 1rem;
}

/* ===================
   GİRİŞ SAYFASI
=================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  /*   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    padding: 1rem;
}

.login-container {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-large);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    animation: slideUp 0.5s ease-out;
}

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

.login-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem;
    text-align: center;
}

.login-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-tagline {
    font-size: 0.9rem;
    opacity: 0.9;
}

.login-form {
    padding: 2rem;
}

/* Form Elemanları */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.2s ease;
    background: var(--surface-color);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

/* Butonlar */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

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

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    min-height: 36px;
}

/* Filtre Butonları */
.btn-filter {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-height: 40px;
}

.btn-filter:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.btn-clear {
    background: var(--surface-color);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-height: 40px;
}

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

/* Filtre Alanındaki Butonlar İçin Özel Stiller */
.compact-filters-form .filter-actions .btn-filter,
.compact-filters-form .filter-actions .btn-clear,
.compact-filters-form .filter-actions .btn-primary {
    height: 42px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    min-width: 80px;
    max-width: 100px;
}

/* Yeni Talep Butonu - Özel Dikkat Çekici Stil */
.compact-filters-form .filter-actions .btn-primary {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
}

.compact-filters-form .filter-actions .btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.compact-filters-form .filter-actions .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

/* Filtre Butonu */
.compact-filters-form .filter-actions .btn-filter {
    background: var(--primary-color);
    color: white;
}

.compact-filters-form .filter-actions .btn-filter:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

/* Temizle Butonu */
.compact-filters-form .filter-actions .btn-clear {
    background: var(--surface-color);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.compact-filters-form .filter-actions .btn-clear:hover {
    background: var(--background-color);
    color: var(--text-primary);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* ===================
   DASHBOARD LAYOUT
=================== */
.dashboard-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Üst Navbar */
.navbar {
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    height: 60px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-brand-logo {
    height: 26px;
    max-width: 130px;
    width: auto;
    object-fit: contain;
    display: block;
}

.navbar-brand-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.navbar-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    position: relative;
    font-size: 0.875rem;
    white-space: nowrap;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--primary-color);
    background: rgba(73, 118, 74, 0.1);
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.user-info {
    text-align: right;
}

.user-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.user-role {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: capitalize;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.user-avatar:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Avatar Fotoğrafı */
.user-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.user-avatar-img:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.user-avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* User Dropdown Menu */
.user-dropdown {
    position: relative;
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    z-index: 1000;
    border: 1px solid var(--border-color);
    animation: dropdownFadeIn 0.2s ease-out;
}

.navbar-user:hover .user-dropdown {
    display: block;
}

.user-dropdown-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 8px 8px 0 0;
}

.user-dropdown-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.user-dropdown-role {
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.user-dropdown-menu li {
    margin: 0;
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.2s ease;
    font-size: 14px;
}

.user-dropdown-menu a:hover {
    background-color: var(--hover-bg);
}

.user-dropdown-menu a.danger {
    color: var(--danger-color);
}

.user-dropdown-menu a.danger:hover {
    background-color: rgba(220, 53, 69, 0.1);
}

.dropdown-icon {
    margin-right: 12px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* User switching dropdown styles */
.dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 8px 0;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > a {
    position: relative;
}

.dropdown-arrow {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.dropdown-submenu:hover .dropdown-arrow {
    transform: rotate(90deg);
}

.user-switch-menu {
    position: absolute;
    right: 100%;
    top: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    display: none;
    z-index: 1001;
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.dropdown-submenu:hover .user-switch-menu {
    display: block;
    animation: submenuSlideIn 0.2s ease-out;
}

.user-switch-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-switch-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.user-switch-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-switch-avatar-letter {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.user-switch-info {
    flex: 1;
}

.user-switch-name {
    font-weight: 500;
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.user-switch-role {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-switch-menu a:hover {
    background-color: var(--hover-bg);
}

.user-switch-menu a:hover .user-switch-name {
    color: var(--primary-color);
}

/* Settings Menu Styles */
.settings-menu {
    position: absolute;
    right: 100%;
    top: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    display: none;
    z-index: 1001;
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.dropdown-submenu:hover .settings-menu {
    display: block;
    animation: submenuSlideIn 0.2s ease-out;
}

.settings-menu a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.2s ease;
    font-size: 14px;
}

.settings-menu a:hover {
    background-color: var(--background-color);
}

/* Animations */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes submenuSlideIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Dashboard Ana İçerik */
.dashboard-main {
    flex: 1;
    padding: 2rem 1rem;
    width: 90%;
    margin:auto;
}

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

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* İstatistik Kartları */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Dashboard için stats-grid */
.dashboard-main .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Yeni sayfalarda stats-grid */
.main-content .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.stat-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

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

.stat-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.stat-icon.primary { background: rgba(73, 118, 74, 0.1); color: var(--primary-color); }
.stat-icon.success { background: rgba(16, 185, 129, 0.1); color: var(--success-color); }
.stat-icon.warning { background: rgba(245, 158, 11, 0.1); color: var(--warning-color); }
.stat-icon.secondary { background: rgba(100, 116, 139, 0.1); color: var(--secondary-color); }

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

.stat-change {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.stat-change.positive { color: var(--success-color); }
.stat-change.negative { color: var(--error-color); }

/* Kartlar */
.card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card-body {
    padding: 1rem;
}

/* Tablolar */
.table-container {
    overflow-x: auto;
    max-height: 600px;
    min-height: 800px;
    overflow-y: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.table th {
    background: var(--background-color);
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.table tbody tr:hover {
    background: var(--background-color);
}

/* Durum Badge'leri */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
}

.badge.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.badge.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.badge.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

.badge.secondary {
    background: rgba(100, 116, 139, 0.1);
    color: var(--secondary-color);
}

/* Uyarılar */
.alert {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }

/* Filtre Alanı Responsive Tasarım - Tablet */
@media (max-width: 1200px) {
    .compact-filters-form .filter-row {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .compact-filters-form .filter-group {
        min-width: 140px;
        max-width: 180px;
    }
    
    .compact-filters-form .filter-actions {
        min-width: 240px;
        max-width: 280px;
    }
    
    .compact-filters-form .filter-actions .btn-filter,
    .compact-filters-form .filter-actions .btn-clear,
    .compact-filters-form .filter-actions .btn-primary {
        min-width: 70px;
        max-width: 85px;
        padding: 0.5rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* Filtre Alanı Responsive Tasarım - Mobil */
@media (max-width: 768px) {
    .compact-filters-form {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }
    
    .compact-filters-form .filter-row {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .compact-filters-form .filter-group {
        min-width: auto;
        width: 100%;
    }
    
    .compact-filters-form .filter-actions {
        margin-left: 0;
        min-width: auto;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .compact-filters-form .filter-actions .btn-filter,
    .compact-filters-form .filter-actions .btn-clear,
    .compact-filters-form .filter-actions .btn-primary {
        flex: 1;
        min-width: 100px;
        max-width: 150px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }
    
    .navbar-content {
        padding: 0.75rem;
    }
    
    .dashboard-main {
        padding: 1rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
    
    .user-info {
        display: none;
    }
    
    .login-container {
        margin: 1rem;
    }
    
    .login-header,
    .login-form {
        padding: 1.5rem;
    }
    
    /* Mobile dropdown adjustments */
    .user-dropdown {
        right: -1rem;
        min-width: 180px;
    }
    
    .user-dropdown-menu a {
        padding: 0.625rem 0.875rem;
        font-size: 0.8rem;
    }
    
    /* Mobile için daha kompakt tablo */
    .data-table td {
        padding: 0.5rem;
    }
    
    .data-table th {
        padding: 0.5rem;
        font-size: 0.7rem;
    }
    
    .user-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
        background-size: cover;
        background-position: center;
        overflow: hidden;
    }
    
    .action-trigger {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .action-menu {
        min-width: 140px;
    }
    
    .action-menu-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    /* Mobile için kompakt header */
    .compact-header-filters {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        padding: 1rem;
        min-height: auto;
    }
    
    .compact-title {
        text-align: center;
        min-width: auto;
    }
    
    .compact-filters-form {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .compact-filters-form .filter-group input,
    .compact-filters-form .filter-group select {
        width: 100%;
        min-width: auto;
    }
    
    .compact-filters-form .filter-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 1024px) {
    .navbar-menu a {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .navbar-brand {
        font-size: 1.125rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .card-header,
    .card-body {
        padding: 1rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: currentColor;
    animation: spin 1s ease-in-out infinite;
}

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

/* Smooth Animations */
* {
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

/* Status Badge Styles */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
}

.status-active { background: linear-gradient(135deg, #49764a, #2d4a2d); color: white; }
.status-inactive { background: linear-gradient(135deg, #6b7280, #4b5563); color: white; }
.status-musait { background: linear-gradient(135deg, #49764a, #2d4a2d); color: white; }
.status-mesgul { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; }
.status-izinli { background: linear-gradient(135deg, #6b7280, #4b5563); color: white; }
.status-acil { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; }
.status-normal { background: linear-gradient(135deg, #49764a, #2d4a2d); color: white; }
.status-planli { background: linear-gradient(135deg, #6b8c6b, #49764a); color: white; }
.status-unknown { background: linear-gradient(135deg, #9ca3af, #6b7280); color: white; }

/* Page Layout Styles */
.main-content {
    flex: 1;
    padding: 1.5rem;
    background: var(--background-color);
}

/* Kompakt Header ve Filtreler */
.compact-header-filters {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    min-height: 60px;
}

.compact-title {
    flex-shrink: 0;
    min-width: 100px;
}

.compact-title h1 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.title-description {
    display: block;
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-top: 0.125rem;
}

.compact-filters-form {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    flex: 1;
    justify-content: flex-start;
    background: var(--surface-color);
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    margin-bottom: 1.5rem;
}

.compact-filters-form .filter-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    flex-wrap: nowrap;
    overflow: hidden;
}

.compact-filters-form .filter-group {
    margin: 0;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.compact-filters-form .filter-group input,
.compact-filters-form .filter-group select {
    height: 42px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    transition: all 0.2s ease;
}

.compact-filters-form .filter-group input:focus,
.compact-filters-form .filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(73, 118, 74, 0.1);
}

.compact-filters-form .filter-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    justify-content: flex-end;
    min-width: 280px;
    max-width: 320px;
}

.btn-sm {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    height: 36px;
    width:fit-content
}

/* Select2 Özelleştirmeleri */
.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 36px !important;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    background-color: var(--surface-color) !important;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-primary) !important;
    line-height: 22px !important;
    padding: 0 30px 0 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px !important;
    right: 12px !important;
    width: 20px !important;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1) !important;
}

.select2-dropdown {
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-light) !important;
}

.select2-container--default .select2-results__option {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.875rem !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.5rem !important;
    font-size: 0.875rem !important;
}

.filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.filter-group input,
.filter-group select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.filter-actions {
    display: flex;
    gap: 0.5rem;
}

/* Bu tanım artık yukarıda mevcut */

.stat-card {
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    transition: all 0.2s ease;
}

/* Dashboard için orijinal stat-card tasarımı */
.dashboard-main .stat-card {
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    transition: all 0.2s ease;
    display: block; /* Dashboard için block layout */
}

/* Yeni sayfalarda (aileler, bakicilar) kullanılan stat-card */
.main-content .stat-card {
    background: var(--surface-color);
    padding: 0.50rem 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: center;
    gap: 0rem;
    transition: all 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Dashboard için stat-icon korunuyor */
.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Yeni sayfalarda kullanılan büyük stat-icon */
.main-content .stat-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: rgba(37, 99, 235, 0.1);
}

/* Yeni sayfalarda stat-content */
.main-content .stat-content {
    flex: 1;
    padding-left: 12px;
}

/* Dashboard için stat-number */
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1rem 0 0.5rem 0;
}

/* Yeni sayfalarda stat-number */
.main-content .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

/* Yeni sayfalarda stat-label */
.main-content .stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Table Card */
.table-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.table-header {
    display: none;
}

.table-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.table-info {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: var(--background-color);
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.data-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.data-table tbody tr {
    transition: background-color 0.2s ease;
}

.data-table tbody tr:hover {
    background: var(--background-color);
    box-shadow: inset 3px 0 0 var(--primary-color);
}

/* User Info Styles */
.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.user-details .user-name {
    font-weight: 600;
    margin-bottom: 0.125rem;
    font-size: 0.875rem;
    line-height: 1.2;
}

.user-details .user-id {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1;
}

.work-status {
    font-size: 0.7rem;
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    margin-top: 0.125rem;
    line-height: 1;
}

.work-status.working {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.work-status.available {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

/* Contact & Location Styles */
.contact-info, .location-info, .experience-info, .work-info, .patient-info, .care-info, .budget-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.contact-info .phone, .location-info .city, .experience-info .experience,
.work-info .hourly-rate, .patient-info .patient-name, .care-info .urgency,
.budget-info .budget {
    font-size: 0.8rem;
    color: var(--text-primary);
    line-height: 1.3;
    font-weight: 500;
}

.contact-info .quality, .location-info .district, .experience-info .specialization,
.work-info .work-preference, .patient-info .patient-age, .care-info .budget,
.budget-info .accommodation, .experience-info .certificates {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.2;
}

/* Action Buttons - Dropdown Menu */
.action-buttons {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.action-dropdown {
    position: relative;
}

.action-trigger {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border: 1px solid #cbd5e1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 600;
}

.action-trigger:hover {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #475569;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.action-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    min-width: 160px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.action-dropdown:hover .action-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.action-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.action-menu-item:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.action-menu-item:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.action-menu-item:hover {
    background: var(--background-color);
}

.action-menu-item.view:hover {
    background: rgba(37, 99, 235, 0.05);
    color: #1e40af;
}

.action-menu-item.edit:hover {
    background: rgba(245, 158, 11, 0.05);
    color: #d97706;
}

.action-menu-item.match:hover {
    background: rgba(16, 185, 129, 0.05);
    color: #059669;
}

.action-menu-item.delete:hover {
    background: rgba(239, 68, 68, 0.05);
    color: #dc2626;
}

.action-menu-item.whatsapp:hover {
    background: rgba(37, 211, 102, 0.05);
    color: #25d366;
}

.action-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.action-text {
    font-weight: 500;
}

/* Eski action button stilleri kaldırıldı - Artık dropdown kullanılıyor */

/* No Data State */
.no-data {
    text-align: center;
    padding: 3rem 1rem;
}

.no-data-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.no-data-icon {
    font-size: 3rem;
    opacity: 0.5;
}

.no-data-text {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
}

.pagination {
    display: flex;
    gap: 0.25rem;
}

.pagination-btn {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    background: var(--background-color);
    border-color: var(--primary-color);
}

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

.pagination-info {
    color: var(--text-secondary);
    font-size: 0.875rem;
} 


/* Gelişmiş Filtreleme Stilleri - 2 Satır Tasarım */
.compact-filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem;
    align-items: end;
    min-height: 70px;
}

.filter-row {
    display: contents;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 140px;
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    grid-column: span 2;
    justify-content: flex-end;
    min-width: fit-content;
}

.filter-group input,
.filter-group select {
    width: 100%;
    height: 32px;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    background-color: var(--surface-color);
    transition: border-color 0.2s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.filter-actions .btn {
    height: 32px;
    padding: 0 0.75rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: fit-content;
    flex: 0 0 auto;
    max-width: none;
}

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

.filter-actions .btn-primary:hover {
    background-color: var(--primary-dark);
}

.filter-actions .btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

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

.filter-actions .btn-success {
    background-color: var(--success-color);
    color: white;
}

.filter-actions .btn-success:hover {
    background-color: #059669;
}

.filter-actions .btn-info {
    background-color: #0ea5e9;
    color: white;
}

.filter-actions .btn-info:hover {
    background-color: #0284c7;
}

.filter-actions .btn-error {
    background-color: var(--error-color);
    color: white;
}

.filter-actions .btn-error:hover {
    background-color: #dc2626;
}

/* Select2 Kompakt Stil Düzenlemeleri */
.compact-filters-form .select2-container--default .select2-selection--single {
    height: 32px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-sm) !important;
    background-color: var(--surface-color) !important;
    padding: 0px !important;
}

.compact-filters-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px !important;
    padding: 0 24px 0 8px !important;
    color: var(--text-primary) !important;
    font-size: 0.8rem !important;
}

.compact-filters-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 30px !important;
    right: 6px !important;
    width: 16px !important;
}

.compact-filters-form .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-width: 4px 4px 0 4px !important;
    margin-top: -2px !important;
}

.compact-filters-form .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1) !important;
    padding:0px !important;
}

.select2-dropdown {
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-sm) !important;
    z-index: 9999 !important;
    box-shadow: var(--shadow-medium) !important;
}

.select2-container--default .select2-results__option {
    padding: 0.5rem !important;
    font-size: 0.8rem !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* Responsive tasarım - 2 Satır Grid */
@media (max-width: 1400px) {
    .compact-filters-form {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 0.4rem;
    }
}

@media (max-width: 1200px) {
    .compact-filters-form {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.3rem;
    }
    
    .compact-filters-form .filter-actions .btn {
        padding: 0 0.5rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 992px) {
    .compact-filters-form {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        min-height: auto;
    }
    
    .compact-filters-form .filter-actions {
        grid-column: 1 / -1;
        justify-content: center;
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .compact-filters-form {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    
    .compact-filters-form .filter-actions {
        width: 100%;
        justify-content: center;
        gap: 0.3rem;
    }
    
    .compact-filters-form .filter-actions .btn {
        flex: 0 0 auto;
        min-width: 70px;
        max-width: 120px;
        padding: 0 0.5rem;
        font-size: 0.75rem;
    }
    
    .page-actions {
        justify-content: center;
        margin-left: 0;
    }
    
    .page-actions .btn {
        flex: 0 0 auto;
        min-width: 80px;
        max-width: 140px;
    }
    
    .page-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .compact-filters-form {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .compact-filters-form .filter-actions {
        grid-column: 1;
        justify-content: center;
        gap: 0.3rem;
        flex-wrap: wrap;
    }
    
    .compact-filters-form .filter-actions .btn {
        flex: 0 0 auto;
        min-width: 80px;
        max-width: 100px;
        font-size: 0.7rem;
        padding: 0 0.4rem;
    }
    
    .page-actions {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .page-actions .btn {
        width: 200px;
        justify-content: center;
    }
}

/* Mesaj önizleme tooltip'i */
.message-tooltip {
    position: fixed;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    width: 400px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999;
    font-size: 13px;
}

.message-preview-header {
    padding: 12px 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.message-count {
    font-size: 11px;
    color: #6c757d;
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 10px;
}

.message-preview-content {
    padding: 10px;
    max-height: 250px;
    overflow-y: auto;
}

.message-item {
    margin-bottom: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    border-left: 3px solid #dee2e6;
}

.message-item.message-in {
    background: #f1f3f4;
    border-left-color: #28a745;
}

.message-item.message-out {
    background: #e3f2fd;
    border-left-color: #2196f3;
}

.message-sender {
    font-weight: 600;
    font-size: 11px;
    color: #495057;
    margin-bottom: 3px;
}

.message-text {
    color: #333;
    line-height: 1.4;
    word-wrap: break-word;
}

.message-more {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #dee2e6;
}

.message-preview-error {
    padding: 15px;
    text-align: center;
    color: #dc3545;
}

/* Dönüştür butonu özel stili */
.action-menu-item.convert {
    color: #28a745 !important;
    border-left: 3px solid transparent;
}

.action-menu-item.convert:hover {
    background-color: #f8fff9 !important;
    border-left-color: #28a745;
}

.action-menu-item.convert .action-icon {
    color: #28a745;
}

/* Raporlama Sayfası Özel Stilleri */
.report-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    text-align: center;
}

.report-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.report-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Grafik Kartları */
.chart-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.chart-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.chart-container {
    position: relative;
    min-height: 300px;
}

/* Metrik Kartları */
.metric-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.metric-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.metric-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-change {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.metric-change.positive {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.metric-change.negative {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

/* Report Filters */
.report-filters {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-light);
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-end;
}

/* Export Buttons */
.export-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.export-btn.excel {
    background: #217346;
    color: white;
}

.export-btn.excel:hover {
    background: #1b5e3f;
}

.export-btn.print {
    background: var(--secondary-color);
    color: white;
}

.export-btn.print:hover {
    background: #4b5563;
}

.export-btn.share {
    background: #0ea5e9;
    color: white;
}

.export-btn.share:hover {
    background: #0284c7;
}

/* Performance Indicators */
.performance-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}

.performance-indicator.excellent {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.performance-indicator.good {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.performance-indicator.average {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.performance-indicator.poor {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Report Summary */
.report-summary {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

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

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

.summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.summary-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Trend Indicators */
.trend-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.trend-indicator.up {
    color: var(--success-color);
}

.trend-indicator.down {
    color: var(--error-color);
}

.trend-indicator.stable {
    color: var(--secondary-color);
}

/* Data Tables for Reports */
.report-table {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

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

.report-table-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.report-table-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Print Styles */
@media print {
    .compact-header-filters,
    .navbar,
    .filter-actions,
    .export-btn {
        display: none !important;
    }
    
    .main-content {
        padding: 0 !important;
    }
    
    .chart-card,
    .metric-card,
    .report-table {
        page-break-inside: avoid;
        margin-bottom: 1rem !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .chart-container {
        min-height: 250px;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .export-btn {
        flex: 1;
        justify-content: center;
    }
    
    .metric-value {
        font-size: 1.75rem;
    }
    
    .metric-icon {
        font-size: 2rem;
    }
}

/* Aile Detay ve Düzenleme Sayfaları İçin Özel Stiller */

/* Detay Layout */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-top: 1rem;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Detail Grid */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-item.full-width {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

.detail-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
}

.detail-value .text-muted {
    color: var(--text-muted);
    font-style: italic;
}

/* Status Info */
.status-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.status-label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Form Layout */
.form-container {
    margin-top: 1rem;
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.required {
    color: var(--error-color);
    margin-left: 2px;
}

.form-input {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(73, 118, 74, 0.1);
}

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

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
}

.checkbox-text {
    font-size: 0.875rem;
    color: var(--text-primary);
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
}

/* Alert Styling */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: var(--success-color);
    color: var(--success-color);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: var(--error-color);
    color: var(--error-color);
}

.alert h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.alert ul {
    margin: 0;
    padding-left: 1.5rem;
}

.alert li {
    margin-bottom: 0.25rem;
}

/* Person Info in Tables */
.person-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.person-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.person-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.person-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

/* Compatibility Display */
.compatibility-display {
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
    color: white;
}

.score-excellent {
    background: linear-gradient(135deg, #49764a, #2d4a2d);
}

.score-good {
    background: linear-gradient(135deg, #6b8c6b, #49764a);
}

.score-fair {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .detail-sidebar {
        order: -1;
    }
    
    .form-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .detail-layout,
    .form-layout {
        gap: 1rem;
    }
    
    .page-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .page-actions .btn {
        min-width: 120px !important;
        justify-content: center;
    }
}

/* Page Actions Özel Stilleri (Sadece detay sayfaları için) */
.page-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
    margin-left: auto;
    flex-shrink: 0;
}

.page-actions .btn {
    height: 36px !important;
    padding: 0 12px !important;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem !important;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem;
    transition: all 0.2s ease;
    white-space: nowrap !important;
    min-width: fit-content !important;
    flex: 0 0 auto !important;
    max-width: none !important;
    flex-shrink: 0 !important;
}

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

.page-actions .btn-primary:hover {
    background-color: var(--primary-dark);
}

.page-actions .btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

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

.page-actions .btn-success {
    background-color: var(--success-color);
    color: white;
}

.page-actions .btn-success:hover {
    background-color: #059669;
}

.page-actions .btn-info {
    background-color: #0ea5e9;
    color: white;
}

.page-actions .btn-info:hover {
    background-color: #0284c7;
}

.page-actions .btn-error {
    background-color: var(--error-color);
    color: white;
}

.page-actions .btn-error:hover {
    background-color: #dc2626;
}

/* Compact Header Filter Actions - ÖZEL STIL (aileler.php ve bakicilar.php için) */
.compact-filters-form .filter-actions {
    grid-column: span 2;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    min-width: fit-content;
}

.compact-filters-form .filter-actions .btn {
    height: 32px;
    padding: 0 0.75rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    /* Compact filter için özel değerler */
    min-width: 70px;
    flex: 0 0 auto;
    max-width: 120px;
}

/* ===========================================
   BAKICI PROFİL SAYFASI STİLLERİ
   =========================================== */

.profile-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Profile Header */
.profile-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.profile-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* Profile Main */
.profile-main {
    padding: 30px 0;
}

/* Profile Hero Section */
.profile-hero {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

.profile-avatar-large {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.profile-avatar-fallback {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    font-weight: 700;
    border: 6px solid #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.availability-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.profile-info {
    padding-left: 20px;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.2;
}

.profile-title {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0px;
}

.stat-icon {
    font-size: 24px;
}

.stat-content .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.stat-content .stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1;
}

.profile-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.profile-actions .btn {
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.profile-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Profile Content */
.profile-content {
    margin-top: 30px;
}

.profile-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f3f4f6;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.expertise-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

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

.expertise-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.expertise-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    flex: 1;
}

.expertise-level {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.level-başlangıç { background: #fef3c7; color: #92400e; }
.level-orta { background: #e8f0e8; color: #49764a; }
.level-ileri { background: #d1fae5; color: #065f46; }
.level-uzman { background: #fce7f3; color: #be185d; }

.expertise-experience {
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.expertise-category {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Certificates List */
.certificates-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.certificate-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.certificate-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.certificate-icon {
    font-size: 2rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.certificate-info {
    flex: 1;
}

.certificate-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.certificate-number,
.certificate-validity {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 4px;
}

.certificate-badge {
    font-size: 1.5rem;
    color: #10b981;
}

/* Work Preferences */
.work-preferences {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.preference-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.preference-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.preference-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.preference-content p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

/* Sidebar Sections */
.profile-sidebar-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

/* Info List */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.info-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1rem;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.info-value.pricing {
    color: #059669;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    width: 100%;
}

.btn-contact {
    width: 100%;
    padding: 12px 16px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #374151;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-contact:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
    color: #1f2937;
    transform: translateY(-1px);
}

.contact-note {
    padding: 12px;
    background: #fef3c7;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #92400e;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

/* Security Items */
.security-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f0fdf4;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
}

.security-item.verified {
    color: #065f46;
}

.security-item.verified i {
    color: #10b981;
}

/* Share Buttons */
.share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-share {
    padding: 10px 12px;
    border-radius: 8px;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    color: white;
}

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

.btn-share.whatsapp:hover {
    background: #22c55e;
    transform: translateY(-1px);
}

.btn-share.facebook {
    background: #1877f2;
}

.btn-share.facebook:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.btn-share.twitter {
    background: #1da1f2;
}

.btn-share.twitter:hover {
    background: #0284c7;
    transform: translateY(-1px);
}

.btn-share.copy {
    background: #6b7280;
}

.btn-share.copy:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

/* Footer */
.profile-footer {
    background: #1f2937;
    color: white;
    padding: 40px 0;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3b82f6;
}

.footer-text p {
    margin: 0;
    line-height: 1.4;
}

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .profile-stats {
        gap: 20px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .work-preferences {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-hero {
        padding: 25px;
        text-align: center;
    }
    
    .profile-info {
        padding-left: 0;
        margin-top: 20px;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .profile-stats {
        justify-content: center;
        gap: 15px;
    }
    
    .profile-actions {
        justify-content: center;
        width: 100%;
    }
    
    .profile-actions .btn {
        flex: 1;
        min-width: 140px;
    }
    
    .profile-section {
        padding: 20px;
    }
    
    .profile-sidebar-section {
        padding: 20px;
    }
    
    .share-buttons {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .profile-photo,
    .profile-avatar-fallback {
        width: 150px;
        height: 150px;
    }
    
    .profile-avatar-fallback {
        font-size: 36px;
    }
    
    .profile-name {
        font-size: 1.75rem;
    }
    
    .profile-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .profile-actions .btn {
        width: 100%;
    }
    
    .expertise-card,
    .certificate-item,
    .preference-item {
        padding: 15px;
    }
}

@media print {
    .profile-header,
    .header-actions,
    .profile-actions,
    .share-buttons,
    .contact-info .btn-contact,
    .profile-footer {
        display: none !important;
    }
    
    .profile-main {
        padding: 0;
    }
    
    .profile-hero,
    .profile-section,
    .profile-sidebar-section {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}

/* İlgileniyorum Modal Stilleri */
.interest-form .form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.interest-form .form-label i {
    color: #6366f1;
    width: 16px;
}

.interest-form .form-control {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f9fafb;
    width: 100%;
}

.interest-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(73, 118, 74, 0.1);
    background: white;
}

.privacy-notice {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.privacy-notice .form-check {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.privacy-notice .form-check-label {
    color: #374151;
    cursor: pointer;
    flex: 1;
}

.privacy-notice .form-check-input {
    margin-top: 0.1em;
    accent-color: #6366f1;
    flex-shrink: 0;
}

.privacy-notice i {
    margin-right: 5px;
}

/* Modal Backdrop ve Genel Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

.modal.show {
    display: block !important;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
    top: 40%;
    transform: translateY(-50%);
    max-width: 500px;
    margin: 1.75rem auto;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.3);
    outline: 0;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 0;
    border-bottom: none;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 20px 24px;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 24px 24px;
    border-top: none;
    gap: 12px;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #6b7280;
    text-shadow: none;
    opacity: 1;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.close:hover {
    opacity: 1;
    background: #f3f4f6;
    color: #374151;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-open {
    overflow: hidden;
}

/* Alert Stilleri */
.alert {
    padding: 16px 20px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    position: relative;
}

.alert-success {
    color: #065f46;
    background-color: #d1fae5;
    border-color: #a7f3d0;
}

.alert-dismissible {
    position: relative;
    padding-right: 50px;
}

.btn-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    opacity: 1;
}

.btn-close::before {
    content: "×";
    font-weight: bold;
    line-height: 1;
}

/* Form Grup Stilleri */
.mb-3 {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(73, 118, 74, 0.25);
}

textarea.form-control {
    resize: vertical;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: none;
        transform: none;
        top: 0;
        height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .modal-content {
        margin: auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-header {
        padding: 16px 20px 0;
    }
    
    .modal-body {
        padding: 16px 20px;
    }
    
    .modal-footer {
        padding: 0 20px 20px;
        flex-direction: column;
        gap: 8px;
    }
    
    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
    
    .profile-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .profile-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===================
   EXCEL EXPORT DROPDOWN
=================== */
.excel-export-dropdown {
    position: relative;
    display: inline-block;
}

.excel-export-dropdown .dropdown-toggle {
    background: linear-gradient(135deg, var(--warning-color) 0%, #d97706 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
}

.excel-export-dropdown .dropdown-toggle:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: var(--shadow-medium);
    transform: translateY(-1px);
}

.excel-export-dropdown .dropdown-toggle:focus {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
    outline: none;
}

.excel-export-dropdown .dropdown-toggle::after {
    margin-left: 8px;
    vertical-align: 0.125em;
    border: none;
    content: "▼";
    font-size: 0.75em;
    transition: transform 0.2s ease;
}

.excel-export-dropdown .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.excel-export-dropdown .dropdown-menu {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-large);
    margin-top: 4px;
    padding: 8px 0;
    min-width: 200px;
    animation: dropdownFadeIn 0.2s ease-out;
    display: none; /* Varsayılan olarak gizli */
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
}

.excel-export-dropdown .dropdown-menu.show {
    display: block;
}

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

.excel-export-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    background: none;
}

.excel-export-dropdown .dropdown-item:hover {
    background: var(--background-color);
    color: var(--primary-color);
    transform: translateX(4px);
}

.excel-export-dropdown .dropdown-item:focus {
    background: var(--background-color);
    color: var(--primary-color);
    outline: none;
}

.excel-export-dropdown .dropdown-item i {
    font-size: 16px;
    color: var(--warning-color);
    width: 20px;
    text-align: center;
    transition: color 0.2s ease;
}

.excel-export-dropdown .dropdown-item:hover i {
    color: var(--primary-color);
}

/* Dropdown için Bootstrap override */
.excel-export-dropdown .dropdown-menu {
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.excel-export-dropdown .dropdown-item:active {
    background-color: var(--primary-color);
    color: white;
}

.excel-export-dropdown .dropdown-item:active i {
    color: white;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .excel-export-dropdown .dropdown-menu {
        min-width: 180px;
        right: 0;
        left: auto;
    }
    
    .excel-export-dropdown .dropdown-item {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .excel-export-dropdown .dropdown-toggle {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Yaş Aralığı Slider Stilleri */
.age-range-filter {
    min-width: 160px;
    padding: 8px 12px;
}

.age-range-filter .filter-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-align: center;
}

.age-slider-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.age-range-slider {
    height: 6px;
    margin: 8px 0;
}

.age-range-values {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
}

.age-min-value,
.age-max-value {
    font-weight: 600;
    color: var(--primary-color);
}

/* noUiSlider özelleştirmesi */
.age-range-slider .noUi-connect {
    background: var(--primary-color);
}

.age-range-slider .noUi-handle {
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    width: 18px;
    height: 18px;
    right: -9px;
    top: -6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.age-range-slider .noUi-handle:before,
.age-range-slider .noUi-handle:after {
    display: none;
}

.age-range-slider .noUi-base {
    background: var(--border-color);
    border-radius: 3px;
}

.age-range-slider .noUi-target {
    border: none;
    border-radius: 3px;
    box-shadow: none;
    background: var(--border-color);
}

.age-range-slider .noUi-handle:hover {
    background: var(--primary-dark);
}

.age-range-slider .noUi-handle:active {
    transform: scale(1.1);
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .age-range-filter {
        min-width: 140px;
        padding: 6px 8px;
    }
    
    .age-range-slider .noUi-handle {
        width: 16px;
        height: 16px;
        right: -8px;
        top: -5px;
    }
    
    .age-range-values {
        font-size: 10px;
    }
}

/* Form Layout Enhancements */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Satırlar arası boşluk */
    width: 100%; /* Tam genişlik */
}

.form-row {
    display: flex;
    align-items: flex-start; /* Öğeleri dikeyde en üstten hizala */
    gap: 1.5rem; /* Form sütunları arası boşluk */
    flex-wrap: wrap; /* Gerekirse alt satıra geç */
    margin-bottom: 1rem; /* Satırlar arası boşluk */
    width: 100%; /* Tam genişlik */
}

.form-col {
    flex: 1; /* Eşit genişlikte olmasını sağlar */
    min-width: 250px; /* Minimum genişlik */
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Label ve input arasındaki boşluk */
    align-items: stretch; /* Elemanları tam genişlikte hizala */
    position: relative; /* Pozisyonlama için */
    z-index: 1; /* Katman sırası */
}

.form-col-full {
    grid-column: 1 / -1; /* Tam genişlik kaplamasını sağlar */
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1 1 100%; /* Tam genişlik ve esneklik */
}

/* Form elemanları için tutarlı yükseklik */
.form-col input,
.form-col select,
.form-col textarea,
.form-col-full input,
.form-col-full select,
.form-col-full textarea {
    min-height: 38px;
    box-sizing: border-box;
    width: 100%; /* Tam genişlik */
    border: 1px solid #ddd; /* Kenarlık */
    border-radius: 4px; /* Yuvarlatılmış köşeler */
    padding: 8px 12px; /* İç boşluk */
    font-size: 14px; /* Font boyutu */
}

/* Form elemanlarına odaklanma durumu */
.form-col input:focus,
.form-col select:focus,
.form-col textarea:focus,
.form-col-full input:focus,
.form-col-full select:focus,
.form-col-full textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.form-row-inline {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center; /* Inline form elemanlarını dikeyde ortala */
}

.form-row-inline > .form-input,
.form-row-inline > .form-select {
    flex: 1; /* Inline input'ların eşit genişlikte olmasını sağlar */
    min-width: 120px;
}

.checkbox-group {
    display: flex;
    flex-direction: column; /* Checkbox'ları alt alta sırala */
    gap: 0.5rem;
    justify-content: center; /* Checkbox grubunu dikeyde ortala */
    height: 100%; /* Parent ile aynı yüksekliği almasını sağlar */
}

.checkbox-group-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    height: 100%;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    accent-color: var(--primary-color); /* Checkbox rengi */
}

.checkbox-item span {
    font-size: 0.875rem;
    color: var(--text-primary);
}

/* General Form Controls */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.2s ease;
    background: var(--surface-color);
    min-height: 44px; /* Tüm inputların minimum yüksekliği */
}

.form-textarea {
    min-height: 80px; /* Textarea için daha yüksek bir min-height */
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(73, 118, 74, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-secondary);
}

label {
    display: block;
    margin-bottom: 0.25rem; /* Label ve input arası daha az boşluk */
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.875rem;
}

/* Responsive adjustments for form grid */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr; /* Mobil cihazlarda tek sütuna düşür */
        gap: 1rem;
    }
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    .form-col,
    .form-col-full {
        min-width: unset;
        width: 100%;
    }
    .form-row-inline {
        flex-direction: column;
        gap: 0.5rem;
    }
    .form-row-inline > .form-input,
    .form-row-inline > .form-select {
        min-width: unset;
        width: 100%;
    }
    .checkbox-group {
        flex-direction: column;
        gap: 0.5rem;
    }
}