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

body {
    font-family: 'Golos Text', sans-serif;
    background: #000;
    color: #fff;
    padding: 12px;
    font-size: 14px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.header {
    margin-bottom: 20px;
}

.title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

h1 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

#refresh-icon {
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

#refresh-icon:hover {
    color: #fff;
    background: #1a1a1a;
}

#refresh-icon.spinning {
    animation: spin 1s linear infinite;
}

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

.electrum-url {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-family: monospace;
    font-size: 0.85rem;
    color: #888;
}

.copy-btn {
    padding: 3px 8px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 3px;
    color: #aaa;
    cursor: pointer;
    font-family: 'Golos Text', sans-serif;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: #2a2a2a;
    color: #fff;
}

.copy-btn.copied {
    background: #B0E000 !important;
    color: #000 !important;
    border-color: #B0E000 !important;
}

.last-update {
    font-size: 0.75rem;
    color: #666;
}

/* Services Grid */
.services-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

/* Service Card */
.service-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 6px;
    padding: 12px;
}

.service-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1a1a1a;
}

.service-card h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.service-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    margin-bottom: 4px;
    color: #888;
}

.service-version {
    font-size: 0.75rem;
    color: #666;
}

.status-dot {
    font-size: 1rem;
}

.status-dot.running {
    color: #B0E000;
}

.status-dot.syncing {
    color: #ffd93d;
}

.status-dot.stopped {
    color: #C50909;
}

/* Stat Table */
.stat-table {
    width: 100%;
    border-collapse: collapse;
}

.stat-table tr {
    border-bottom: 1px solid #1a1a1a;
}

.stat-table tr:last-child {
    border-bottom: none;
}

.stat-table td {
    padding: 8px 0;
    font-size: 0.85rem;
}

.stat-table td:first-child {
    color: #888;
    width: 40%;
}

.stat-table td:last-child {
    color: #fff;
    text-align: right;
    font-weight: 500;
}

/* Desktop: 3 columns */
@media (min-width: 900px) {
    body {
        padding: 20px;
    }

    .header {
        margin-bottom: 24px;
    }

    h1 {
        font-size: 1.6rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-bottom: 20px;
    }

    .service-card {
        padding: 16px;
    }

    .service-card h2 {
        font-size: 1.2rem;
    }

    .stat-table td {
        padding: 10px 0;
        font-size: 0.9rem;
    }
}

/* Tablet: 2 columns */
@media (min-width: 600px) and (max-width: 899px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
