@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: local('Material Icons'), local('MaterialIcons-Regular'),
    url(../fonts/MaterialIcons-Regular.woff2) format('woff2'),
    url(../fonts/MaterialIcons-Regular.woff) format('woff'),
    url(../fonts/MaterialIcons-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
}

.material-icons {
    font-family: 'Material Icons', serif;
    font-weight: normal;
    font-style: normal;
    font-size: 24px; /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    /* Support for IE. */
    font-feature-settings: 'liga';
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    background-color: #e4edf1 !important;
}

/* Ensure the main content doesn't get squeezed */
main {
    flex-shrink: 0;
}

/* Optional: Add a media query to hide decorative footer images on very small screens */
@media (max-height: 500px) {
    footer img {
        display: none;
    }
}

.navbar {
    background: #142735 !important;
    margin-bottom: 2rem !important;
    height: 96px !important;
    border-radius: 0;
}

a {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #56bdff !important;
    text-decoration: none !important;
}

a:hover {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #4a5b65 !important;
    text-decoration: none !important;
}

li {
    display: inline-block;
}

ul {
    padding: 0;
    margin: 0;
    padding-inline-start: 0 !important;
    list-style-position: inside;
}

ul:not(.browser-default) {
    padding-left: 0;
    list-style-type: none;
}

kbd {
    color: white;
    background-color: black;
}

.form-control {
    border-color: #ced4da !important;
}

.form-control:focus {
    box-shadow: none !important;
    border-color: #6c757d !important;
    outline: none !important;
}

.form-check .form-check-input {
    float: left;
    margin-left: -1.5em;
    border: 2px solid #4a5b65;
}

.form-check-input:checked {
    border: 2px solid #4a5b65;
    background-color: #ced4da;
    color: #142735;
    padding: 1px;
}

.form-check label {
    float: left;
}

.input-group {
    height: 58px;
}

.input-group-text {
    width: 46px;
}

.toggle-password {
    cursor: pointer;
}

.card {
    background: #ffffff !important;
    border-color: transparent !important;
}

.btn-primary {
    background-color: #da291c;
    border-color: transparent !important;
    height: 58px;
    font-size: larger;
    font-weight: lighter;
    width: 100%;
}

.btn-secondary {
    color: #4a5b65 !important;
    background-color: transparent;
    border-color: #4a5b65 !important;
    height: 58px;
    font-size: larger;
    font-weight: lighter;
    width: 100%;
}

.btn-secondary:hover {
    color: #ffffff !important;
}

.btn-toggle-password-visibility {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    background-position: center;
    border: 1px solid red;
}

.login-container {
    border-radius: 8px !important;
    color: #001524 !important;

    h1.title {
        font-weight: bold;
        font-size: 24px;
        margin-bottom: 2rem;
    }

    .sub-title {
        text-align: left;
    }

    h2.sub-title {
        font-weight: bold;
        font-size: 16px;
    }
}

.alert {
    border: 0 solid transparent;
    border-radius: 0;
    min-height: 64px;
    width: 100%;
}

.alert-success {
    background-color: #cff4fc;
    border-left: 4px solid #9eeaf9;
}

.alert-danger {
    background-color: #f8d7da;
    border-left: 4px solid #f1aeb5;
}
.alert-warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffe69c;
}

.alert-info {
    background-color: #f8f9fa;
    border-left: 4px solid #dee2e6;
}

.qr-code-card {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 8px !important;
    background: #f2f6f8;
    color: #001524 !important;
}

.footer {
    color: grey;
    font-size: 12px;
}

.validation-summary-errors {
    font-size: 1.1rem;
}