html, body {
    height: 100%;
    margin: 0;
}
* {
    box-sizing: border-box;
}
body {
    font-family: sans-serif;
    background:rgb(246, 246, 246);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    margin: 0 auto;
}

.login-container > div {
    padding-top: 2rem;
}

.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 1rem;   
}

.title {
    flex: 1;
}

.header-logo {
    width: 140px;
    margin-right: 20px;
}

.logout {
    self-align: flex-end;
    text-decoration: none;
    margin-right: 1rem;
}

.btn {
    padding: 8px 14px;
    background-color: #75b325;
    border-radius: 4px;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
    display: inline-block;
}

th:first-child {
    border-top-left-radius: 6px;
}

th:last-child {
    border-top-right-radius: 6px;
}

.btn:hover {
    background-color:rgb(120, 166, 61);
}

.login-input {
    padding: 8px 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
}
.input-error {
    font-size: 12px;
}

.toolbar {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    padding: 8px 10px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 5px;
}

.btn-reload {
    width: 120px;
}

#product-table {
    flex: 1;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

#product-table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #75b325;
    color: white;
}

#product-table th, #product-table td {
    padding: 8px;
}

.product-row {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tray-details {
    display: flex;
    flex-direction: row;


}
.tray-details-date {
    width: 40px;
}

.footer {
    margin-top: auto;
    background-color:rgb(231, 231, 231);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: row;
    font-size: .9rem;
    justify-content: space-between;
  }

@media only screen and (min-width: 576px) {
    .main {
        padding: 1.5rem ;
    }
    .footer {
        padding: 0.5rem 1.5rem;
    }
  }
  

@media only screen and (min-width: 1400px) {
    .main {
        padding: 1.5rem 14rem;
    }

    .header {
        padding-top: .5rem;
    }

    .footer {
        padding: 0.5rem 14rem;
    }
  }

  @media only screen and (max-width: 576px) {
    .header-logo {
        display: none;
    }

    .main {
        padding: 0.1rem 0.5rem;
    }

    .footer {
        padding: 0 0.5rem ;
    }
  }

