body {
    background-color: #f8f9fa;
}

.card {
    margin-top: 20px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

h3 {
    font-weight: bold;
    color: #333;
}


.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1055;
}

.toast {
    background-color: #0d6efd;  /* Change this to match your theme */
    color: white;
}

.toast .btn-close-white {
    filter: invert(1);
}


.error-message {
    color: red;
    font-size: 0.875rem; /* Slightly smaller text */
    margin-top: 0.25rem;  /* Adds a bit of space between the field and the error message */
    background-color: #f8d7da;
    padding: 0.5rem;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

ul.errorlist {
    color: red;
    font-size: 0.875rem;
    background-color: #f8d7da;
    padding: 0.5rem;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    list-style: none; /* Removes bullet points */
}

@page {
    size: A4;
    margin: 0; /* Remove page margins */
}


/* Sidebar */
.sidebar {
    height: 100vh;
    position: fixed;
    top: 56px; /* adjust to match your header height */
    left: 0;
    width: 220px;
    background-color: #f8f9fa;
    padding-top: 1rem;
    border-right: 1px solid #dee2e6;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar .nav-link {
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    display: block;
}

.sidebar .nav-link:hover {
    background-color: #e9ecef;
    border-radius: 4px;
}

main {
    margin-left: 220px;
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .sidebar {
        position: relative;
        height: auto;
        width: 100%;
        top: 0;
    }

    main {
        margin-left: 0;
    }
}

