/* Security Dashboard Styles */

/* Gradient Card Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, #172b4d, #1a174d) !important;
    color: white !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #fb6340, #fd7e14) !important;
    color: white !important;
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #f5365c, #e03e3e) !important;
    color: white !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #2dce89, #28a745) !important;
    color: white !important;
}

/* Card Enhancements */
.card {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.card-header {
    background-color: rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: bold;
}

.card-body {
    padding: 1.25rem;
}

.card-footer {
    background-color: rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.25rem;
}

/* Table Styling */
.table {
    margin-bottom: 0;
}

.table thead th {
    border-top: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
}

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

.table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Stats Animation */
.card-text {
    animation: fadeNumber 1s ease-in-out;
}

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

/* System Info Section */
.list-unstyled li {
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
}

.list-unstyled li strong {
    margin-right: 5px;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Server Time */
#server-time {
    font-family: monospace;
    font-size: 1.1rem;
    padding: 8px 12px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    display: inline-block;
    animation: pulse 2s infinite ease-in-out;
}

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