html, body {
    height: 100%;
    margin: 0;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Sørger for, at siden fylder hele højden */
}

main {
    flex: 1; /* Fyld tilgængelig plads mellem header og footer */
}

.sticky-footer {
    margin-top:20px;
    background-color: #343a40;
    color: white;
    border-top: 1px solid #6c757d;
    text-align: center;
    padding: 10px 0;
}

.title{font-size:10px}

/* Hjem-knap styling */
.home-button {
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
    background-color: #ffffff;
    color: #000;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .home-button:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }

/* Generel knap-styling */
button {
    border-radius: 8px;
}

/* Marker valgt medarbejder */
.selected {
    background-color: yellow;
    font-weight: bold;
}

/* Sticky footer styling */
.sticky-footer {
    position: sticky;
    bottom: 0;
    z-index: 1030;
    background-color: #e2e2e2;
    color: white;
    border-top: 1px solid #6c757d;
}

/* Kort styling */
.card {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
        background-color: #f8f9fa;
    }

.card-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #212529;
}

.card-text {
    font-size: 1.2rem;
    color: #6c757d;
}

/* Employee-list styling */
.employee-list {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
    z-index: 1050;
    width: 90%;
    max-width: 400px;
}

    .employee-list .card {
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
        border-radius: 10px;
        transition: box-shadow 0.2s ease, transform 0.2s ease;
    }

        .employee-list .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        }

    .employee-list .list-group-item {
        font-size: 1rem;
        padding: 10px;
        cursor: pointer;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

        .employee-list .list-group-item:hover {
            background-color: #f8f9fa;
            color: #007bff;
        }

/* Navbar button styling */
.navbar .btn {
    font-size: 1.2rem;
    padding: 12px 25px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

    .navbar .btn:hover {
        transform: scale(1.05);
        background-color: #e9ecef;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

/* Responsivt layout til små skærme */
@media (max-width: 480px) {
    .card {
        padding: 15px;
        font-size: 1rem;
    }

    .card-title {
        font-size: 1.6rem;
    }

    .card-text {
        font-size: 1rem;
    }

    .home-button {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }
}

/* Scanner UI styling */
.scanner-ui {
    padding: 1rem;
}

/* Form grid styling */
.form-grid {
    max-width: 600px;
    margin: 0 auto;
}

/* Table styling */
table {
    font-size: 1rem;
}
.modal-backdrop {
    z-index: 1040; /* Mindre end modalens z-index */
}

.modal {
    z-index: 1050;
}