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

body {
    font-family: "Proxima Nova", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #101010;
    color: #f8fafc;
    min-height: 100vh;
    line-height: 1.6;
}

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

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header p {
    color: #94a3b8;
    font-size: 1.1rem;
}

.summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.summary-card {
    /* background: #1e293b; */
    /* border: 1px solid #334155; */
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s;
    box-shadow: 0 0 24px #000;
}

.summary-card:hover {
    border-color: #475569;
    transform: translateY(-2px);
}

.summary-card h3 {
    font-size: 0.875rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.summary-card .value {
    font-size: 2rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.25rem;
}

.summary-card .label {
    color: #64748b;
    font-size: 0.875rem;
}

.health-percentage {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section {
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f8fafc;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.app-card, .plugin-card {
    /* background: #1e293b; */
    /* border: 1px solid #334155; */
    border-radius: 0.5rem;
    padding: 16px;
    transition: all 0.2s;
    box-shadow: 0 0 24px #000000;
    position: relative;
    padding-left: 19px;
}

.app-card:hover, .plugin-card:hover {
    border-color: #475569;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 0.75rem; */
}

.card-title a {
    color: #f8fafcbf;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
}

.card-title a:hover {
    text-decoration: underline;
}

.card-domain a {
    color: #94a3b8;
    text-decoration: none;
}

.card-domain a:hover {
    text-decoration: underline;
}

.status-indicator {
    width: 3px;
    height: 24px;
    border-radius: 0;
    margin-left: auto;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}

.status-healthy {
    background-color: #10b98180;
}

.status-unhealthy {
    background-color: #ef444480;
}

.card-domain {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.card-details {
    /* display: grid; */
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.detail-item {
    display: block;
    justify-content: space-between;
}

.detail-label {
    color: #64748b;
}

.detail-value {
    color: #f8fafc;
}

.loading {
    text-align: center;
    padding: 3rem;
    color: #94a3b8;
}

.error {
    background: #7f1d1d;
    border: 1px solid #dc2626;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 2rem;
    color: #fecaca;
}

.last-updated {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    .header h1 {
        font-size: 2rem;
    }
    .summary {
        grid-template-columns: 1fr;
    }
    .grid {
        grid-template-columns: 1fr;
    }
}