.navbar{
    background-color: transparent;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-family: var(--font-m);
}
.navbar-brand  {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}.navbar-nav {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}.nav-item {
    margin-left: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
    transition: background-color 0.3s ease;
    cursor:pointer;
    border: unset;
    background: unset;
    font-family: var(--font-m);
}.nav-item:hover {
    background: rgba(255,255,255,0.05);
}
.invisible {
    display: none !important;
}
.form-control{
    width: 100%;
    padding: 8px;
    margin: 6px 0;
    box-sizing: border-box;
    border: none;
    border-radius: 4px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px;;
}
.min-button {
    padding: 4px 6px;
    background: var(--moss);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    height: auto;
    margin: 5px;
}   
.min-button:hover {
    background: var(--forest);
}
.fly {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login-container {
    position: relative;
    padding: 30px;
    background: transparent;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    height: 100%;
}

.login-container h2 {
    text-align: center;
    margin: 0 0 20px 0;
    color: #1a3464;
}
.doppio {
}
.doppio h2{
    text-align: left;
}
.error {
    color: #dc3545;
    background: #f8d7da;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 14px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #1a3464;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
}

.login-button {
    width: auto;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}
.annulla-button{
    width: auto;
    padding: 12px;
    background: #ff0000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}
.login-button :hover {
    background: #0056b3;
}

/* overlay e modal gestiti da app_components.css */

table {
    table-layout: fixed;
    width: 100%;
    font-size: medium;
}

table th, table td {
    /* overflow: hidden; */
    word-wrap: break-word;
    white-space: normal;
    padding: 6px 8px;
    vertical-align: top;
    height: 1em;
}
.cell-clamp {
    max-height: 2em;
    overflow: hidden;
    word-wrap: break-word;
    white-space: normal;
}


@media (orientation: portrait) {
    .login-container {
        width: 90%;
        padding: 20px;
    }
    .login-container h2 {
        font-size: 1.5rem;
    }
    .menu.active {
        display: none;
    }
}