﻿html {
    font-size: 16px;
}

body {
    background: #f4f6f8;
    /* Platz für die untere Navigationsleiste */
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

.app-navbar {
    background: #1f5f8b;
}

.app-title {
    font-size: 1.4rem;
    font-weight: 700;
}

/* Platz für das Firmenlogo zwischen Titel und "Abmelden". */
.app-logo {
    width: 72px;
    height: 32px;
    object-fit: contain;
}

.app-main {
    max-width: 560px;
}

.status-badge {
    font-size: 1rem;
    padding: .45em .8em;
}

.key-figure {
    font-size: 1.8rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.punch-button {
    padding: 1.1rem;
    font-size: 1.35rem;
}

.app-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    background: #fff;
    border-top: 1px solid #dee2e6;
    padding-bottom: env(safe-area-inset-bottom);
}

    .app-tabbar a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: .5rem 0 .6rem;
        font-size: .8rem;
        color: #6c757d;
        text-decoration: none;
    }

        .app-tabbar svg {
            width: 24px;
            height: 24px;
        }

        .app-tabbar a.active {
            color: #1f5f8b;
            font-weight: 600;
            box-shadow: inset 0 3px 0 #1f5f8b;
        }

/* Startseite: Kacheln der Anwendungen, auf dem Handy zwei nebeneinander. */
.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .75rem;
}

.tile {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: 1rem;
    min-height: 130px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: .5rem;
    color: #212529;
    text-decoration: none;
}

    .tile:hover,
    .tile:focus {
        color: #212529;
        text-decoration: none;
        border-color: #1f5f8b;
        box-shadow: 0 0 0 1px #1f5f8b;
    }

.tile-icon {
    width: 32px;
    height: 32px;
    margin-bottom: .5rem;
    color: #1f5f8b;
}

.tile-title {
    font-weight: 600;
    font-size: 1.05rem;
}

.tile-info {
    font-size: .85rem;
    color: #6c757d;
}

/* Urlaub: Tage in der Vorschau des Antrags */
.key-figure-small {
    font-size: 1.3rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.balance-list dd,
.balance-list dt {
    margin-bottom: .35rem;
}
