/* --- Grundlayout --- */
body {
    background: #111827;
    color: #e5e7eb;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    margin: 0;
    padding: 20px;
}

/* Header */
.app-header {
    text-align: center;
    margin-bottom: 25px;
}

.app-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.app-subtitle {
    color: #9ca3af;
    font-size: 1rem;
    margin-top: 4px;
}

/* --- Karten / App-Container --- */
.card {
    background: #1f2937;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    border-left: 5px solid #4b5563;
    margin-bottom: 20px;
}

.card h2 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

/* --- Werte --- */
.value {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 10px;
    transition: opacity 0.3s ease;
}

.value.updating {
    opacity: 0.3;
}

/* --- Buttons --- */
button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 18px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

button:hover {
    background: #1d4ed8;
}

button:disabled {
    background: #4b5563;
    cursor: not-allowed;
}

/* --- Benachrichtigungsstatus --- */
#notify-status {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #9ca3af;
}

/* --- Grid Layout (optional für spätere Erweiterungen) --- */
.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 700px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* --- Footer --- */
.footer {
    text-align: center;
    margin-top: 40px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: #aaa;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer a {
    color: #6aa9ff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.value-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.value-row:last-child {
    border-bottom: none;
}

.card.sun { border-left-color: #fbbf24; }
.card.weather { border-left-color: #3b82f6; }
.card.warn { border-left-color: #ef4444; }
.card.notify { border-left-color: #10b981; }
