* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1a1a;
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #00ff88;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 30px;
}

input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: #2d2d2d;
    color: #fff;
    font-size: 16px;
}

input:focus {
    outline: 2px solid #00ff88;
}

.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2d2d2d;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.suggestion-item:hover {
    background: #3d3d3d;
}

.results-container {
    background: #2d2d2d;
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #3d3d3d;
}

th {
    background: #1a1a1a;
    color: #00ff88;
}

.loading {
    text-align: center;
    font-size: 18px;
    color: #00ff88;
}

.hidden {
    display: none;
}

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

.loading {
    animation: pulse 1.5s infinite;
}

td a {
    color: #00ff88;
    text-decoration: none;
}

td a:hover {
    text-decoration: underline;
}

tr:hover {
    background: #3d3d3d;
}

.refresh-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.refresh-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #00ff88;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.refresh-button:hover {
    background: #00cc6a;
    transform: scale(1.05);
}

.refresh-button:active {
    transform: scale(0.95);
}

.refresh-icon {
    transition: transform 0.5s ease;
}

.refresh-button.refreshing .refresh-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.metrics-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.metric-card {
    background: #2d2d2d;
    border-radius: 8px;
    padding: 20px;
}

.metric-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.metric-values {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.metric-value {
    text-align: center;
    font-size: 1.2em;
}

.metric-value.green {
    color: #00ff88;
}

.metric-value.red {
    color: #ff4444;
}