/* ===== 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;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.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%;
}

/* 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);
}

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

.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;
}

.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;
    background: #1f2937;
    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;
}

/* Main Content */
.admin-content {
    flex: 1;
    background: #f8fafc;
    padding: 30px;
    margin-left: 250px;
    min-height: calc(100vh - 80px);
    width: calc(100% - 250px);
    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-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;
}

/* 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;
    }
    
    .admin-header {
        flex-wrap: wrap;
        padding: 15px 20px;
    }
    
    .header-left {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .header-logo-flag {
        width: 50px;
        height: 37px;
        margin-right: 12px;
    }
    
    .header-center {
        width: 100%;
        margin: 10px 0;
        order: 3;
    }
    
    .header-right {
        width: 100%;
        justify-content: flex-end;
    }
    
    .country-selector-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        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-sidebar {
        width: 100%;
        min-height: auto;
        position: fixed;
        top: 80px;
        left: -100%;
        z-index: 1000;
        transition: left 0.3s ease;
    }
    
    .admin-sidebar.show {
        left: 0;
    }
    
    .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;
}

@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;
}
