body {
    font-family: Montserrat, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    color: #333;
}

.login-wrapper {
    width: 300px;
    margin: 10vh auto;
    padding: 2em;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

input, button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    font-size: 1em;
}

button {
    background-color: #4999c2;
    color: white;
    border: none;
    cursor: pointer;
}

.error {
    color: red;
    font-weight: bold;
}

.invalid-tooltip {
  color: #fff;
  background-color: #dc3545;
  padding: 6px 10px;
  border-radius: 4px;
  margin-top: 5px;
  font-size: 0.85rem;
  position: relative;
  z-index: 10;
}

.is-invalid {
  border-color: #dc3545 !important;
}
.fascia-alta-wrapper {
    position: relative;
    background-color: #222;
    color: white;
    padding: 8px 16px;
    height: 48px; /* forza un'altezza visibile */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fascia-alta-left,
.fascia-alta-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fascia-alta-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
}

.fascia-alta-left {
    float: left;
}

.fascia-alta-right {
    float: right;
}

.fascia-alta-left a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.fascia-alta-left a:hover {
    color: gold;
}

.fascia-alta-right a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.fascia-alta-right a:hover {
    color: gold;
}

.fascia-alta i.fa-user,
.fascia-alta i.fa-sign-out-alt {
    cursor: pointer;
    font-size: 1.2em;
}

.fascia-alta img {
    vertical-align: middle;
    height: 1em;
    margin-right: 5px;
}

/* Responsive fallback */
@media (max-width: 576px) {
    .fascia-alta-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .fascia-alta-left, .fascia-alta-right {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
}
.articolo {
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 0.25rem;
}
