:root {
    --bar-height: 55px;
    --title-height: 55px;
    --footer-height: 50px;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: "Raleway", sans-serif;
}

.top-bar {
    flex: 0 0 auto;
    height: calc(var(--bar-height));
    background-color: #333;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
}

.logo {
    font-size: 18px;
    font-weight: bold;
}

.content {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 10px;
    background: #f0f0f0;
    min-width: 600px;
    min-height: 300px;
}

.content div {
    border-radius: 10px;
}

/* Title header */

.title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    margin-bottom: 5px;
    height: calc(var(--title-height) - 5px);
}

#title-label {
    font-size: 20px;
}

#back-button {
    float: right;
}

.footer {
    text-align: center;
    font-size: 12px;
    margin: 0 auto;
    height: var(--footer-height);
}

.footer a {
    color: #1d3f64;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Bootstrap 5 Buttons styles */

button {
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background-color: #1d3f64 !important;
    border-color: #1d3f64 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background-color: #16314f !important;
    border-color: #16314f !important;
}

.btn-outline-primary {
    background-color: white !important;
    border-color: #1d3f64 !important;
    color: #1d3f64 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
    background-color: #1d3f64 !important;
    border-color: #1d3f64 !important;
    color: white !important;
}
