

.server-status-main {
    min-height: 100vh;
    padding: 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    position: relative;
}


.status-hero {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 40px;
    margin-bottom: 30px;
}

.status-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.status-hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #00ff88, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.status-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.overall-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.status-indicator i {
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.status-indicator.online {
    color: #00ff88;
}

.status-indicator.warning {
    color: #ffaa00;
}

.status-indicator.error {
    color: #ff4444;
}

.last-updated {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}


.status-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px;
}


.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.metric-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.3);
}

.metric-card.primary {
    background: linear-gradient(135deg, #00ff88 0%, #00ccff 100%);
    color: #000;
}

.metric-card.primary .metric-icon {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

.metric-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 12px;
    color: #00ff88;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.metric-content {
    flex: 1;
}

.metric-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.8;
}

.metric-value {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.metric-card.primary .metric-value {
    color: #000;
}

.metric-label {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* AI Studio Counter Section */
.ai-studio-counter-section {
    margin: 30px 0;
    display: block;
    visibility: visible;
    opacity: 1;
}

.ai-studio-counter-section .section-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.ai-studio-counter-section .section-header h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: #00ff88;
    margin: 0;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.ai-studio-counter-section .section-header i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.counter-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.counter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.counter-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.counter-card.success {
    border-left: 4px solid #00ff88;
}

.counter-card.failure {
    border-left: 4px solid #ff4444;
}

.counter-card.stats {
    border-left: 4px solid #00ccff;
}

.counter-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.counter-card.success .counter-icon {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.counter-card.failure .counter-icon {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
}

.counter-card.stats .counter-icon {
    background: rgba(0, 204, 255, 0.2);
    color: #00ccff;
}

.counter-content {
    flex: 1;
}

.counter-content h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 8px 0;
}

.counter-value {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 5px 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.counter-card.success .counter-value {
    color: #00ff88;
}

.counter-card.failure .counter-value {
    color: #ff4444;
}

.counter-card.stats .counter-value {
    color: #00ccff;
}

.counter-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}


.charts-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.chart-container {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    height: 400px;
}

.chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ff88, #00ccff);
    opacity: 0.7;
}

.chart-header {
    margin-bottom: 20px;
}

.chart-header h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-header i {
    color: #00ff88;
}


.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.info-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.1);
}

.info-header {
    padding: 20px 25px;
    background: rgba(0, 255, 136, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.info-header h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.info-header i {
    color: #00ff88;
}

.info-content {
    padding: 25px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.info-value {
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    color: #00ff88;
}


.service-status {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.service-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff4444;
    animation: pulse 2s ease-in-out infinite;
}

.service-indicator.online {
    background: #00ff88;
}

.service-indicator.warning {
    background: #ffaa00;
}

.service-indicator.offline {
    background: #ff4444;
}


.command-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.command-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.command-name {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.command-count {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: #00ff88;
}


.info-card.error-card .info-header {
    background: rgba(255, 68, 68, 0.05);
}

.info-card.error-card .info-header i {
    color: #ff4444;
}

.error-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.filter-btn.active {
    background: #00ff88;
    color: #000;
    border-color: #00ff88;
}

.error-log {
    max-height: 300px;
    overflow-y: auto;
    padding: 25px;
}

.error-item {
    display: grid;
    grid-template-columns: 150px 60px 1fr;
    gap: 15px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

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

.error-time {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
}

.error-code {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: #ff4444;
}

.error-message {
    color: rgba(255, 255, 255, 0.8);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Hide counter cards that should not be visible */
.counter-card.success.hidden,
.counter-card.failure.hidden {
    display: none !important;
}


@media (max-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .charts-section {
        grid-template-columns: 1fr;
    }

    .chart-container {
        height: 350px;
    }
}


@media (max-width: 768px) {
    .status-hero h1 {
        font-size: 2.5rem;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .counter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .counter-card {
        padding: 15px;
        gap: 10px;
    }

    .counter-value {
        font-size: 1.5rem;
    }

    .counter-content h4 {
        font-size: 0.9rem;
    }

    .charts-section {
        grid-template-columns: 1fr;
    }

    .chart-container {
        height: 300px;
    }

    .info-section {
        grid-template-columns: 1fr;
    }

    .overall-status {
        flex-direction: column;
        gap: 15px;
    }

    .error-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .error-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .error-time {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .status-hero {
        padding: 40px 0 30px;
    }

    .status-hero h1 {
        font-size: 2rem;
    }

    .status-dashboard {
        padding: 0 15px 30px;
    }

    .metric-card {
        padding: 20px;
    }

    .metric-value {
        font-size: 1.5rem;
    }

    .counter-grid {
        grid-template-columns: 1fr;
    }

    .counter-card {
        padding: 15px;
        gap: 12px;
    }

    .counter-value {
        font-size: 1.3rem;
    }

    .counter-content h4 {
        font-size: 0.8rem;
    }

    .counter-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .chart-container {
        padding: 20px;
    }

    .info-content {
        padding: 20px;
    }
}