﻿/* ===== GENEL STÄ°LLER ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

/* ===== ÃœLKE SEÃ‡Ä°MÄ° EKRANI ===== */
.country-selection-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.country-selection-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.country-header {
    margin-bottom: 40px;
}

.country-header .logo-icon {
    font-size: 80px;
    color: #3b82f6;
    margin-bottom: 20px;
}

.country-header .main-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1f2937;
}

.country-header .sub-title {
    font-size: 20px;
    color: #06b6d4;
    font-weight: normal;
    margin-bottom: 20px;
}

.country-description {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.country-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
    background: white;
}

.country-flag {
    width: 80px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
}

.country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-flag i {
    font-size: 40px;
    color: #6b7280;
}

.country-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #1f2937;
}

.country-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.back-to-countries {
    margin-top: 20px;
    text-align: center;
}

/* ===== LOGIN EKRANI ===== */
.login-container {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(20px, env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) max(20px, env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    max-width: 1000px;
    width: 100%;
    min-height: 600px;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.login-content {
    text-align: center;
    max-width: 400px;
}

.logo-section {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.logo-section img.logo-icon {
    width: 120px;
    height: auto;
    margin: 0 auto 25px auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
}

.logo-section img.logo-icon:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
}

.logo-icon {
    font-size: 80px;
    color: #3b82f6;
    margin-bottom: 20px;
}

.main-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.sub-title {
    font-size: 20px;
    color: #06b6d4;
    font-weight: normal;
}

.features {
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
}

.feature-item i {
    margin-right: 15px;
    font-size: 20px;
    color: #3b82f6;
    width: 25px;
}

.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: #f8fafc;
}

.login-form {
    width: 100%;
    max-width: 400px;
}

.login-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1f2937;
}

.login-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-check {
    margin-bottom: 30px;
}

.form-check-input {
    margin-right: 10px;
}

.btn-login {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* ===== ADMIN PANEL ===== */
.admin-panel {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.admin-panel .admin-content-wrapper {
    display: flex;
    flex: 1;
    width: 100%;
    min-width: 0;
    position: relative;
}

/* Header */
.admin-header {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1100;
    flex-wrap: wrap;
    gap: 12px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

/* Mobil menÃ¼ (tablet/kÃ¼Ã§Ã¼k ekran) */
.sidebar-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.sidebar-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.55);
}

.sidebar-menu-toggle i {
    font-size: 18px;
}

.sidebar-backdrop {
    display: none;
}

body.sidebar-open {
    overflow: hidden;
}

.header-logo {
    font-size: 32px;
    color: #3b82f6;
    margin-right: 15px;
}

.header-logo-flag {
    width: 60px;
    height: 45px;
    border-radius: 12px;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.header-logo-flag:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.header-title h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.header-title span {
    font-size: 14px;
    color: #06b6d4;
}

.header-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info i {
    font-size: 18px;
    color: #3b82f6;
}

/* Ãœlke SeÃ§im Dropdown - Ultra Profesyonel TasarÄ±m */
.country-selector-dropdown {
    position: relative;
}

.country-selector-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 
                0 0 0 0 rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.country-selector-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.country-selector-btn:hover::before {
    left: 100%;
}

.country-selector-btn:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(147, 51, 234, 0.25) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3),
                0 0 20px rgba(59, 130, 246, 0.2);
}

.country-selector-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.country-selector-btn i {
    font-size: 14px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 4px;
}

.country-selector-dropdown.active .country-selector-btn i {
    transform: rotate(180deg);
}

.country-flag-small {
    width: 44px;
    height: 33px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.country-selector-btn:hover .country-flag-small {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.country-dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-20px) scale(0.95);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    min-width: 280px;
    max-height: 500px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 12px 8px;
}

.country-dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.country-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

/* Custom Scrollbar for Dropdown */
.country-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.country-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.country-dropdown-menu::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 10px;
}

.country-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.country-dropdown-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    color: #1f2937;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid transparent;
    border-radius: 12px;
    margin: 4px 8px;
    position: relative;
    overflow: hidden;
}

.country-dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.country-dropdown-item:hover::before {
    left: 100%;
}

.country-dropdown-item:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-left-color: #3b82f6;
    color: #3b82f6;
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.country-dropdown-item.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-left-color: #3b82f6;
    color: #3b82f6;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2),
                inset 0 0 0 1px rgba(59, 130, 246, 0.1);
}

.country-dropdown-item.active::after {
    content: 'âœ“';
    position: absolute;
    right: 20px;
    color: #3b82f6;
    font-weight: bold;
    font-size: 18px;
    animation: check-pop 0.3s ease;
}

@keyframes check-pop {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.country-dropdown-item img {
    width: 48px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.country-dropdown-item:hover img {
    transform: scale(1.15) rotate(3deg);
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.country-dropdown-item.active img {
    border-color: #3b82f6;
    border-width: 3px;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4),
                0 0 0 2px rgba(59, 130, 246, 0.1);
    transform: scale(1.1);
}

.country-dropdown-item span {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.country-dropdown-item:hover span {
    font-weight: 700;
}

/* Sidebar */
.admin-sidebar {
    width: 250px;
    flex-shrink: 0;
    background: #1f2937;
    min-height: calc(100vh - 80px);
    padding: 20px 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: #374151;
    color: white;
}

.nav-item.active {
    background: #374151;
    color: white;
    border-left-color: #3b82f6;
}

.nav-item i {
    margin-right: 12px;
    font-size: 16px;
    width: 20px;
}

.nav-group-toggle {
    justify-content: flex-start;
}

.nav-group-toggle .nav-group-arrow {
    margin-left: auto;
    margin-right: 0;
    width: auto;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-group.open .nav-group-arrow {
    transform: rotate(180deg);
}

.nav-submenu {
    display: none;
    background: #1f2937;
}

.nav-group.open .nav-submenu {
    display: block;
}

.nav-sub-item {
    display: flex;
    align-items: center;
    padding: 12px 25px 12px 57px;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 14px;
}

.nav-sub-item:hover {
    background: #374151;
    color: white;
}

.nav-sub-item.active {
    background: #374151;
    color: white;
    border-left-color: #3b82f6;
}

/* Main Content */
.admin-content {
    flex: 1;
    min-width: 0;
    background: #f8fafc;
    padding: 30px;
    min-height: calc(100vh - 80px);
    overflow-x: auto;
}

.content-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.content-header h2 {
    font-size: 24px;
    font-weight: bold;
    color: #1f2937;
    margin: 0;
}

.content-header h2 i {
    margin-right: 10px;
    color: #3b82f6;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    font-size: 24px;
}

.stat-icon.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-icon.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stat-icon.info {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.stat-icon.danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.stat-icon.secondary {
    background: linear-gradient(135deg, #6b7280 0%, #374151 100%);
}

/* ===== Kaynak Havuzu â€” aÃ§Ä±k tema, dolu renkli kartlar ===== */
#kaynakHavuzu.kaynak-havuzu-page {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    color: #1f2937;
    padding: 28px;
}

.kh-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.kh-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kh-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0d7a52, #065f46);
    border: none;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(6, 95, 70, 0.28);
}

.kh-title h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #111827;
}

.kh-header-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    flex: 1 1 520px;
    justify-content: flex-end;
}

.kh-search-wrap {
    position: relative;
    flex: 1 1 240px;
    max-width: 340px;
}

.kh-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
    pointer-events: none;
}

.kh-search-input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #1f2937;
    font-size: 13px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kh-search-input::placeholder {
    color: #9ca3af;
}

.kh-search-input:focus {
    outline: none;
    border-color: #047857;
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.12);
}

.kh-durum-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #6b7280;
    font-size: 13px;
}

.kh-durum-select {
    border: none;
    background: transparent;
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding-right: 4px;
}

.kh-durum-select:focus {
    outline: none;
}

.kh-durum-select option {
    background: #ffffff;
    color: #1f2937;
}

.kh-btn-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #0d7a52, #065f46);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(6, 95, 70, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kh-btn-add:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(6, 95, 70, 0.34);
}

.kh-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.kh-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.kh-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.kh-stat-card.active {
    transform: translateY(-2px);
}

.kh-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    flex-shrink: 0;
}

.kh-stat-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kh-stat-body strong {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.kh-stat-body span {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.85;
}

.kh-stat-card--kullanilabilir {
    color: #047857;
}

.kh-stat-card--kullanilabilir.active {
    border-color: #047857;
    box-shadow: 0 4px 20px rgba(6, 95, 70, 0.16);
}

.kh-stat-card--kullanilabilir .kh-stat-icon {
    background: #d1fae5;
    color: #047857;
}

.kh-stat-card--kullanimda {
    color: #b91c1c;
}

.kh-stat-card--kullanimda.active {
    border-color: #b91c1c;
    box-shadow: 0 4px 20px rgba(185, 28, 28, 0.16);
}

.kh-stat-card--kullanimda .kh-stat-icon {
    background: #fee2e2;
    color: #b91c1c;
}

.kh-stat-card--degistirilecek {
    color: #374151;
}

.kh-stat-card--degistirilecek.active {
    border-color: #374151;
    box-shadow: 0 4px 20px rgba(55, 65, 81, 0.15);
}

.kh-stat-card--degistirilecek .kh-stat-icon {
    background: #f3f4f6;
    color: #374151;
}

.kh-stat-card--randevu {
    color: #2563eb;
}

.kh-stat-card--randevu.active {
    border-color: #3b82f6;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.18);
}

.kh-stat-card--randevu .kh-stat-icon {
    background: #eff6ff;
    color: #3b82f6;
}

.kh-section-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.kh-section-title {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kh-section-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.kh-section-dot--kullanilabilir { background: #047857; }
.kh-section-dot--kullanimda { background: #b91c1c; }
.kh-section-dot--degistirilecek { background: #374151; }
.kh-section-dot--randevu { background: #3b82f6; }
.kh-section-dot--tumu { background: #8b5cf6; }

.kh-show-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.kh-show-all:hover,
.kh-show-all.active {
    color: #047857;
}

.kh-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.kaynak-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: 16px;
    border: none;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-height: 168px;
    overflow: hidden;
}

.kaynak-card:hover {
    transform: translateY(-5px);
}

.kaynak-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.kaynak-card-top-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.kaynak-receiver-badge {
    font-size: 26px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    line-height: 1;
    color: #ffffff;
    background: none;
    border: none;
    padding: 0;
}

.kaynak-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.kaynak-status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #ffffff;
}

.kaynak-card-edit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    background: transparent;
    color: #ffffff;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.kaynak-card-edit-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.kaynak-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.kaynak-card-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #ffffff;
    line-height: 1.4;
    word-break: break-word;
}

.kaynak-card-row i {
    width: 14px;
    margin-top: 3px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.9);
}

.kaynak-card-row--muted {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
}

.kaynak-card-footer-btns {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

.kaynak-card-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kaynak-card-btn:hover {
    transform: translateY(-1px);
}

.kaynak-card-btn--kullan {
    background: #ffffff;
    color: #065f46;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.kaynak-card-btn--kullan:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

/* Dolu renkli kart temalarÄ± */
.kaynak-card--kullanilabilir {
    background: linear-gradient(135deg, #0d7a52, #065f46);
    box-shadow: 0 8px 24px rgba(6, 95, 70, 0.3);
}

.kaynak-card--kullanilabilir:hover {
    box-shadow: 0 12px 28px rgba(6, 95, 70, 0.36);
}

.kaynak-card--kullanimda {
    background: linear-gradient(135deg, #c0392b, #922b21);
    box-shadow: 0 8px 24px rgba(146, 43, 33, 0.3);
}

.kaynak-card--kullanimda:hover {
    box-shadow: 0 12px 28px rgba(146, 43, 33, 0.36);
}

.kaynak-card--degistirilecek {
    background: linear-gradient(135deg, #374151, #111827);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.35);
}

.kaynak-card--degistirilecek:hover {
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.42);
}

.kaynak-card--takip-ediliyor {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
    color: #ffffff;
}

.kaynak-card--takip-ediliyor:hover {
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.42);
}

.kaynak-card--bilinmiyor {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    box-shadow: 0 8px 24px rgba(107, 114, 128, 0.3);
}

.kh-empty {
    text-align: center;
    padding: 56px 20px;
    color: #9ca3af;
}

.kh-empty i {
    font-size: 42px;
    margin-bottom: 12px;
    display: block;
    opacity: 0.5;
}

.kh-empty p {
    margin: 0;
    font-size: 15px;
}

.kh-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.kh-page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.kh-page-btn:hover:not(:disabled) {
    color: #047857;
    border-color: #047857;
}

.kh-page-btn.active {
    color: #047857;
    border-color: #047857;
    background: #d1fae5;
}

.kh-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.kh-page-ellipsis {
    color: #9ca3af;
    padding: 0 4px;
    font-size: 13px;
    user-select: none;
}

@media (max-width: 1199.98px) {
    .kh-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .kh-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kh-header-right {
        justify-content: stretch;
    }

    .kh-search-wrap {
        max-width: none;
        flex: 1 1 100%;
    }

    .kh-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    #kaynakHavuzu.kaynak-havuzu-page {
        padding: 18px;
    }

    .kh-stats-grid {
        grid-template-columns: 1fr;
    }

    .kh-header-right {
        flex-direction: column;
        align-items: stretch;
    }

    .kh-durum-filter,
    .kh-btn-add {
        width: 100%;
        justify-content: center;
    }

    .kh-grid {
        grid-template-columns: 1fr;
    }

    .kh-section-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

.mail-pool-toolbar .filter-group label {
    font-size: 12px;
    margin-bottom: 4px;
    display: block;
    color: #6b7280;
}

.mail-pool-toolbar .form-control-sm {
    min-width: 140px;
}

.mail-pool-password-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
}

.mail-pool-password-cell .btn-copy-password {
    padding: 2px 8px;
    font-size: 11px;
    flex-shrink: 0;
}

.mail-pool-bulk-bar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
}

.mail-pool-check-col {
    width: 42px;
    text-align: center;
    vertical-align: middle;
}

#mailPoolTable .mail-pool-row-check,
#mailPoolSelectAll {
    cursor: pointer;
    margin: 0;
}

/* Mail Pool â€” tablet & kÃ¼Ã§Ã¼k laptop */
#mailPool .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

#mailPoolTable {
    min-width: 760px;
    margin-bottom: 0;
}

@media (max-width: 1199.98px) {
    #mailPool .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    #mailPool .card-header.mail-pool-card-header,
    #mailPool .card-header.d-flex {
        flex-direction: column;
        align-items: stretch !important;
    }

    #mailPool .mail-pool-toolbar {
        width: 100%;
    }

    #mailPool .mail-pool-toolbar .filter-group {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
    }

    #mailPool .mail-pool-toolbar .form-control-sm {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    #mailPool .stats-grid {
        grid-template-columns: 1fr;
    }

    #mailPool .mail-pool-toolbar .filter-group {
        flex: 1 1 100%;
    }

    #mailPool .mail-pool-bulk-bar .d-flex {
        flex-direction: column;
        align-items: stretch !important;
    }

    #mailPool .mail-pool-bulk-bar .btn {
        width: 100%;
    }

    #mailPool .content-header .header-actions .btn {
        width: 100%;
    }
}

.stat-content h3 {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
    color: #1f2937;
}

.stat-content p {
    font-size: 14px;
    color: #6b7280;
    margin: 5px 0 0 0;
}

.stat-subdetail {
    font-size: 12px !important;
    color: #9ca3af !important;
    margin-top: 4px !important;
    line-height: 1.4;
}

.dashboard-section-title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 20px 0;
    color: #1f2937;
}

.dashboard-section-title i {
    margin-right: 10px;
    color: #3b82f6;
}

.dashboard-section-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #fef3c7;
    color: #b45309;
    font-size: 12px;
    font-weight: 600;
    vertical-align: middle;
}

.stats-grid--centers {
    margin-bottom: 30px;
}

/* Quick Actions */
.quick-actions {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.quick-actions h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1f2937;
}

.quick-actions h3 i {
    margin-right: 10px;
    color: #3b82f6;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Tables */
.table-responsive {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    font-weight: 600;
    padding: 15px;
}

.table tbody td {
    padding: 15px;
    vertical-align: middle;
    border-color: #e5e7eb;
}

.table tbody tr:hover {
    background-color: #f8fafc;
}

/* Forms */
.customer-form, .proxy-form {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.card-section {
    background: #f8fafc;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    border-left: 4px solid #3b82f6;
}

.card-section h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1f2937;
}

.card-section h4 i {
    margin-right: 10px;
    color: #3b82f6;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e5e7eb;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
}

.btn-outline-danger {
    background: transparent;
    color: #ef4444;
    border: 2px solid #ef4444;
}

.btn-outline-danger:hover {
    background: #ef4444;
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Recent Records */
.recent-records {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.recent-records h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1f2937;
}

.recent-records h3 i {
    margin-right: 10px;
    color: #3b82f6;
}

/* Proxy List */
.proxy-list {
    margin-top: 40px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.proxy-list h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1f2937;
}

.proxy-list h3 i {
    margin-right: 10px;
    color: #3b82f6;
}

/* Checkbox Styling */
.form-check-input {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

/* Status Badges */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

/* Action Buttons in Tables */
.action-buttons {
    display: flex;
    gap: 5px;
}

.action-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-1px);
}

.action-btn.add {
    background: #10b981;
    color: white;
}

.action-btn.remove {
    background: #ef4444;
    color: white;
}

.action-btn.start {
    background: #3b82f6;
    color: white;
}

.action-btn.delete {
    background: #6b7280;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .country-selection-card {
        padding: 20px;
        margin: 10px;
    }
    
    .countries-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .country-card {
        padding: 20px 15px;
    }
    
    .country-flag {
        width: 60px;
        height: 45px;
    }
    
    .login-card {
        flex-direction: column;
        max-width: 100%;
    }
    
    .login-left, .login-right {
        flex: none;
        padding: 40px 20px;
    }
    
    .header-logo-flag {
        width: 50px;
        height: 37px;
        margin-right: 10px;
    }
    
    .country-selector-btn {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .country-flag-small {
        width: 36px;
        height: 27px;
    }
    
    .country-dropdown-menu {
        left: 50%;
        transform: translateX(-50%) translateY(-20px) scale(0.95);
        width: calc(100vw - 40px);
        max-width: 320px;
        max-height: 400px;
    }
    
    .country-dropdown-menu.show {
        transform: translateX(-50%) translateY(0) scale(1);
    }
    
    .country-dropdown-item {
        padding: 12px 16px;
        margin: 3px 6px;
    }
    
    .country-dropdown-item img {
        width: 40px;
        height: 28px;
    }
    
    .country-dropdown-item span {
        font-size: 15px;
    }
    
    .admin-content {
        margin-left: 0;
        padding: 20px;
        width: 100%;
    }
    
    .admin-content-wrapper {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 5px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.customer-save-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: all;
}

.customer-save-overlay.show {
    display: flex;
}

.customer-save-overlay-panel {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.customer-save-overlay-spinner {
    width: 44px;
    height: 44px;
    border-width: 4px;
    margin: 0 auto 16px;
}

.customer-save-overlay-title {
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px;
}

.customer-save-overlay-hint {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

body.customer-save-in-progress {
    overflow: hidden;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* DataTables Customization */
.dataTables_wrapper {
    padding: 0;
}

.dataTables_length,
.dataTables_filter {
    margin-bottom: 20px;
}

.dataTables_info,
.dataTables_paginate {
    margin-top: 20px;
}

/* SweetAlert2 Customization */
.swal2-popup {
    border-radius: 15px;
}

.swal2-title {
    font-size: 24px;
    font-weight: bold;
}

.swal2-content {
    font-size: 16px;
}

/* ===== FÄ°NANSAL Ã–ZET ===== */
.financial-summary {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.summary-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    border-left: 4px solid #3b82f6;
}

.summary-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.summary-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    font-size: 20px;
}

.summary-icon.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.summary-icon.info {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.summary-icon.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.summary-content h3 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #1f2937;
}

.summary-content p {
    font-size: 14px;
    color: #6b7280;
    margin: 5px 0 0 0;
}

/* ===== FÄ°LTRE GRUBU ===== */
.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.filter-group .form-control {
    width: 200px;
    padding: 8px 12px;
    font-size: 14px;
}

/* ===== DURUM BADGELERÄ° ===== */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.beklemede {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.basarili {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.alindi {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.hata {
    background: #fee2e2;
    color: #991b1b;
}

.status-badge.islemde {
    background: #e0e7ff;
    color: #3730a3;
}

/* ===== Ã–DEME EKLEME MODALI ===== */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.payment-modal-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.payment-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.payment-modal-header h3 {
    margin: 0;
    color: #1f2937;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

/* ===== EURO Ä°KONU ===== */
.euro-icon {
    color: #10b981;
    font-weight: bold;
}

/* ===== TABLO Ä°YÄ°LEÅTÄ°RMELERÄ° ===== */
.table th {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    font-weight: 600;
    padding: 15px;
    text-align: center;
}

.table td {
    padding: 15px;
    vertical-align: middle;
    border-color: #e5e7eb;
    text-align: center;
}

.table tbody tr:hover {
    background-color: #f8fafc;
}

/* ===== ACTION BUTTONS ===== */
.action-buttons {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.action-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.action-btn.update {
    background: #10b981;
    color: white;
}

.action-btn.update:hover {
    background: #059669;
}

.action-btn.delete {
    background: #ef4444;
    color: white;
}

.action-btn.delete:hover {
    background: #dc2626;
}

.action-btn.edit {
    background: #3b82f6;
    color: white;
}

.action-btn.edit:hover {
    background: #2563eb;
}

.action-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

/* ===== RESPONSIVE Ä°YÄ°LEÅTÄ°RMELERÄ° ===== */
@media (max-width: 768px) {
    .summary-cards {
        grid-template-columns: 1fr;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .filter-group .form-control {
        width: 100%;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 3px;
    }
    
    .action-btn {
        font-size: 10px;
        padding: 4px 8px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

/* ===== SAYFALAMA STÄ°LLERÄ° ===== */
.pagination-container {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.pagination-info {
    color: #6c757d;
    font-size: 14px;
}

.pagination-controls {
    display: flex;
    gap: 5px;
    align-items: center;
}

.pagination-controls .btn {
    min-width: 40px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

@media (max-width: 768px) {
    .pagination-container {
        flex-direction: column;
        text-align: center;
    }
    
    .pagination-controls {
        justify-content: center;
    }
}

/* ===== DÃœZENLENEBÄ°LÄ°R PROXY HÃœCRELERÄ° ===== */
.editable-proxy-url,
.editable-local-port {
    cursor: pointer;
    position: relative;
    padding: 8px 12px;
    transition: all 0.2s ease;
}

.editable-proxy-url:hover,
.editable-local-port:hover {
    background-color: #f8f9fa;
    border-radius: 4px;
}

.editable-proxy-url input,
.editable-local-port input {
    width: 100%;
    min-width: 150px;
    padding: 4px 8px;
    border: 2px solid #3b82f6;
    border-radius: 4px;
    font-size: 14px;
}

.editable-proxy-url input:focus,
.editable-local-port input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.editable-proxy-url .text-warning,
.editable-local-port .text-warning {
    color: #f59e0b !important;
    font-weight: 500;
}

#saveAllProxiesBtn {
    animation: fadeIn 0.3s ease;
}

#proxyEditInfo {
    animation: slideDown 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== VFS TOPLU EKLEME STÄ°LLERÄ° ===== */
.bulk-add-container {
    padding: 15px;
}

.bulk-add-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.bulk-add-header h5 {
    margin: 0;
    font-size: 16px;
    color: #374151;
}

.bulk-add-count-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bulk-count-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin: 0;
    white-space: nowrap;
}

.bulk-count-input {
    width: 80px;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    text-align: center;
}

.bulk-count-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.bulk-add-scrollable {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px;
    background: #f9fafb;
}

.bulk-account-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 2fr 1.5fr auto;
    gap: 10px;
    align-items: end;
    padding: 10px;
    margin-bottom: 10px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.bulk-account-row:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

.bulk-account-row .bulk-form-group {
    margin-bottom: 0;
}

.bulk-account-row .bulk-form-group label {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 4px;
    display: block;
}

.bulk-account-row .bulk-form-control {
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    width: 100%;
    transition: all 0.2s ease;
}

.bulk-account-row .bulk-form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.bulk-account-row .btn-remove-row {
    padding: 6px 12px;
    font-size: 12px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: end;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bulk-account-row .btn-remove-row:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.bulk-add-actions {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

/* Custom Scrollbar for Bulk Add */
.bulk-add-scrollable::-webkit-scrollbar {
    width: 6px;
}

.bulk-add-scrollable::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.bulk-add-scrollable::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.bulk-add-scrollable::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ========== Tablet & mobil (â‰¤991.98px) â€” tek kaynak ========== */
@media (max-width: 991.98px) {
    /* Ãœst bar: 1. satÄ±r marka | 2. satÄ±r sol: Ã¼lke, saÄŸ: kullanÄ±cÄ±+Ã§Ä±kÄ±ÅŸ */
    .admin-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        grid-template-areas:
            "hdr-brand hdr-brand"
            "hdr-country hdr-user";
        align-items: center;
        gap: 10px 12px;
        padding: 12px 14px;
        padding-left: max(12px, env(safe-area-inset-left, 0px));
        padding-right: max(12px, env(safe-area-inset-right, 0px));
        padding-top: max(12px, env(safe-area-inset-top, 0px));
        flex-wrap: nowrap;
    }

    .header-left {
        grid-area: hdr-brand;
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    .header-right {
        grid-area: hdr-user;
        justify-self: end;
        align-self: center;
        margin: 0;
        width: auto;
        max-width: 100%;
    }

    .header-center {
        grid-area: hdr-country;
        justify-self: start;
        align-self: center;
        margin: 0;
        flex: none;
        width: auto;
        min-width: 0;
        display: flex;
        justify-content: flex-start;
    }

    .header-title {
        min-width: 0;
        flex: 1;
    }

    .header-title h1 {
        font-size: clamp(16px, 4.2vw, 20px);
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-title span {
        font-size: 11px;
        opacity: 0.9;
    }

    .header-logo-flag {
        width: 44px;
        height: 33px;
        margin-right: 8px;
        flex-shrink: 0;
    }

    .header-right .user-info {
        gap: 8px;
        padding: 6px 10px;
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 12px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .user-info span#currentUser {
        max-width: min(120px, 28vw);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 13px;
        font-weight: 500;
    }

    .header-right .user-info .btn-outline-danger {
        border-color: rgba(248, 113, 113, 0.55);
        color: #fecaca;
        padding: 5px 10px;
        font-size: 12px;
        border-radius: 8px;
        white-space: nowrap;
    }

    .header-right .user-info .btn-outline-danger:hover {
        background: rgba(239, 68, 68, 0.25);
        border-color: #f87171;
        color: #fff;
    }

    .country-selector-dropdown {
        width: auto;
        max-width: min(220px, 46vw);
    }

    .country-selector-btn {
        width: auto;
        max-width: 100%;
        justify-content: center;
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 12px;
        gap: 8px;
    }

    .country-selector-btn span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }

    .country-flag-small {
        width: 28px;
        height: 21px;
    }

    /* Ãœlke listesi: buton solda â€” sola hizalÄ± */
    .header-center .country-dropdown-menu {
        left: 0;
        right: auto;
        transform: translateX(0) translateY(-14px) scale(0.96);
    }

    .header-center .country-dropdown-menu.show {
        transform: translateX(0) translateY(0) scale(1);
    }

    .sidebar-menu-toggle {
        display: inline-flex;
    }

    .sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1040;
        background: rgba(15, 23, 42, 0.55);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .sidebar-backdrop.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(288px, 88vw);
        height: 100vh;
        height: 100dvh;
        z-index: 1050;
        margin: 0;
        padding: calc(72px + env(safe-area-inset-top, 0px)) 0 calc(20px + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
        border-radius: 0;
    }

    .admin-sidebar.show {
        transform: translateX(0);
        box-shadow: 8px 0 32px rgba(0, 0, 0, 0.35);
    }

    .admin-content {
        padding: 16px 14px;
        width: 100%;
    }

    .content-section {
        padding: 18px 14px;
    }

    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .content-header .header-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        float: none;
        text-align: left;
        margin-bottom: 12px;
    }

    .dataTables_wrapper .dataTables_filter input {
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
    }

    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        float: none;
        text-align: center;
        margin-top: 12px;
    }

    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }

    .bulk-account-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bulk-add-header {
        flex-direction: column;
        align-items: stretch;
    }

    .payment-modal {
        align-items: flex-end;
        padding: 0;
    }

    .payment-modal-content {
        width: 100%;
        max-width: none;
        border-radius: 16px 16px 0 0;
        max-height: 92vh;
        max-height: 92dvh;
        overflow-y: auto;
    }

    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-fullscreen-sm-down .modal-body {
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
}

@media (max-width: 575.98px) {
    .swal2-popup {
        width: calc(100vw - 24px) !important;
        max-width: 400px;
        margin: 12px auto !important;
    }

    .login-card {
        min-height: auto;
        border-radius: 16px;
    }

    .login-left,
    .login-right {
        padding: 28px 18px;
    }

    .main-title,
    .country-header .main-title {
        font-size: 26px;
    }

    .login-title {
        font-size: 24px;
    }

    .header-title h1 {
        font-size: 18px;
        line-height: 1.2;
    }

    .header-title span {
        font-size: 12px;
    }

    .admin-header .user-info {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .admin-header .user-info span#currentUser {
        max-width: min(92px, 24vw);
    }

    .stat-content h3 {
        font-size: 24px;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== TÃ¼m KayÄ±tlar / Dashboard tablolarÄ±: Ä°ÅŸlemler sÃ¼tunu (mobil) =====
   Yatay kaydÄ±rmada son sÃ¼tun sabit kalÄ±r; dar ekranda butonlar dikey hizalanÄ±r. */
#allCustomers .table-responsive,
#dashboard .table-responsive {
    position: relative;
}

#allCustomersTable,
#customersTable {
    min-width: 680px;
    margin-bottom: 0;
}

#allCustomersTable thead th:last-child,
#allCustomersTable tbody td:last-child,
#customersTable thead th:last-child,
#customersTable tbody td:last-child {
    position: sticky;
    right: 0;
    z-index: 2;
    vertical-align: middle;
}

#allCustomersTable thead th:last-child,
#customersTable thead th:last-child {
    z-index: 5;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    box-shadow: -6px 0 14px rgba(0, 0, 0, 0.15);
}

#allCustomersTable tbody td:last-child,
#customersTable tbody td:last-child {
    box-shadow: -6px 0 14px rgba(15, 23, 42, 0.1);
}

#allCustomersTable.table-striped tbody > tr:nth-of-type(odd) > td:last-child,
#customersTable.table-striped tbody > tr:nth-of-type(odd) > td:last-child {
    background-color: var(--bs-table-striped-bg, rgba(0, 0, 0, 0.05));
}

#allCustomersTable.table-striped tbody > tr:nth-of-type(even) > td:last-child,
#customersTable.table-striped tbody > tr:nth-of-type(even) > td:last-child {
    background-color: var(--bs-table-bg, #fff);
}

#allCustomersTable.table-hover tbody > tr:hover > td:last-child,
#customersTable.table-hover tbody > tr:hover > td:last-child {
    background-color: var(--bs-table-hover-bg, rgba(0, 0, 0, 0.075)) !important;
}

#allCustomersTable td:last-child .action-buttons,
#customersTable td:last-child .action-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-width: 118px;
}

#allCustomersTable td:last-child .action-btn,
#customersTable td:last-child .action-btn {
    width: 100%;
    justify-content: center;
}

@media (min-width: 992px) {
    #allCustomersTable td:last-child .action-buttons,
    #customersTable td:last-child .action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 5px;
        min-width: 0;
    }

    #allCustomersTable td:last-child .action-btn,
    #customersTable td:last-child .action-btn {
        width: auto;
    }
}

/* ===== Ä°talya Ã–deme ===== */
.italy-odeme-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.italy-odeme-toolbar .italy-odeme-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 12px;
    min-width: 100px;
}

.italy-odeme-stat-label {
    font-size: 0.75rem;
    color: #047857;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.italy-odeme-stat strong {
    font-size: 1.5rem;
    line-height: 1.2;
    color: #065f46;
}

.italy-odeme-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: min(72vh, 820px);
    overflow-y: auto;
    padding: 1rem 1.25rem 1.25rem;
    scroll-behavior: smooth;
}

.italy-odeme-card-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.2s ease;
}

.italy-odeme-card-item:hover {
    border-color: #99f6e4;
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.1);
}

.italy-odeme-card-item.italy-odeme-row-removing {
    opacity: 0.5;
}

.italy-odeme-card-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.italy-odeme-card-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.italy-odeme-card-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.italy-odeme-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.italy-odeme-id {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: #0f766e;
    background: #ccfbf1;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.875rem;
}

.italy-odeme-user-badge {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: #7c2d12;
    background: #ffedd5;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.875rem;
}

.italy-odeme-name {
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
}

.italy-odeme-yancilar-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
    font-size: 0.875rem;
}

.italy-odeme-link {
    color: #2563eb;
    text-decoration: none;
    word-break: break-all;
    font-size: 0.9rem;
}

.italy-odeme-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.italy-odeme-countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-size: 0.78rem;
    border: 1px solid transparent;
}

.italy-odeme-countdown.time-ok {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.italy-odeme-countdown.time-warn {
    background: #fef3c7;
    color: #b45309;
    border-color: #fde68a;
}

.italy-odeme-countdown.time-expired {
    background: #f1f5f9;
    color: #64748b;
    border-color: #e2e8f0;
}

.italy-odeme-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.italy-odeme-card-actions .btn {
    flex: 0 0 auto;
    width: auto;
    padding: 0.28rem 0.6rem;
    font-size: 0.78rem;
    line-height: 1.25;
}

.italy-odeme-card-actions .btn i {
    font-size: 0.72rem;
}

.italy-odeme-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #64748b;
}

.italy-odeme-empty i {
    font-size: 2.5rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.italy-odeme-empty p {
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
    color: #475569;
}

@media (max-width: 767.98px) {
    .italy-odeme-toolbar {
        width: 100%;
        justify-content: space-between;
    }

    .italy-odeme-feed {
        max-height: 65vh;
        padding: 0.75rem;
    }
}

/* MÃ¼ÅŸteri kaydÄ± durumu â€” kart seÃ§ici (Greece vb.) */
.registration-status-block {
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.35rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.registration-status-header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}

.registration-status-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.registration-status-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.registration-status-desc {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.15rem;
    line-height: 1.4;
}

.registration-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.registration-choice-card {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.registration-choice-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.registration-choice-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 1rem 1.1rem 1rem 1rem;
    min-height: 100%;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.registration-choice-card:hover .registration-choice-inner {
    border-color: #93c5fd;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.12);
}

.registration-choice-card input:checked + .registration-choice-inner {
    border-color: #2563eb;
    background: linear-gradient(160deg, #eff6ff 0%, #f8fafc 100%);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.18);
}

.registration-choice-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.95rem;
}

.registration-choice-icon--none {
    background: #f1f5f9;
    color: #64748b;
}

.registration-choice-icon--exists {
    background: #ecfdf5;
    color: #059669;
}

.registration-choice-card input:checked + .registration-choice-inner .registration-choice-icon--none {
    background: #dbeafe;
    color: #1d4ed8;
}

.registration-choice-card input:checked + .registration-choice-inner .registration-choice-icon--exists {
    background: #d1fae5;
    color: #047857;
}

.registration-choice-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

.registration-choice-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.35;
}

.registration-choice-card input:checked + .registration-choice-inner .registration-choice-hint {
    color: #64748b;
}

.registration-choice-check {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 0.65rem;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.registration-choice-card input:checked ~ .registration-choice-check {
    opacity: 1;
    transform: scale(1);
}

.registration-number-panel {
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    animation: registrationPanelIn 0.25s ease;
}

.registration-number-panel .form-group {
    margin-bottom: 0;
}

.registration-number-panel label {
    font-weight: 600;
    color: #166534;
}

.registration-number-panel .form-control {
    border-color: #86efac;
    background: #fff;
}

.registration-number-panel .form-control:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

@keyframes registrationPanelIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .registration-choice-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Greece â€” TÃ¼m KayÄ±tlar aile bilgisi ===== */
.family-info-cell {
    min-width: 120px;
    vertical-align: middle;
}

.family-info-badge {
    display: inline-block;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
}

.family-info-individual {
    background: #e9ecef;
    color: #495057;
}

.family-info-aile {
    background: #e7f1ff;
    color: #0d6efd;
    border: 1px solid #cfe2ff;
}

.family-info-aile-muted {
    background: #fff3cd;
    color: #856404;
}

.family-info-trigger {
    display: inline-block;
    cursor: help;
}

.family-info-trigger-group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
}

.family-info-member-link {
    display: inline-block;
    cursor: pointer;
}

.family-info-popover {
    position: fixed;
    z-index: 10050;
    display: none;
    min-width: 220px;
    max-width: 320px;
    max-height: 280px;
    overflow-y: auto;
    padding: 0.65rem 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    font-size: 0.8125rem;
    line-height: 1.45;
    pointer-events: auto;
}

.family-info-popover-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #eee;
    color: #333;
}

.family-info-popover-member {
    padding: 0.4rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.family-info-popover-member:last-child {
    border-bottom: none;
}

.family-info-popover-member strong {
    display: block;
    margin-bottom: 0.15rem;
    color: #212529;
}

.family-info-popover-empty {
    color: #6c757d;
    font-style: italic;
}

/* ===== NAVBAR — VFS KAYIT LİNKİ ===== */
.header-vfs-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px 10px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(59, 130, 246, 0.22) 55%, rgba(139, 92, 246, 0.22) 100%);
    border: 2px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s ease,
                box-shadow 0.35s ease;
    white-space: nowrap;
}

.header-vfs-link__glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.18) 50%, transparent 65%);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
    pointer-events: none;
}

.header-vfs-link:hover .header-vfs-link__glow {
    transform: translateX(120%);
}

.header-vfs-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(59, 130, 246, 0.28), 0 0 24px rgba(16, 185, 129, 0.15);
}

.header-vfs-link:active {
    transform: translateY(0);
}

.header-vfs-link__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(145deg, #10b981 0%, #3b82f6 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
    flex-shrink: 0;
}

.header-vfs-link__icon i {
    font-size: 15px;
    color: #fff;
}

.header-vfs-link__label {
    line-height: 1;
}

/* ===== VFS KAYIT SAYFASI ===== */
.vfs-kayit-page {
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #1f2937;
    position: relative;
    overflow-x: hidden;
}

.vfs-kayit-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.vfs-kayit-bg__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    animation: vfs-orb-float 14s ease-in-out infinite;
}

.vfs-kayit-bg__orb--1 {
    width: 320px;
    height: 320px;
    background: #3b82f6;
    top: -80px;
    right: -60px;
}

.vfs-kayit-bg__orb--2 {
    width: 280px;
    height: 280px;
    background: #8b5cf6;
    bottom: 10%;
    left: -80px;
    animation-delay: -4s;
}

.vfs-kayit-bg__orb--3 {
    width: 200px;
    height: 200px;
    background: #10b981;
    bottom: -40px;
    right: 20%;
    animation-delay: -8s;
}

@keyframes vfs-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(18px, -22px) scale(1.06); }
}

.vfs-kayit-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.92) 0%, rgba(55, 65, 81, 0.88) 100%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.vfs-kayit-topbar__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.vfs-kayit-topbar__back:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.vfs-kayit-topbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.vfs-kayit-topbar__logo {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.vfs-kayit-topbar__logo i {
    font-size: 16px;
    color: #fff;
}

.vfs-kayit-main {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 73px);
    padding: 32px 20px 48px;
}

.vfs-kayit-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 32px 28px 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18),
                0 0 0 1px rgba(255, 255, 255, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.95);
    overflow: hidden;
}

.vfs-kayit-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #10b981, #3b82f6);
    background-size: 200% 100%;
    animation: gradient-shift 4s ease infinite;
}

.vfs-kayit-hero {
    text-align: center;
    margin-bottom: 28px;
}

.vfs-kayit-hero__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(145deg, #3b82f6 0%, #8b5cf6 50%, #6366f1 100%);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.35);
}

.vfs-kayit-hero__icon i {
    font-size: 32px;
    color: #fff;
}

.vfs-kayit-hero h1 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.vfs-kayit-hero p {
    margin: 0;
    font-size: 0.92rem;
    color: #6b7280;
    line-height: 1.5;
}

.vfs-kayit-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.vfs-field {
    border: none;
    margin: 0;
    padding: 0;
}

.vfs-field__label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 10px;
}

.vfs-field__label i {
    color: #3b82f6;
    font-size: 0.9rem;
}

.vfs-field__badge {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: #7c3aed;
    background: rgba(139, 92, 246, 0.12);
    padding: 3px 8px;
    border-radius: 999px;
}

.vfs-country-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.vfs-country-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    font-size: 0.92rem;
    font-weight: 600;
    color: #374151;
}

.vfs-country-chip img {
    width: 36px;
    height: 27px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    transition: transform 0.28s ease;
}

.vfs-country-chip:hover {
    border-color: #93c5fd;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.12);
}

.vfs-country-chip:hover img {
    transform: scale(1.08);
}

.vfs-country-chip.is-active {
    border-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2), inset 0 0 0 1px rgba(59, 130, 246, 0.15);
    color: #1d4ed8;
}

.vfs-country-chip--wide {
    grid-column: 1 / -1;
    justify-content: center;
}

.vfs-mode-field {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, max-height 0.35s ease, margin 0.28s ease;
}

.vfs-mode-field.is-visible {
    opacity: 1;
    max-height: 120px;
    pointer-events: auto;
}

.vfs-mode-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.vfs-mode-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.vfs-mode-btn i {
    font-size: 0.95rem;
}

.vfs-mode-btn:hover {
    border-color: #93c5fd;
    color: #3b82f6;
    background: #f8fafc;
}

.vfs-mode-btn.is-active {
    border-color: #3b82f6;
    color: #1d4ed8;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.15);
}

.vfs-bulk-fields {
    display: none;
    flex-direction: column;
    gap: 18px;
}

.vfs-bulk-fields.is-visible {
    display: flex;
}

.vfs-textarea {
    width: 100%;
    min-height: 140px;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    font-size: 0.9rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    line-height: 1.55;
    color: #1f2937;
    background: #fff;
    resize: vertical;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.vfs-textarea::placeholder {
    color: #9ca3af;
    font-family: inherit;
}

.vfs-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.vfs-field__hint {
    margin: 8px 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
}

.vfs-field__badge--count {
    color: #0369a1;
    background: rgba(14, 165, 233, 0.12);
}

.vfs-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.vfs-input-wrap__icon {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 15px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.vfs-input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    font-size: 0.95rem;
    color: #1f2937;
    background: #fff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.vfs-input::placeholder {
    color: #9ca3af;
}

.vfs-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.vfs-input-wrap:focus-within .vfs-input-wrap__icon {
    color: #3b82f6;
}

.vfs-passport-field {
    opacity: 0;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.28s ease, max-height 0.35s ease, transform 0.28s ease, margin 0.28s ease;
}

.vfs-passport-field.is-visible {
    opacity: 1;
    max-height: 220px;
    margin: 0;
    transform: translateY(0);
    pointer-events: auto;
}

.vfs-submit {
    position: relative;
    width: 100%;
    margin-top: 4px;
    padding: 16px 24px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 45%, #8b5cf6 100%);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    overflow: hidden;
}

.vfs-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(99, 102, 241, 0.45);
}

.vfs-submit:active:not(:disabled) {
    transform: translateY(0);
}

.vfs-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.vfs-submit__content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity 0.2s ease;
}

.vfs-submit__loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    font-size: 1.2rem;
}

.vfs-submit.is-loading .vfs-submit__content {
    opacity: 0;
}

.vfs-submit.is-loading .vfs-submit__loader {
    opacity: 1;
}

@media (max-width: 768px) {
    .header-vfs-link__label {
        display: none;
    }

    .header-vfs-link {
        padding: 8px 10px;
    }

    .vfs-kayit-topbar {
        padding: 14px 16px;
    }

    .vfs-kayit-topbar__back span {
        display: none;
    }

    .vfs-kayit-card {
        padding: 24px 18px 22px;
        border-radius: 20px;
        max-width: 100%;
    }

    .vfs-kayit-hero h1 {
        font-size: 1.4rem;
    }
}

.country-table-select-all,
.country-table-row-checkbox {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #2563eb;
}

.country-table-selection-header,
.country-table-selection-cell {
    width: 46px;
    min-width: 46px;
    text-align: center;
    vertical-align: middle;
}

.country-bulk-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
