:root {
    --app-bg: #f5f7fb;
    --app-primary: #1f3b57;
    --app-accent: #f0c14b;
    --app-card: #ffffff;
}

body {
    background: var(--app-bg);
    color: #1f2937;
}

.app-navbar {
    background: linear-gradient(135deg, #172536, #274b6d);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.app-container {
    max-width: 1450px;
    padding: 24px;
}

.card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
}

.stat-card {
    overflow: hidden;
    position: relative;
}

.stat-card:after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -35px;
    top: -35px;
    background: rgba(240,193,75,.22);
    border-radius: 50%;
}

.btn-primary {
    background: #274b6d;
    border-color: #274b6d;
}

.btn-primary:hover {
    background: #1f3b57;
    border-color: #1f3b57;
}

.table > :not(caption) > * > * {
    vertical-align: middle;
}

.case-title {
    font-weight: 800;
}

.timeline {
    border-left: 3px solid #dbe3ef;
    padding-left: 18px;
}

.timeline-item {
    margin-bottom: 14px;
    position: relative;
}

.timeline-item:before {
    content: "";
    position: absolute;
    left: -27px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: var(--app-accent);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #dbe3ef;
}

.login-wrapper {
    min-height: calc(100vh - 56px);
    display: grid;
    place-items: center;
}

.login-card {
    width: 100%;
    max-width: 440px;
}

.checklist-done {
    text-decoration: line-through;
    opacity: .65;
}

.favorite-star {
    color: #f0b429;
    font-size: 1.2rem;
}

.quick-pill {
    border-radius: 999px;
    padding: .35rem .7rem;
    background: #eef4ff;
    display: inline-flex;
    gap: .35rem;
    align-items: center;
    font-size: .9rem;
}

.ampel-dot {
    width: 14px;
    height: 14px;
    display: inline-block;
    border-radius: 50%;
}

.ampel-red { background: #dc3545; }
.ampel-yellow { background: #ffc107; }
.ampel-green { background: #198754; }

@media (max-width: 768px) {
    .app-container {
        padding: 14px;
    }
}


.task-done {
    text-decoration: line-through;
    opacity: .65;
}

.template-card {
    transition: transform .12s ease, box-shadow .12s ease;
}

.template-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
}

.admin-box {
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
}
