/* ========================================
   Boxicons Icons Styling
   Lightweight SVG Icons for Monitoring
   ======================================== */

/* Default icon styling */
.bx {
    display: inline-block;
    vertical-align: middle;
    font-size: 1.2rem;
    line-height: 1;
    margin-right: 0.5rem;
    color: inherit;
}

/* Icon sizes */
.bx-sm {
    font-size: 1rem;
}

.bx-lg {
    font-size: 1.5rem;
}

.bx-xl {
    font-size: 2rem;
}

/* Icon colors */
.text-primary .bx { color: #3b82f6; }
.text-success .bx { color: #10b981; }
.text-warning .bx { color: #f59e0b; }
.text-danger .bx { color: #ef4444; }
.text-info .bx { color: #06b6d4; }

/* Header icons */
.page-title .bx {
    font-size: 2.5rem;
    margin-right: 0.75rem;
    color: #3b82f6;
}

/* Section icons */
.server-section h2 .bx {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: #3b82f6;
}

/* Table icons */
.server-info-table td .bx {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    color: #64748b;
}

/* Filter badges */
.filter-badges .bx {
    font-size: 1rem;
    margin-right: 0.3rem;
}

/* Server list icons */
.servers-list .bx {
    font-size: 1.1rem;
    margin-right: 0.4rem;
}

/* Trophy icons */
.trophy-icon {
    font-size: 1.5rem;
    margin-right: 0.25rem;
}

.trophy-icon.bx {
    color: #f59e0b;
}

/* Action buttons */
.btn .bx {
    margin-right: 0.5rem;
}

.btn-sm .bx {
    font-size: 0.9rem;
    margin-right: 0.4rem;
}

/* Search input icons */
.search-input + .bx {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

/* Responsive icons */
@media (max-width: 768px) {
    .page-title .bx {
        font-size: 2rem;
    }

    .server-info-table td .bx {
        font-size: 1rem;
    }

    .filter-badges .bx {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .page-title .bx {
        font-size: 1.8rem;
    }
}

/* Animation for icons */
@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.icon-pulse .bx {
    animation: iconPulse 0.3s ease-in-out;
}

/* Rotate animation */
@keyframes iconSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.icon-spin .bx {
    animation: iconSpin 1s linear infinite;
}
