﻿/* Layout */
body {
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    min-height: 100vh;
}

/* Modern Sidebar */
.sidebar-modern {
    width: 280px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: auto;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: left 0.5s ease;
}

.logo-container:hover::before {
    left: 100%;
}

.logo-container:hover {
    background: rgba(16, 185, 129, 0.05);
    transform: translateY(-1px);
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-cyan));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    border: 1px solid rgba(16, 185, 129, 0.3);
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
    border-radius: 10px;
    transition: all 0.3s ease;
}

.logo-icon i {
    font-size: 1.5rem;
    color: #000;
    font-weight: bold;
}

.logo-text h5 {
    color: var(--primary-green);
    font-weight: 700;
    margin: 0;
    font-size: 1.1rem;
    letter-spacing: 0.025em;
    text-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.logo-text h5:hover {
    color: var(--primary-cyan);
    text-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
}

.logo-text small {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    /*text-transform: uppercase;*/
    transition: all 0.3s ease;
}

.logo-text small:hover {
    color: var(--text-secondary);
}

/* Sidebar Content */
.sidebar-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 100px);
}

.nav-section {
    margin-bottom: 2rem;
}

.nav-section-title {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    padding: 0 0.75rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.25rem;
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    background: transparent;
    width: 100%;
    text-align: left;
}

.nav-item:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-green);
    border-color: rgba(16, 185, 129, 0.2);
    transform: translateX(4px);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.1));
    color: var(--primary-green);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.nav-item i {
    font-size: 1.125rem;
    width: 20px;
    text-align: center;
}

.nav-item span {
    font-weight: 500;
    font-size: 0.875rem;
}

.nav-section-bottom {
    margin-top: auto;
    margin-bottom: 0;
}

.logout-btn {
    color: #ef4444 !important;
    border-color: rgba(239, 68, 68, 0.2) !important;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #f87171 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

/* Main Content */
.main-content {
    width: calc(100% - 280px);
    min-height: 100vh;
    padding: 0;
    margin-left: 280px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Auth Container */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-content {
    width: 100%;
    max-width: 400px;
}

/* Modern Cards */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(16, 185, 129, 0.3);
}

.card-header {
    background: rgba(16, 185, 129, 0.05);
    border-bottom: 1px solid var(--border-color);
    border-radius: 16px 16px 0 0 !important;
    padding: 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Dashboard Specific Styles */
.dashboard-header {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.metric-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metric-card:hover::before {
    opacity: 1;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(16, 185, 129, 0.3);
}

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

.metric-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-weight: 500;
}

.metric-card small {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.metric-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-icon i {
    font-size: 1.5rem;
    color: #000;
    font-weight: bold;
}

/* Status Indicators */
.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 10px currentColor;
}

.status-healthy {
    background-color: var(--primary-green);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.status-warning {
    background-color: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.status-critical {
    background-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* Progress Bars */
.progress-custom {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Tables */
.table {
    color: var(--text-primary);
    background: transparent;
}

.table thead th {
    background: rgba(16, 185, 129, 0.05);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    padding: 1rem;
}

.table tbody td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background: rgba(16, 185, 129, 0.05);
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.bg-success {
    background: linear-gradient(135deg, var(--primary-green), #059669) !important;
}

.bg-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}

.bg-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}

.bg-info {
    background: linear-gradient(135deg, var(--primary-cyan), #0891b2) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-blue), #2563eb) !important;
}

/* List Groups */
.list-group-item {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.list-group-item:hover {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
}

.list-group-flush .list-group-item {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
}

.list-group-flush .list-group-item:first-child {
    border-top: 0;
}

.list-group-flush .list-group-item:last-child {
    border-bottom: 0;
}

/* Text Colors */
.text-primary {
    color: var(--primary-green) !important;
}

.text-success {
    color: var(--primary-green) !important;
}

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

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

.text-info {
    color: var(--primary-cyan) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Modern Horizontal Tabs */
.modern-horizontal-tabs {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: auto;
}

.modern-horizontal-tabs .nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}

.modern-horizontal-tabs .nav-tabs {
    border-bottom: none;
    margin: 0;
    display: flex !important;
    flex-direction: row !important;
    width: 100%;
}

.modern-horizontal-tabs .nav-item {
    flex: 1;
    display: flex;
}

.modern-horizontal-tabs .nav-tabs .nav-link {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    border-radius: 0;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-bottom: 3px solid transparent;
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-horizontal-tabs .nav-tabs .nav-link:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-green);
    border-bottom-color: rgba(16, 185, 129, 0.3);
}

.modern-horizontal-tabs .nav-tabs .nav-link.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
    font-weight: 600;
}

.modern-horizontal-tabs .nav-tabs .nav-link.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-cyan));
}

.modern-horizontal-tabs .nav-tabs .nav-link i {
    font-size: 1rem;
}

/* Form Controls */
.form-control {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.form-control:focus {
    background: var(--card-bg);
    border-color: var(--primary-green);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25);
}

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

.input-group-text {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--border-color);
    color: var(--primary-green);
}

.form-label {
    color: var(--text-primary);
    font-weight: 500;
}

/* Spinner */
.spinner-border {
    color: var(--primary-green);
}

/* Queries Container Updates */
.queries-container {
    height: 35vh;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.queries-container::-webkit-scrollbar {
    width: 6px;
}

.queries-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.queries-container::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 3px;
}

.queries-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-cyan);
}

/* Table Enhancements */
.sortable-header {
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    position: relative;
}

.sortable-header:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-green);
}

.sortable-header .bi-arrow-down-up {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.sortable-header:hover .bi-arrow-down-up {
    opacity: 1;
}

.table-cell-content {
    max-width: 200px;
    overflow: hidden;
}

.cell-content {
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0.5rem 0;
}

.cell-content:hover {
    white-space: normal;
    max-height: none;
    overflow: visible;
}

/* Modern Status Buttons */
.modern-status-btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modern-status-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modern-status-btn.btn-success {
    background: linear-gradient(135deg, var(--primary-green), #059669);
}

.modern-status-btn.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.modern-status-btn.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.modern-status-btn.btn-secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

/* Empty State */
.empty-state {
    padding: 2rem;
}

.empty-state i {
    opacity: 0.5;
}

/* Chart Container */
.chart-container {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Tooltip Enhancements */
.tooltip {
    font-family: 'Inter', sans-serif;
}

.tooltip .tooltip-inner {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
}

/* Code Block Styling */
.code-block {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin: 0.5rem 0;
}

.code-block pre {
    margin: 0;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.code-block code {
    color: var(--primary-green);
    background: none;
    padding: 0;
    font-size: inherit;
}

/* Form Group Enhancements */
.form-group {
    margin-bottom: 1.5rem;
}

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

/* Card Footer Enhancements */
.card-footer {
    background: rgba(16, 185, 129, 0.05);
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 16px 16px;
    padding: 1.5rem;
}



/* Mobile Sidebar Toggle Button */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.sidebar-toggle:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: scale(1.05);
}

/* Mobile Close Button */
.sidebar-close {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.sidebar-close:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
    transform: scale(1.05);
}

/* Mobile Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    backdrop-filter: blur(4px);
}

.sidebar-overlay.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .sidebar-modern {
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sidebar-modern.active {
        transform: translateX(0);
    }

    .main-content {
        width: 100%;
        margin-left: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .main-content.active {
        transform: translateX(280px);
    }
    
    .sidebar-toggle {
        display: block !important;
    }
    
    .sidebar-close {
        display: block !important;
    }
    
    /* Ensure sidebar is above other content on mobile */
    .sidebar-modern {
        z-index: 999;
    }
    
    /* Mobile logo adjustments */
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo-text h5 {
        font-size: 1rem;
    }
    
    .logo-text small {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    /* Extra small screens */
    .logo-container {
        gap: 0.5rem;
        padding: 0.25rem;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .logo-text h5 {
        font-size: 0.9rem;
    }
    
    .logo-text small {
        font-size: 0.65rem;
    }
}

@media (min-width: 992px) {
    .sidebar-toggle {
        display: none !important;
    }
    
    .sidebar-overlay {
        display: none !important;
    }
}

/* Modern Button Styles */
.btn {
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-cyan));
    border-color: var(--primary-green);
    color: #000;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669, #0891b2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-green);
    color: var(--primary-green);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-green);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, var(--primary-green), #059669);
    border-color: var(--primary-green);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: #f59e0b;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-color: #ef4444;
}

.btn-info {
    background: linear-gradient(135deg, var(--primary-cyan), #0891b2);
    border-color: var(--primary-cyan);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

/* Navigation Tabs */
.nav-tabs .nav-link {
    color: #495057;
    border: none;
    border-bottom: 2px solid transparent;
}

    .nav-tabs .nav-link.active {
        color: #0d6efd;
        border: none;
        border-bottom: 2px solid #0d6efd;
    }

/* Custom Scrollbar */
.queries-container::-webkit-scrollbar {
    width: 6px;
}

.queries-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.queries-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

    .queries-container::-webkit-scrollbar-thumb:hover {
        background: #555;
    }


.date-range-container {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}


/* Fix for datetime picker width */
.bootstrap-datetimepicker-widget {
    width: auto !important;
}

/* Modern Footer */
.modern-footer {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-cyan), var(--primary-blue));
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    gap: 2rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-text h6 {
    color: var(--primary-green);
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
}

.footer-text small {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
}

.footer-center {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.version-info,
.build-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.version-info i,
.build-info i {
    color: var(--primary-green);
    font-size: 1rem;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border: 1px solid transparent;
}

.footer-link:hover {
    color: var(--primary-green);
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.footer-link i {
    font-size: 1rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.1);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.footer-status .status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Responsive Footer */
@media (max-width: 991.98px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-center {
        order: -1;
        gap: 1rem;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-content {
        padding: 1rem;
    }
    
    .footer-bottom {
        padding: 0.75rem 1rem;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-links {
        gap: 0.75rem;
    }
    
    .footer-link {
        width: 32px;
        height: 32px;
    }
}
