/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Modern Fixed Header Solution */
html {
    scroll-padding-top: 64px; /* Header yüksekliği */
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
    padding-top: 64px; /* Header için body padding */
}

/* Container */
.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    max-width: none;
}

/* Header Stili */
.top-header {
    background-color: #ffffff;
    height: 64px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #4285f4;
    text-decoration: none;
    font-size: 18px;
}

.logo i {
    margin-right: 8px;
    font-size: 20px;
}

.logo-img {
    height: 40px;
    width: 200px;
    margin-right: 10px;
    object-fit: contain;
}

.search-container {
    flex: 1;
    padding: 0 20px;
}

.search-box {
    background-color: #f5f5f5;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    max-width: 300px;
}

.search-box i {
    color: #757575;
    margin-right: 10px;
}

.search-box input {
    border: none;
    background: transparent;
    padding: 8px 0;
    width: 100%;
    outline: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification {
    margin-right: 20px;
}

.notification a {
    color: #5f6368;
    font-size: 18px;
}

.profile-icon {
    display: flex;
    text-decoration: none;
}

.avatar {
    width: 36px;
    height: 36px;
    background-color: #4285f4;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Sidebar Stili */
.sidebar {
    width: 240px;
    background-color: #fff;
    border-right: 1px solid #e0e0e0;
    position: fixed;
    height: calc(100vh - 64px);
    top: 64px;
    overflow-y: auto;
}

.sidebar-nav ul {
    list-style: none;
    padding: 10px 0;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    color: #5f6368;
    text-decoration: none;
    transition: background-color 0.2s;
    border-radius: 0 25px 25px 0;
    margin-right: 10px;
}

.sidebar-nav li a:hover {
    background-color: #f5f5f5;
    color: #4285f4;
}

.sidebar-nav li a.active {
    background-color: #e8f0fe;
    color: #4285f4;
    font-weight: 500;
}

.sidebar-nav li a i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.logout-item {
    margin-top: 20px;
}

.logout-item a {
    color: #d93025 !important;
}

.logout-item a:hover {
    background-color: #fee8e7;
}

/* Content Stili */
.content {
    flex: 1;
    padding: 20px;
    margin-left: 240px;
    padding-top: 49px; /* Header yüksekliği + padding */
}

/* Dashboard Başlık */
.dashboard-header {
    margin-bottom: 24px;
}

.dashboard-header h1 {
    font-size: 24px;
    color: #202124;
    font-weight: 500;
}

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

.stat-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.stat-card-header {
    color: #5f6368;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.stat-card-number {
    font-size: 32px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 10px;
}

.stat-card-trend {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.stat-card-trend.positive {
    color: #0f9d58;
}

.stat-card-trend.neutral {
    color: #f9ab00;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.blue {
    background-color: #e8f0fe;
    color: #4285f4;
}

.green {
    background-color: #e6f4ea;
    color: #0f9d58;
}

.yellow {
    background-color: #fef7e0;
    color: #f9ab00;
}

.red {
    background-color: #fce8e6;
    color: #d93025;
}

/* Tablo Stili */
.table-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.table-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.table-header h3 {
    font-size: 16px;
    color: #202124;
    font-weight: 500;
}

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

.data-table th,
.data-table td {
    text-align: left;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f3f4;
}

.data-table th {
    font-weight: 500;
    color: #5f6368;
    font-size: 13px;
}

.data-table tbody tr:hover {
    background-color: #f8f9fa;
}

.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
}

.status-active {
    background-color: #e6f4ea;
    color: #0f9d58;
}

.status-pending {
    background-color: #fef7e0;
    color: #f9ab00;
}

.status-draft {
    background-color: #f1f3f4;
    color: #5f6368;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.edit-btn {
    background-color: #e8f0fe;
    color: #4285f4;
}

.edit-btn:hover {
    background-color: #d2e3fc;
}

.delete-btn {
    background-color: #fce8e6;
    color: #d93025;
}

.delete-btn:hover {
    background-color: #fad2cf;
}

/* Login Sayfası */
.login-container {
    width: 400px;
    margin: 100px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #202124;
}

.login-container p {
    text-align: center;
    margin-bottom: 30px;
    color: #5f6368;
}

/* Form Stilleri */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #202124;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 14px;
    transition: border 0.2s;
}

.form-control:focus {
    border-color: #4285f4;
    outline: none;
}

.form-control.is-invalid {
    border-color: #d93025;
}

.invalid-feedback {
    color: #d93025;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    background-color: #4285f4;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: #3367d6;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-danger {
    background-color: #d93025;
}

.btn-danger:hover {
    background-color: #c5221f;
}

/* Alert Mesajları */
.alert {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
}

.alert-success {
    background-color: #e6f4ea;
    border: 1px solid #ceead6;
    color: #0f9d58;
}

.alert-danger {
    background-color: #fce8e6;
    border: 1px solid #fad2cf;
    color: #d93025;
}

/* Profil Sayfası */
.profile-content,
.settings-content {
    max-width: 800px;
}

/* Card Bileşeni */
.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin-bottom: 24px;
}

.card h3 {
    margin-bottom: 20px;
    color: #202124;
    font-weight: 500;
    font-size: 18px;
}

/* Log Viewer */
.log-container {
    background-color: #202124;
    color: #e8eaed;
    font-family: 'Courier New', monospace;
    padding: 16px;
    border-radius: 8px;
    white-space: pre-wrap;
    max-height: 500px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.5;
}

.log-tabs {
    margin-bottom: 16px;
    display: flex;
}

.log-tabs a {
    padding: 8px 16px;
    background-color: #f1f3f4;
    margin-right: 8px;
    border-radius: 20px;
    text-decoration: none;
    color: #5f6368;
    font-size: 14px;
    transition: all 0.2s;
}

.log-tabs a.active {
    background-color: #4285f4;
    color: #fff;
}

.log-actions {
    margin: 16px 0;
}

/* Responsive Tasarım - Mobil Uyumlu */
@media (max-width: 1200px) {
    .content {
        padding: 15px;
    }
    
    .stats-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-gap: 15px;
    }
}

@media (max-width: 991px) {
    .sidebar {
        width: 60px;
        overflow: visible;
    }
    
    .sidebar-nav li a span {
        display: none;
    }
    
    .sidebar-nav li a i {
        margin-right: 0;
        font-size: 18px;
        text-align: center;
        width: 100%;
    }
    
    .sidebar-nav li a {
        justify-content: center;
        padding: 12px 10px;
        border-radius: 0;
        margin-right: 0;
    }
    
    .content {
        margin-left: 60px;
    }
    
    .top-header {
        padding: 0 15px;
    }
    
    .logo span {
        display: none;
    }
    
    .stats-cards {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .top-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 64px;
        padding: 0 15px;
        z-index: 1001;
    }
    
    .sidebar {
        position: fixed;
        top: 64px;
        left: -240px;
        width: 240px;
        height: calc(100vh - 64px);
        z-index: 1000;
        transition: left 0.3s ease;
        background-color: #fff;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    .sidebar.mobile-open {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: block !important;
    }
    
    .sidebar-nav li a {
        padding: 8px 20px;
        border-radius: 0;
        margin-right: 0;
        justify-content: flex-start;
        text-align: left;
    }
    
    .sidebar-nav li a span {
        display: inline;
        text-align: left;
    }
    
    .sidebar-nav li a i {
        margin-right: 15px;
        width: 20px;
        text-align: left;
        font-size: 16px;
    }
    
    .content {
        margin-left: 0;
        padding: 15px;
        padding-top: 89px; /* Header yüksekliği + padding - mobil için daha da artırıldı */
        width: 100%;
        min-height: calc(100vh - 64px);
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
        grid-gap: 10px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-card-number {
        font-size: 24px;
    }
    
    .data-table {
        font-size: 14px;
    }
    
    .data-table th,
    .data-table td {
        padding: 8px 10px;
    }
    
    .table-card {
        overflow-x: auto;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 5px;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
    
/* Simple Language Selector - Radikal Yeni Tasarım */
.simple-language-selector {
    margin-right: 50px;
}

.simple-language-selector select {
    background: #fff;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    color: #495057;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    min-width: 150px;
    height: 44px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.simple-language-selector select:hover {
    border-color: #4285f4;
    background: #f8f9fa;
}

.simple-language-selector select:focus {
    border-color: #4285f4;
    background: #e8f0fe;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

/* Mobil responsive */
@media (max-width: 768px) {
    .simple-language-selector {
        margin-right: 10px;
    }
    
    .simple-language-selector select {
        padding: 6px 8px;
        font-size: 12px;
        min-width: 90px;
        height: 32px;
    }
}

@media (max-width: 576px) {
    .simple-language-selector select {
        padding: 4px 6px;
        font-size: 11px;
        min-width: 70px;
        height: 28px;
    }
}

/* Mobile menu button - Yenilendi */
.mobile-menu-btn {
    display: none;
    background: #4285f4;
    border: none;
    font-size: 16px;
    color: white;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    position: relative;
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    background: #3367d6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.mobile-menu-btn:active {
    background: #2a56c6;
    transform: scale(0.95);
}

.mobile-menu-btn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Mobil cihazlarda menü butonunu göster */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex !important;
    }
}
    
    .search-container {
        display: none;
    }
    
    /* Mobile overlay */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 999;
    }
    
    .mobile-overlay.active {
        display: block;
    }
}

@media (max-width: 576px) {
    .login-container {
        width: 95%;
        padding: 20px 15px;
        margin: 50px auto;
    }
    
    .top-header {
        padding: 8px 10px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .logo i {
        font-size: 18px;
    }
    
    .logo-img {
        height: 36px;
        margin-right: 8px;
    }
    
    .content {
        padding: 10px;
    }
    
    .stat-card {
        padding: 12px;
    }
    
    .stat-card-number {
        font-size: 20px;
    }
    
    .stat-card-header {
        font-size: 11px;
    }
    
    .dashboard-header h1 {
        font-size: 20px;
    }
    
    .data-table {
        font-size: 12px;
    }
    
    .data-table th,
    .data-table td {
        padding: 6px 8px;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .form-control {
        font-size: 16px; /* iOS zoom önleme */
    }
    
    .card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .card h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        text-align: center;
    }
    
    .icon-circle {
        position: static;
        margin: 10px auto 0;
    }
    
    .table-card {
        margin: 0 -10px;
    }
    
    .data-table th,
    .data-table td {
        padding: 4px 6px;
        font-size: 11px;
    }
    
    .alert {
        padding: 10px;
        font-size: 13px;
    }
}

/* Tablet landscape optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }
    
    .content {
        margin-left: 200px;
    }
    
    .stats-cards {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}


/* Dashboard Styles */
/* Modern Dashboard Stil */
:root {
    --primary-color: #4e73df;
    --secondary-color: #2ecc71;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --info-color: #36b9cc;
    --light-color: #f8f9fc;
    --dark-color: #5a5c69;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --card-radius: 0.35rem;
    --transition-speed: 0.3s;
}

/* Main Layout */
.dashboard-container {
    padding: 0.5rem;
    padding-top: 0;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fc;
}

.dashboard-title {
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.75rem;
    color: #5a5c69;
}

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

.refresh-stats {
    background-color: transparent;
    border: none;
    color: #4e73df;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.refresh-stats:hover {
    color: #2e59d9;
}

.last-update-info {
    font-size: 0.75rem;
    color: #858796;
}

/* Search Engines Banner */
.search-engines {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1.25rem;
    background-color: white;
    border-radius: var(--card-radius);
    box-shadow: 0 0.15rem 1.75rem 0 var(--shadow-color);
    margin-bottom: 1.5rem;
}

.search-engines img {
    height: 42px;
    object-fit: contain;
    transition: transform var(--transition-speed);
    cursor: pointer;
}

.search-engines img:hover {
    transform: scale(1.1);
}

/* Card Rows */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.stats-row-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Stat Cards */
.stat-card {
    background-color: white;
    border-radius: var(--card-radius);
    box-shadow: 0 0.15rem 1.75rem 0 var(--shadow-color);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-speed);
}

.stat-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 2rem 0 rgba(0, 0, 0, 0.15);
}

.stat-card-header {
    padding: 0.75rem 1.25rem;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
}

.stat-card-title {
    margin-bottom: 0;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
}

.stat-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.stat-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.stat-card-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
}

.stat-card-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.stat-card-trend {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.stat-card-trend.positive {
    color: #90ee90;
    text-shadow: 0 0 5px #90ee90;
}

.stat-card-trend.negative {
    color: #ff6b6b;
    text-shadow: 0 0 5px #ff6b6b;
}

.stat-card-trend.neutral {
    color: rgba(255, 255, 255, 0.8);
}

.stat-card-trend i {
    margin-right: 0.25rem;
}

/* Banner Cards - Enhanced with Animations */
.banner-card {
    padding: 1rem;
    border-radius: var(--card-radius);
    color: white !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0.15rem 1.75rem 0 var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    animation: cardFloat 6s ease-in-out infinite;
}

.banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.banner-card:hover::before {
    left: 100%;
}

.banner-card:hover {
    transform: translateY(-0.5rem) scale(1.02);
    box-shadow: 0 1rem 3rem 0 rgba(0, 0, 0, 0.3);
    animation-play-state: paused;
}

.banner-card-content {
    z-index: 1;
}

.banner-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    animation: numberPulse 2s ease-in-out infinite;
}

.banner-card-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
    animation: textGlow 3s ease-in-out infinite alternate;
}

.banner-card-icon {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 2rem;
    z-index: 1;
    animation: iconRotate 8s linear infinite;
    backdrop-filter: blur(10px);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-success {
    background-color: var(--secondary-color) !important;
}

.bg-info {
    background-color: var(--info-color) !important;
}

.bg-warning {
    background-color: var(--warning-color) !important;
}

.bg-danger {
    background-color: var(--danger-color) !important;
}

/* Progress Card */
.progress-card {
    background-color: white;
    border-radius: var(--card-radius);
    box-shadow: 0 0.15rem 1.75rem 0 var(--shadow-color);
    overflow: hidden;
    padding: 1.25rem;
    transition: transform var(--transition-speed);
}

.progress-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 2rem 0 rgba(0, 0, 0, 0.15);
}

.progress-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #5a5c69;
}

.progress-item {
    margin-bottom: 1rem;
}

.progress-item:last-child {
    margin-bottom: 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.progress-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #5a5c69;
}

.progress-percentage {
    font-size: 0.8rem;
    color: #858796;
}

.progress-bar-bg {
    height: 0.75rem;
    background-color: #eaecf4;
    border-radius: 1rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 1rem;
}

/* Chart Cards */
.chart-card {
    background-color: white;
    border-radius: var(--card-radius);
    box-shadow: 0 0.15rem 1.75rem 0 var(--shadow-color);
    overflow: hidden;
    padding: 0.8rem;
    transition: transform var(--transition-speed);
}

.chart-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 2rem 0 rgba(0, 0, 0, 0.15);
}

.chart-card-header {
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #e3e6f0;
}

.chart-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #5a5c69;
    margin-bottom: 0;
}

.chart-card-body {
    position: relative;
    height: 12rem;
}

/* Dashboard Loading Animation - renamed to avoid conflicts */
.dashboard-loading {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 0.25rem solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #4e73df;
    animation: spin 1s ease-in-out infinite;
}

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

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

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

/* Dashboard Responsive Design */
@media (max-width: 1200px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-row, .stats-row-large {
        grid-template-columns: 1fr;
    }
    
    .search-engines {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .dashboard-container {
        padding: 0.25rem;
    }
}

/* Google Index Page Styles */
.google-brand {
    color: #dc3545;
    font-weight: 600;
}

.site-selection-guide {
    text-align: center;
    padding: 30px 20px;
}

.site-selection-guide i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #17a2b8;
}

.site-selection-guide h4 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #343a40;
    font-weight: 600;
}

.site-selection-guide p {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 1rem;
}

.tab-container {
    margin-bottom: 20px;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #dee2e6;
}

.tab-button {
    padding: 10px 15px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-bottom: none;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    cursor: pointer;
    margin-right: 5px;
    margin-bottom: -1px;
    color: #495057;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tab-button:hover {
    background-color: #e9ecef;
}

.tab-button.active {
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    color: #dc3545;
    font-weight: 600;
}

.tab-content {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-top: none;
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

#loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

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

.spinner-circle {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #dc3545;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-text {
    color: white;
    font-size: 18px;
}

/* Duplicate keyframes removed - using the one at line 1209 */

/* Loading Modal Styles */
.loading {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
    flex-shrink: 0;
}

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

.loading-text p {
    margin: 10px 0;
    color: #333;
    font-size: 14px;
}

#loadingMessage {
    font-weight: 500;
    color: #2c3e50;
}

/* IndexNow Index Page Styles */
.indexnow-brand {
    color: #4a89dc;
    font-weight: 600;
}

.btn-primary {
    color: #fff;
    background-color: #4a89dc;
    border-color: #4a89dc;
}

.btn-primary:hover {
    background-color: #3a79cc;
    border-color: #3a79cc;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* Index Status Page Styles */
.stats-card {
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 140px;
    position: relative;
}

.stats-card h4 {
    margin: 0;
    font-size: 16px;
}

.stats-card .number {
    font-size: 32px;
    font-weight: 700;
}

.stats-card .icon {
    font-size: 38px;
    opacity: 0.4;
    position: absolute;
    top: 20px;
    right: 20px;
}

.retry-btn {
    margin-top: 5px;
    white-space: nowrap;
    position: absolute;
    bottom: 15px;
    left: 20px;
}

.stats-card .content-area {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: calc(100% - 60px);
}

.stats-card .main-content {
    flex-grow: 1;
}

.stats-card .button-area {
    margin-top: auto;
    padding-top: 10px;
}

.bg-primary {
    background-color: #4a89dc !important;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.bg-info {
    background-color: #17a2b8 !important;
}

.bg-purple {
    background-color: #6f42c1 !important;
}

.bg-orange {
    background-color: #fd7e14 !important;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-3 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-success {
    background-color: #28a745;
    color: #fff;
}

.btn-success:hover {
    background-color: #218838;
}

.btn-danger {
    background-color: #dc3545;
    color: #fff;
}

.btn-danger:hover {
    background-color: #c82333;
}

.btn-warning {
    background-color: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background-color: #e0a800;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.btn-info {
    background-color: #17a2b8;
    color: #fff;
}

.btn-info:hover {
    background-color: #138496;
}

.btn-light {
    color: #212529;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-light:hover {
    color: #212529;
    background-color: #e2e6ea;
    border-color: #dae0e5;
}

.progress-container {
    margin-top: 15px;
    width: 100%;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}

.progress-bar {
    height: 20px;
    background-color: #4a89dc;
    border-radius: 0.25rem;
    text-align: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    line-height: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.data-list {
    margin-top: 15px;
}

.data-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #dee2e6;
}

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

.data-label {
    font-weight: 500;
}

.data-value {
    font-family: 'Consolas', monospace;
}

.detail-box {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
}

.stats-box {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 15px;
    height: 100%;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #dee2e6;
}

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

.stat-label {
    font-weight: 500;
    color: #495057;
}

.stat-value {
    font-weight: 600;
}

.site-url-tag {
    display: inline-block;
    background-color: #e9ecef;
    color: #495057;
    padding: 2px 10px;
    border-radius: 30px;
    font-size: 14px;
    margin-left: 10px;
    font-weight: normal;
    vertical-align: middle;
}

.site-url-tag a {
    color: #4a89dc;
    text-decoration: none;
}

.site-url-tag a:hover {
    text-decoration: underline;
}

.url-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
    color: #333;
}

.url-table th, 
.url-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.url-table th {
    background-color: #f8fafc;
    font-weight: 600;
}

.url-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.url-table tr:hover {
    background-color: #f1f4f8;
}

.url-cell {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.url-status-success {
    color: #28a745;
    font-weight: 600;
}

.url-status-failed {
    color: #dc3545;
    font-weight: 600;
}

.url-status-pending, .url-status-queued {
    color: #ffc107;
    font-weight: 600;
}

.url-status-running {
    color: #17a2b8;
    font-weight: 600;
}

.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #e0a800 !important;
}

.text-info {
    color: #17a2b8 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-muted {
    color: #6c757d !important;
}

.text-center {
    text-align: center !important;
}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 0;
}

.pagination li {
    margin: 0 2px;
}

.pagination .page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #4a89dc;
    background-color: #fff;
    border: 1px solid #dee2e6;
    text-decoration: none;
}

.pagination .page-link:hover {
    z-index: 2;
    color: #2a5ca8;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.pagination .active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #4a89dc;
    border-color: #4a89dc;
}

.pagination .disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6;
}

.search-form {
    display: flex;
    margin-bottom: 15px;
}

.search-form .form-control {
    flex: 1;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ced4da;
    border-radius: 4px 0 0 4px;
}

.search-form .btn {
    border-radius: 0 4px 4px 0;
}

.log-container {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 15px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
    color: #333333;
}

.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 0.15em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.empty-state-container {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-top: 20px;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 24px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
}

.empty-state-description {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 10px;
    line-height: 1.5;
}

.empty-state-note {
    font-size: 14px;
    color: #868e96;
    margin-bottom: 0;
    line-height: 1.4;
}

.card-header {
    padding: 1rem 1.25rem;
    margin-bottom: 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.form-select {
    display: block;
    width: 100%;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    appearance: none;
}

.form-select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.site-selector {
    margin-bottom: 0;
    display: block;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.site-selector label {
    font-weight: bold;
    margin-right: 10px;
    min-width: 100px;
}

.site-selector select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.site-selector select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.site-selector .btn {
    margin-left: 10px;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Index Status Page Table Responsive */
.url-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
    color: #333;
    min-width: 800px;
}

/* API Quota Card Table Responsive */
.api-quota-card .table-responsive {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.api-quota-card table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    font-size: 13px;
    table-layout: auto;
}

/* Mobil responsive düzenlemeler */
@media (max-width: 768px) {
    .table-responsive {
        margin: 0 -15px;
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid #e9ecef;
        border-bottom: 1px solid #e9ecef;
    }
    
    .url-table {
        min-width: 1000px;
        font-size: 12px;
    }
    
    .url-table th,
    .url-table td {
        padding: 8px 10px;
        white-space: nowrap;
    }
    
    .api-quota-card .table-responsive {
        margin: 0 -15px;
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid #e9ecef;
        border-bottom: 1px solid #e9ecef;
    }
    
    .api-quota-card table {
        min-width: 1100px;
        font-size: 12px;
    }
    
    .api-quota-card table th,
    .api-quota-card table td {
        padding: 8px 10px;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .url-table {
        min-width: 1200px;
        font-size: 11px;
    }
    
    .url-table th,
    .url-table td {
        padding: 6px 8px;
    }
    
    .api-quota-card table {
        min-width: 1300px;
        font-size: 11px;
    }
    
    .api-quota-card table th,
    .api-quota-card table td {
        padding: 6px 8px;
    }
}

.meta-info {
    font-size: 12px;
    color: #6c757d;
    margin-top: 20px;
    text-align: right;
    border-top: 1px solid #dee2e6;
    padding-top: 10px;
}

.session-info {
    display: flex;
    justify-content: space-between;
    font-style: italic;
}

.timestamp {
    font-size: 12px;
    color: #666;
    text-align: right;
    margin-top: 10px;
}

/* API Settings Page Styles */
.tab-buttons {
    display: flex;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    border-bottom: 1px solid #e9ecef;
}

.tab-button {
    padding: 10px 20px;
    background-color: transparent;
    border: none;
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.tab-button:hover {
    background-color: #f8f9fa;
    color: #212529;
    text-decoration: none;
}

.tab-button.active {
    background-color: #4a89dc;
    color: white;
}

.btn-action-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* API Düzenle Page Styles */
.api-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.api-table th,
.api-table td {
    padding: 10px 12px;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.api-table th {
    background-color: #f8f9fa;
    font-weight: 500;
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}

.api-table tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.api-table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.api-info {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #3498db;
}

.api-info-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.api-info-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.profile-details {
    display: flex;
    flex-wrap: wrap;
    margin: -8px;
}

.profile-details .info-item {
    flex: 1 0 calc(33.333% - 16px);
    margin: 4px;
    min-width: 200px;
}

.profile-details .info-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-details .info-value {
    background-color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-badge {
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.status-active {
    background-color: #2ecc71;
    color: white;
}

.status-inactive {
    background-color: #95a5a6;
    color: white;
}

.btn-container {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.badge-success {
    background-color: #2ecc71;
    color: white;
}

.badge-secondary {
    background-color: #95a5a6;
    color: white;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-header h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.d-flex {
    display: flex !important;
}

.gap-1 {
    gap: 0.25rem !important;
}

/* Proxy Management Page Styles */
.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.page-desc {
    color: #6c757d;
    margin-bottom: 20px;
}

.stats-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
}

.stats-card {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    padding: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #fff;
    overflow: hidden;
    animation: cardFloat 6s ease-in-out infinite;
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.stats-card:hover::before {
    left: 100%;
}

.stats-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    animation-play-state: paused;
}

.stats-card h3 {
    font-size: 28px;
    margin: 10px 0 5px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    animation: numberPulse 2s ease-in-out infinite;
}

.stats-card p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    animation: textGlow 3s ease-in-out infinite alternate;
}

.stats-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    animation: iconRotate 8s linear infinite;
    backdrop-filter: blur(10px);
}

.stats-icon.primary {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.stats-icon.info {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.stats-icon.success {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.stats-icon.warning {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Proxy management kartları için koyu renkler */
.stats-cards .stats-card:nth-child(1) {
    background: linear-gradient(135deg, #2c1810 0%, #8b4513 50%, #1a0d0a 100%);
    animation-delay: 0s;
}

.stats-cards .stats-card:nth-child(2) {
    background: linear-gradient(135deg, #1a0d1a 0%, #8b1538 50%, #0d0a0d 100%);
    animation-delay: 1.5s;
}

.stats-cards .stats-card:nth-child(3) {
    background: linear-gradient(135deg, #0d1a1a 0%, #1e3a8a 50%, #0a0d0d 100%);
    animation-delay: 3s;
}

.stats-cards .stats-card:nth-child(4) {
    background: linear-gradient(135deg, #0d1a0d 0%, #166534 50%, #0a0d0a 100%);
    animation-delay: 4.5s;
}

.proxy-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
    background: #fff;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.proxy-tabs .tab-item {
    flex: 1;
    text-align: center;
}

.proxy-tabs .tab-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.proxy-tabs .tab-link i {
    margin-right: 8px;
}

.proxy-tabs .tab-link.active {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

.proxy-tabs .tab-link.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0d6efd;
}

.proxy-tab-content > div {
    display: none;
}

.proxy-tab-content > div.active {
    display: block;
    animation: fadeIn 0.3s;
}

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

.proxy-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.proxy-card-header {
    padding: 15px 20px;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
}

.proxy-card-header i {
    margin-right: 10px;
    color: #0d6efd;
}

.proxy-card-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.proxy-card-body {
    padding: 20px;
}

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

.proxy-table th,
.proxy-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #f2f2f2;
}

.proxy-table th {
    font-weight: 600;
    color: #495057;
    background-color: #f8f9fa;
}

.proxy-table tbody tr:hover {
    background-color: rgba(0,0,0,0.01);
}

.badge-ipv4, .badge-ipv6 {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.badge-active {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.badge-inactive {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.form-label.required::after {
    content: '*';
    color: #dc3545;
    margin-left: 4px;
}

.form-text {
    margin-top: 5px;
    font-size: 12px;
    color: #6c757d;
}

.alert-dismissible {
    padding-right: 40px;
}

.alert-dismissible .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 12px 15px;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.delete-modal-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.delete-modal {
    background-color: white;
    border-radius: 8px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.delete-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #f5f5f5;
}

.delete-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.delete-modal-body {
    padding: 20px;
}

.delete-modal-footer {
    padding: 15px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid #f5f5f5;
}

.btn-cancel {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.btn-confirm-delete {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
}

.delete-btn {
    background-color: transparent;
    color: #dc3545; 
    border: none;
    width: 30px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
}

.delete-btn:hover {
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 4px;
}

.format-hint {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 13px;
}

.format-hint code {
    background-color: #e9ecef;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
}

.col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}

.col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

@media (max-width: 768px) {
    .col-md-5, .col-md-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .stats-cards {
        flex-direction: column;
    }
    
    .proxy-tabs {
        flex-direction: column;
    }
}

/* Logs Page Styles */
.system-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.system-info {
    flex: 0 0 30%;
    max-width: 30%;
    padding: 0 10px;
    box-sizing: border-box;
}

.system-info .data-table {
    width: 100%;
    table-layout: fixed;
}

.system-info .data-table th {
    width: 40%;
    padding: 8px 10px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.system-info .data-table td {
    width: 60%;
    padding: 8px 10px;
    font-size: 13px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.error-logs {
    flex: 0 0 70%;
    max-width: 70%;
    padding: 0 10px;
    box-sizing: border-box;
}

.log-tabs {
    display: flex;
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.log-tabs a {
    padding: 8px 15px;
    text-decoration: none;
    color: #6c757d;
    border-right: 1px solid rgba(0, 0, 0, 0.125);
}

.log-tabs a.active {
    background-color: #007bff;
    color: #fff;
}

.log-actions {
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    text-align: right;
}

.log-container {
    padding: 12px;
    overflow-x: auto;
    background-color: #212529;
    color: #f8f9fa;
    font-family: monospace;
    font-size: 13px;
    line-height: 1.5;
    white-space: pre-wrap;
    height: 400px;
    overflow-y: auto;
    border-radius: 0 0 0.25rem 0.25rem;
}

.function-status {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.status-enabled {
    background-color: #28a745;
}

.status-disabled {
    background-color: #dc3545;
}

@media (max-width: 991px) {
    .system-info, .error-logs {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
}

/* Sites Page Styles */
.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    flex: 1;
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    padding: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #fff;
    overflow: hidden;
    animation: cardFloat 6s ease-in-out infinite;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    animation-play-state: paused;
}

.stat-card h3 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: textGlow 3s ease-in-out infinite alternate;
}

.stat-card .stat-number {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    animation: numberPulse 2s ease-in-out infinite;
}

.stat-card .stat-trend {
    font-size: 12px;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.stat-card .stat-trend.up {
    color: #00ff88;
    text-shadow: 0 0 5px #00ff88;
}

.stat-card .stat-trend.down {
    color: #ff4757;
    text-shadow: 0 0 5px #ff4757;
}

.stat-card .stat-trend.neutral {
    color: #ffd700;
    text-shadow: 0 0 5px #ffd700;
}

.stat-card .stat-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    animation: iconRotate 8s linear infinite;
    backdrop-filter: blur(10px);
}

/* Very dark themed stat cards with different colors and animations */
.stat-card:nth-child(1) {
    background: linear-gradient(135deg, #2c1810 0%, #8b4513 50%, #1a0d0a 100%);
    animation-delay: 0s;
}

.stat-card:nth-child(2) {
    background: linear-gradient(135deg, #1a0d1a 0%, #8b1538 50%, #0d0a0d 100%);
    animation-delay: 1.5s;
}

.stat-card:nth-child(3) {
    background: linear-gradient(135deg, #0d1a1a 0%, #1e3a8a 50%, #0a0d0d 100%);
    animation-delay: 3s;
}

.stat-card:nth-child(4) {
    background: linear-gradient(135deg, #0d1a0d 0%, #166534 50%, #0a0d0a 100%);
    animation-delay: 4.5s;
}

/* Keyframe animations */
@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 5px rgba(255,255,255,0.3);
    }
    100% {
        text-shadow: 0 0 15px rgba(255,255,255,0.6);
    }
}

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

@keyframes iconRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.table-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.sites-table-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.sites-table {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
}

.sites-table th,
.sites-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    white-space: nowrap;
}

.sites-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
    position: sticky;
    top: 0;
    z-index: 10;
}

.sites-table tr:last-child td {
    border-bottom: none;
}

.sites-table tr:hover {
    background-color: #f8f9fa;
}

/* Mobil responsive için tablo düzenlemeleri */
@media (max-width: 768px) {
    .sites-table-container {
        margin: 0 -15px 20px -15px;
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid #e9ecef;
        border-bottom: 1px solid #e9ecef;
    }
    
    .sites-table {
        min-width: 1200px;
        font-size: 13px;
    }
    
    .sites-table th,
    .sites-table td {
        padding: 10px 12px;
    }
    
    .table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .table-header > div {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        gap: 10px;
    }
    
    .add-site-btn {
        font-size: 13px;
        padding: 8px 12px;
    }
}

@media (max-width: 576px) {
    .sites-table {
        min-width: 1400px;
        font-size: 12px;
    }
    
    .sites-table th,
    .sites-table td {
        padding: 8px 10px;
    }
    
    .action-btns {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 80px;
    }
    
    .action-btns .btn-sm {
        font-size: 11px;
        padding: 4px 8px;
        width: 100%;
        text-align: center;
    }
    
    .stats-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .stat-card {
        min-width: auto;
        padding: 15px;
        display: flex;
        flex-direction: column;
        text-align: center;
        position: relative;
    }
    
    .stat-card .stat-number {
        font-size: 24px;
        order: 2;
        margin: 10px 0;
    }
    
    .stat-card h3 {
        font-size: 12px;
        order: 1;
        margin-bottom: 5px;
    }
    
    .stat-card .stat-trend {
        order: 3;
        margin-top: 5px;
        font-size: 11px;
    }
    
    .stat-card .stat-icon {
        position: static;
        order: 4;
        margin: 10px auto 0;
        width: 30px;
        height: 30px;
    }
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.active {
    background-color: #d1e7dd;
    color: #0f5132;
}

.status-badge.inactive {
    background-color: #f8d7da;
    color: #842029;
}

.action-btns {
    display: flex;
    gap: 5px;
}

.btn-purple {
    background-color: #6f42c1;
    color: white;
}

.add-site-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 6px;
    padding: 6px 12px;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.add-site-btn:hover {
    text-decoration: none;
    color: white;
}

.add-site-btn i {
    font-size: 14px;
}

.btn-green {
    background-color: #28a745;
}

.btn-green:hover {
    background-color: #218838;
}

.btn-orange {
    background-color: #fd7e14;
}

.btn-orange:hover {
    background-color: #e8690b;
}

.empty-message {
    text-align: center;
    padding: 30px 0;
    color: #6c757d;
}

.truncate {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sitemap-count {
    font-weight: 700;
    color: #000;
}

.update-date {
    font-size: 11px;
    color: #6c757d;
    white-space: nowrap;
    display: block;
}

.last-ping-date {
    font-size: 11px;
    color: #0d6efd;
    white-space: nowrap;
    display: block;
    font-weight: 500;
}

.ping-count {
    font-size: 10px;
    color: #6c757d;
    display: inline-block;
    padding: 2px 5px;
    background-color: #f0f0f0;
    border-radius: 3px;
    margin-left: 5px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover {
    color: black;
}

.modal-header {
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.modal-title {
    margin: 0;
    font-size: 1.25rem;
}

.modal-body {
    margin-bottom: 20px;
}

.ping-result, .sitemap-result {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.ping-success, .sitemap-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.ping-error, .sitemap-error {
    background-color: #f8d7da;
    color: #842029;
}

.ping-icon, .sitemap-icon {
    margin-right: 10px;
    font-size: 16px;
}

.ping-log, .sitemap-log {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    max-height: 200px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 12px;
    white-space: pre-wrap;
    margin-top: 15px;
    border: 1px solid #e9ecef;
}

.modal-footer {
    padding-top: 15px;
    text-align: right;
    border-top: 1px solid #ddd;
}

/* Sites page specific loading styles - removed duplicate */
.sites-loading {
    text-align: center;
    padding: 20px;
}

.sites-loading .spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    margin: 0 auto 15px;
}

.progress-container {
    margin: 15px 0;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #0d6efd;
    transition: width 0.3s ease;
    width: 0;
}

.progress-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
    text-align: center;
}

/* Duplicate keyframes removed - using the one at line 1209 */

/* Recent Jobs Container Styles */
.recent-jobs-container {
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
}

.recent-jobs-container .table-responsive {
    margin: 0;
}

.recent-jobs-container .url-table {
    margin-bottom: 0;
    font-size: 13px;
}

.recent-jobs-container .url-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    padding: 10px 12px;
}

.recent-jobs-container .url-table td {
    padding: 10px 12px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f4;
}

.recent-jobs-container .url-table tbody tr:hover {
    background-color: #f8f9fa;
}

.job-id {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #4a89dc;
    font-size: 12px;
}

.script-name {
    font-weight: 500;
    color: #495057;
    font-size: 12px;
}

.job-date {
    font-size: 11px;
    color: #6c757d;
    white-space: nowrap;
}

.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-running {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.status-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-failed {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-unknown {
    background-color: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

.empty-state {
    text-align: center;
    padding: 30px 20px;
    color: #6c757d;
}

.empty-state-icon {
    font-size: 32px;
    margin-bottom: 10px;
    opacity: 0.6;
}

.empty-state-text {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

/* API Quota Card Styles */
.api-quota-card {
    margin-bottom: 20px;
    width: 100%;
}

.api-quota-card .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 15px 20px;
}

.api-quota-card .card-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.api-quota-card .btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: #fff;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.api-quota-card .btn-info:hover {
    background-color: #138496;
    border-color: #117a8b;
    transform: translateY(-1px);
}

.api-quota-card .btn-info i {
    margin-right: 5px;
    font-size: 11px;
}

/* API Quota Table Styles */
.api-quota-card .table-responsive {
    overflow-x: auto;
    width: 100%;
}

.api-quota-card table {
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    table-layout: fixed;
}

.api-quota-card table th,
.api-quota-card table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
    word-wrap: break-word;
    overflow: hidden;
}

.api-quota-card table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.api-quota-card table tbody tr:hover {
    background-color: #f8f9fa;
}

/* API Quota Table Column Widths - Tam Genişlik */
.api-quota-card table th:nth-child(1),
.api-quota-card table td:nth-child(1) {
    width: 8%;
    text-align: center;
}

.api-quota-card table th:nth-child(2),
.api-quota-card table td:nth-child(2) {
    width: 20%;
    font-weight: 500;
}

.api-quota-card table th:nth-child(3),
.api-quota-card table td:nth-child(3) {
    width: 18%;
    font-weight: 500;
}

.api-quota-card table th:nth-child(4),
.api-quota-card table td:nth-child(4) {
    width: 12%;
    text-align: center;
    font-weight: 600;
}

.api-quota-card table th:nth-child(5),
.api-quota-card table td:nth-child(5) {
    width: 12%;
    text-align: center;
    font-weight: 600;
}

.api-quota-card table th:nth-child(6),
.api-quota-card table td:nth-child(6) {
    width: 10%;
    text-align: center;
    font-weight: 600;
    color: #28a745;
}

.api-quota-card table th:nth-child(7),
.api-quota-card table td:nth-child(7) {
    width: 15%;
    text-align: center;
    font-size: 11px;
}

.api-quota-card table th:nth-child(8),
.api-quota-card table td:nth-child(8) {
    width: 5%;
    text-align: center;
}

/* API Status Badge */
.api-status-active {
    background-color: #d4edda;
    color: #155724;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.api-status-inactive {
    background-color: #f8d7da;
    color: #721c24;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* API Quota Progress Indicators */
.quota-usage-bar {
    width: 60px;
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
}

.quota-usage-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.quota-low {
    background-color: #28a745;
}

.quota-medium {
    background-color: #ffc107;
}

.quota-high {
    background-color: #dc3545;
}

.loading-state {
    padding: 30px 20px;
}

.loading-state .spinner-border {
    width: 2rem;
    height: 2rem;
    margin-bottom: 15px;
}

.loading-text {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

/* Flexbox utilities */
.d-flex {
    display: flex !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    align-items: center !important;
}

/* Card Header Improvements */
.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 15px 20px;
    border-radius: 0.375rem 0.375rem 0 0;
}

.card-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.card-header .mb-0 {
    margin-bottom: 0 !important;
}

/* Enhanced Card Body */
.card-body {
    padding: 20px;
}

/* Responsive improvements for cards */
@media (max-width: 768px) {
    .recent-jobs-container .url-table {
        font-size: 11px;
    }
    
    .recent-jobs-container .url-table th,
    .recent-jobs-container .url-table td {
        padding: 8px 6px;
    }
    
    .job-id, .script-name {
        font-size: 11px;
    }
    
    .job-date {
        font-size: 10px;
    }
    
    .status-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .api-quota-card .card-header {
        padding: 12px 15px;
    }
    
    .api-quota-card .card-header h3 {
        font-size: 14px;
    }
    
    .api-quota-card .btn-info {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .loading-state {
        padding: 20px 15px;
    }
    
    .empty-state {
        padding: 20px 15px;
    }
    
    .empty-state-icon {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .recent-jobs-container .url-table th:nth-child(4),
    .recent-jobs-container .url-table td:nth-child(4),
    .recent-jobs-container .url-table th:nth-child(5),
    .recent-jobs-container .url-table td:nth-child(5) {
        display: none;
    }
    
    .api-quota-card .card-header .d-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .api-quota-card .btn-info {
        align-self: flex-end;
    }
}

/* Google Icon Colorful Style */
.fab.fa-google,
.google-icon {
    background: linear-gradient(45deg, #4285f4 25%, #ea4335 25%, #ea4335 50%, #fbbc05 50%, #fbbc05 75%, #34a853 75%);
    background-size: 16px 16px;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: bold;
}

/* Alternative Google Colors for different contexts */
.google-icon-multicolor {
    color: #4285f4;
    text-shadow: 
        1px 0 0 #ea4335,
        0 1px 0 #fbbc05,
        -1px 0 0 #34a853;
}

/* Google Brand Colors */
.google-blue { color: #4285f4 !important; }
.google-red { color: #ea4335 !important; }
.google-yellow { color: #fbbc05 !important; }
.google-green { color: #34a853 !important; }

/* Sidebar Icon Colors - Alakalı Renkler */
.sidebar-nav li a i.fa-th-large { color: #4285f4 !important; } /* Dashboard - Mavi */
.sidebar-nav li a i.fa-globe { color: #28a745 !important; } /* Sites/Globe - Yeşil */
.sidebar-nav li a i.fab.fa-google { 
    background: linear-gradient(45deg, #4285f4 25%, #ea4335 25%, #ea4335 50%, #fbbc05 50%, #fbbc05 75%, #34a853 75%);
    background-size: 16px 16px;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
    font-weight: bold;
} /* Google - Renkli */
.sidebar-nav li a i.fa-link { color: #007bff !important; } /* IndexNow Link - Mavi */
.sidebar-nav li a i.fa-chart-line { color: #17a2b8 !important; } /* Google Tracking - Turkuaz */
.sidebar-nav li a i.fa-tachometer-alt { color: #8e44ad !important; } /* IndexNow Tracking - Mor */
.sidebar-nav li a i.fa-broadcast-tower { color: #fd7e14 !important; } /* Ping - Turuncu */
.sidebar-nav li a i.fa-code { color: #6f42c1 !important; } /* API Settings - Mor */
.sidebar-nav li a i.fa-edit { color: #20c997 !important; } /* API Edit - Teal */
.sidebar-nav li a i.fa-server { color: #6c757d !important; } /* Proxy - Gri */
.sidebar-nav li a i.fa-question-circle { color: #ffc107 !important; } /* Help - Sarı */
.sidebar-nav li a i.fa-user { color: #e83e8c !important; } /* Profile - Pembe */
.sidebar-nav li a i.fa-cog { color: #495057 !important; } /* Settings - Koyu Gri */
.sidebar-nav li a i.fa-info-circle { color: #17a2b8 !important; } /* System Info - Turkuaz */
.sidebar-nav li a i.fa-sign-out-alt { color: #dc3545 !important; } /* Logout - Kırmızı */

/* Hover efektleri için renkleri koruma */
.sidebar-nav li a:hover i.fa-th-large { color: #4285f4 !important; }
.sidebar-nav li a:hover i.fa-globe { color: #28a745 !important; }
.sidebar-nav li a:hover i.fa-link { color: #007bff !important; }
.sidebar-nav li a:hover i.fa-chart-line { color: #17a2b8 !important; }
.sidebar-nav li a:hover i.fa-tachometer-alt { color: #8e44ad !important; }
.sidebar-nav li a:hover i.fa-broadcast-tower { color: #fd7e14 !important; }
.sidebar-nav li a:hover i.fa-code { color: #6f42c1 !important; }
.sidebar-nav li a:hover i.fa-edit { color: #20c997 !important; }
.sidebar-nav li a:hover i.fa-server { color: #6c757d !important; }
.sidebar-nav li a:hover i.fa-question-circle { color: #ffc107 !important; }
.sidebar-nav li a:hover i.fa-user { color: #e83e8c !important; }
.sidebar-nav li a:hover i.fa-cog { color: #495057 !important; }
.sidebar-nav li a:hover i.fa-info-circle { color: #17a2b8 !important; }
.sidebar-nav li a:hover i.fa-sign-out-alt { color: #dc3545 !important; }

/* Active state için de renkleri koruma */
.sidebar-nav li a.active i.fa-th-large { color: #4285f4 !important; }
.sidebar-nav li a.active i.fa-globe { color: #28a745 !important; }
.sidebar-nav li a.active i.fa-link { color: #007bff !important; }
.sidebar-nav li a.active i.fa-chart-line { color: #17a2b8 !important; }
.sidebar-nav li a.active i.fa-tachometer-alt { color: #8e44ad !important; }
.sidebar-nav li a.active i.fa-broadcast-tower { color: #fd7e14 !important; }
.sidebar-nav li a.active i.fa-code { color: #6f42c1 !important; }
.sidebar-nav li a.active i.fa-edit { color: #20c997 !important; }
.sidebar-nav li a.active i.fa-server { color: #6c757d !important; }
.sidebar-nav li a.active i.fa-question-circle { color: #ffc107 !important; }
.sidebar-nav li a.active i.fa-user { color: #e83e8c !important; }
.sidebar-nav li a.active i.fa-cog { color: #495057 !important; }
.sidebar-nav li a.active i.fa-info-circle { color: #17a2b8 !important; }
.sidebar-nav li a.active i.fa-sign-out-alt { color: #dc3545 !important; }

/* Dashboard Banner Card Animations */
@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(255,255,255,0.3);
    }
    50% {
        transform: scale(1.05);
        text-shadow: 0 0 20px rgba(255,255,255,0.6);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 5px rgba(255,255,255,0.3);
    }
    100% {
        text-shadow: 0 0 15px rgba(255,255,255,0.6);
    }
}

@keyframes iconRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Utility Classes */
.pt-0 {
    padding-top: 0 !important;
}
