/* Status Page Specific Styles */

/* Status Cards */
.status-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(99, 102, 241, 0.3);
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    border-radius: 20px 20px 0 0;
}

.status-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.1);
}

.cpu-icon {
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1;
}

.ram-icon {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.storage-icon {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
}

.status-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Status Info */
.status-info {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-value {
    color: var(--text-primary);
    font-weight: 500;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Status Meter */
.status-meter {
    margin: 1.5rem 0;
}

.meter-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.meter-label span:first-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.percentage {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.meter-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s ease;
}

#cpu-meter {
    background: linear-gradient(90deg, #6366f1, #818cf8);
}

#ram-meter {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

#storage-meter {
    background: linear-gradient(90deg, #ec4899, #f472b6);
}

/* Status History */
.status-history {
    margin-top: 1rem;
    height: 40px;
}

.history-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    gap: 2px;
}

.history-bar {
    width: 100%;
    border-radius: 2px;
    transition: height 0.5s ease;
    min-height: 2px;
}

/* Status Header */
.status-header {
    position: relative;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-top: 1rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s infinite;
}

.status-dot.active {
    background: #22c55e;
}

.status-dot.warning {
    background: #f59e0b;
}

.status-dot.error {
    background: #ef4444;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.status-text {
    color: #22c55e;
    font-weight: 500;
    font-size: 0.9rem;
}

.status-time {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

/* System Info */
.system-info {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h4 i {
    color: var(--primary-color);
}

.info-grid {
    display: grid;
    gap: 0.75rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.status-badge.warning {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.status-badge.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Floating elements for status page */
.floating-element {
    font-size: 3rem;
    opacity: 0.05;
}

/* Responsive */
@media (max-width: 768px) {
    .status-card {
        padding: 1.25rem;
    }
    
    .status-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .status-title {
        font-size: 1.1rem;
    }
    
    .info-value {
        font-size: 0.85rem;
    }
    
    .floating-element {
        font-size: 2.5rem;
    }
}