@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=SF+Mono:wght@400;500&display=swap');

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

input, select {
    font-family: inherit;
}

i[class*="fa-"] {
    display: inline-block;
}

.positive, .green { color: #10b981; }
.negative, .red { color: #ef4444; }
.neutral, .gray { color: #6b7280; }
.blue { color: #3b82f6; }
.yellow { color: #f59e0b; }
.purple { color: #8b5cf6; }

.text-green { color: #10b981; }
.text-red { color: #ef4444; }
.text-gray { color: #6b7280; }
.text-blue { color: #3b82f6; }
.text-yellow { color: #f59e0b; }

.bg-green { background: rgba(16, 185, 129, 0.15); }
.bg-red { background: rgba(239, 68, 68, 0.15); }

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.font-mono {
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-green {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.badge-red {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.badge-blue {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.badge-yellow {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pulse {
    animation: pulse 2s infinite;
}

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