/* KampusFTPS Frontend Styles */

.sidebar {
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    transition: all 0.3s;
}

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

.main-content {
    background: #f8f9fa;
    min-height: 100vh;
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.user-table th {
    background: #f8f9fa;
    border-top: none;
}

/* Status indicators */
.border-left-primary {
    border-left: 0.25rem solid #4e73df !important;
}

.border-left-success {
    border-left: 0.25rem solid #1cc88a !important;
}

.border-left-info {
    border-left: 0.25rem solid #36b9cc !important;
}

.border-left-warning {
    border-left: 0.25rem solid #f6c23e !important;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Status colors */
.status-online {
    color: #1cc88a;
}

.status-offline {
    color: #e74a3b;
}

.status-warning {
    color: #f6c23e;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        height: auto;
    }
    
    .main-content {
        min-height: auto;
    }
}

/* Animation for status updates */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Connection status indicators */
.connection-success {
    background: linear-gradient(135deg, #1cc88a, #17a2b8);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.connection-error {
    background: linear-gradient(135deg, #e74a3b, #dc3545);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.connection-warning {
    background: linear-gradient(135deg, #f6c23e, #fd7e14);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}
