.stat-card.stat-equal {
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    box-sizing: border-box;
}
.stat-icon {
    font-size: 1.7rem !important;
    margin-bottom: 0.2rem;
}
.stat-number {
    font-size: 1.3rem !important;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.1rem;
}
.stat-label {
    font-size: 0.95rem;
    color: #888;
    font-weight: 500;
    margin-top: 0.1rem;
}
/* AI Öngörüleri Stilleri */
.ai-stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.ai-stat-title {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.ai-status .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

.ai-anomaly-count .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.ai-insights {
    max-height: 60px;
    overflow-y: auto;
    font-size: 0.8rem;
}

.ai-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.ai-insight-item {
    background: rgba(255, 255, 255, 0.8);
    border-left: 3px solid #007bff;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* AI animasyonları */
@keyframes ai-pulse {
    0% { box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(102, 126, 234, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3); }
}

.ai-analyzing {
    animation: ai-pulse 2s infinite;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Layout */
.container-fluid {
    margin: 0;
    padding: 0;
}
.row {
    margin: 0;
}
.main-content {
    background-color: #f8f9fa;
    min-height: 100vh;
    padding: 0 !important;
}
.main-content > .p-4 {
    padding: 1.5rem !important;
    min-height: calc(100vh - 3rem);
}

/* Sidebar Styles */
.sidebar {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    z-index: 1000;
}
.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    margin: 0.2rem;
    transition: all 0.3s ease;
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}
.stat-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.container-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.image-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Status Badges */
.status-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-running {
    background-color: #d4edda;
    color: #155724;
}
.status-exited {
    background-color: #f8d7da;
    color: #721c24;
}
.status-paused {
    background-color: #fff3cd;
    color: #856404;
}
.size-badge {
    background-color: #e9ecef;
    color: #495057;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
}

/* Container Status Colors */
.container-status-running {
    background-color: #198754;
}
.container-status-exited {
    background-color: #dc3545;
}
.container-status-paused {
    background-color: #ffc107;
    color: #000;
}

/* Buttons */
.btn-action {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    margin: 0.1rem;
}

/* Progress Bars */
.progress-thin {
    height: 8px;
}

/* Stats */
.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
}

/* Chart container tweaks */
.chart-container {
    position: relative;
    width: 100%;
    min-height: 120px;
}
.card .card-title {
    font-weight: 700;
    font-size: 1rem;
}

/* Settings Page */
.settings-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.settings-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}
.settings-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    font-weight: 600;
}
.settings-card-body {
    padding: 20px;
}
.form-control {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}
.btn-danger {
    border-radius: 8px;
}
.alert {
    border-radius: 8px;
}
.form-label {
    font-weight: 600;
    color: #333;
}
.text-muted {
    font-size: 0.9rem;
}
.nav-pills .nav-link {
    border-radius: 8px;
    margin-right: 10px;
}
.nav-pills .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Table Fixes */
.table-responsive {
    margin-top: 0 !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.table {
    margin-bottom: 0;
    background: white;
}
.table thead th {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: #000000;
    color: white;
    border: none;
    font-weight: 600;
    padding: 15px;
}
.table tbody td {
    padding: 12px 15px;
    border-top: 1px solid #f0f0f0;
    vertical-align: middle;
}

/* Content Container Fixes */
.content-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.container-list, .image-list {
    margin-top: 0 !important;
}

/* Responsive Layout Fix */
@media (min-width: 768px) {
    .main-content {
        margin-left: 250px;
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .sidebar {
        position: relative;
        margin-left: 0;
    }
    .main-content {
        margin-left: 0;
    }
}

        .terminal-container {
            background: #1e1e1e;
            border-radius: 10px;
            padding: 0;
            margin: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            overflow: hidden;
        }
        
        .terminal-header {
            background: #2d2d2d;
            padding: 15px 20px;
            border-bottom: 1px solid #404040;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .terminal-title {
            color: #ffffff;
            margin: 0;
            font-size: 1.1rem;
            font-weight: 500;
        }
        
        .terminal-controls {
            display: flex;
            gap: 10px;
        }
        
        .terminal-btn {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            border: none;
            cursor: pointer;
        }

                .btn-close-terminal { background: #ff5f56; }
        .btn-minimize { background: #ffbd2e; }
        .btn-maximize { background: #27ca3f; }
        
        .terminal-body {
            height: 70vh;
            background: #000000;
        }
        
        .status-bar {
            background: #2d2d2d;
            padding: 8px 20px;
            font-size: 0.85rem;
            color: #888;
            border-top: 1px solid #404040;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .status-indicator {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #27ca3f;
            animation: pulse 2s infinite;
        }
        
        .status-dot.disconnected {
            background: #ff5f56;
            animation: none;
        }
        
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }
        
        .back-button {
            position: fixed;
            top: 20px;
            left: 20px;
            z-index: 1000;
        }

/* FTP Status Styles */
.status-running {
    color: #28a745;
}

.status-running i {
    color: #28a745;
    animation: pulse 2s infinite;
}

.status-stopped {
    color: #dc3545;
}

.status-stopped i {
    color: #dc3545;
}

.status-unknown {
    color: #ffc107;
}

.status-unknown i {
    color: #ffc107;
}

/* Button disabled state */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

        .about-container {
            padding: 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 15px;
            color: white;
            margin-bottom: 20px;
        }
        .feature-card {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 15px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .developer-info {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            padding: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .tech-badge {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: none;
            margin: 2px;
            font-size: 0.85em;
        }
        .stat-item {
            text-align: center;
            padding: 10px;
        }
        .stat-number {
            font-size: 2rem;
            font-weight: bold;
            color: #ffd700;
        }

        .logs-container {
            background: #1e1e1e;
            border-radius: 15px;
            margin: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            overflow: hidden;
        }

        .logs-header {
            background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
            padding: 20px;
            border-bottom: 1px solid #404040;
        }

        .card {
            border: none;
            border-radius: 15px;
            box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
        }

        .sidebar .nav-link {
            color: rgba(255, 255, 255, 0.8);
            border-radius: 10px;
            margin: 0.2rem;
            transition: all 0.3s ease;
        }

        .sidebar .nav-link:hover,
        .sidebar .nav-link.active {
            color: white;
            background-color: rgba(255, 255, 255, 0.1);
        }

        .log-container {
            background-color: #1e1e1e;
            color: #d4d4d4;
            font-family: 'Courier New', monospace;
            height: 500px;
            overflow-y: auto;
            padding: 1rem;
            border-radius: 8px;
            white-space: pre-wrap;
            word-wrap: break-word;
        }

        .log-line {
            margin: 0;
            padding: 0.1rem 0;
            line-height: 1.4;
        }

        .log-error {
            color: #f48771;
        }

        .log-warn {
            color: #dcdcaa;
        }

        .log-info {
            color: #9cdcfe;
        }

        .log-debug {
            color: #608b4e;
        }

        .log-timestamp {
            color: #808080;
        }

        .log-files-table {
            background-color: #2d3748;
            color: #d4d4d4;
        }

        .log-files-table th {
            background-color: #4a5568;
            border-color: #404040;
        }

        .log-files-table td {
            border-color: #404040;
        }

        .btn-log-rotation {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            color: white;
        }

        .btn-log-rotation:hover {
            background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
            color: white;
        }