/* Custom CSS for Tabucket Web Application */

/* Sticky Footer */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
    min-height: 0;
}

footer {
    flex-shrink: 0;
    margin-top: auto !important;
}

/* Ensure utility class .mt-5 does not prevent footer sticking */
footer.mt-5 {
    margin-top: auto;
}

/* Dropdown menu positioning to prevent horizontal scroll */
.dropdown-menu {
    right: 0;
    left: auto;
    min-width: 160px;
}

/* Ensure navbar doesn't cause horizontal scroll */
.navbar-nav {
    flex-wrap: nowrap;
}

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}

/* Custom styles */
.navbar-brand {
    font-weight: bold;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.btn {
    border-radius: 0.375rem;
}

.alert {
    border-radius: 0.375rem;
}