/* ========================
   STILE GLOBALE LOGIN
   ======================== */

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    width: 100%;
    max-width: 350px;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
    z-index: 1;
}

h2 {
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

label {
    display: block;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 6px;
    text-align: left;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #26a69a;
    outline: none;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #26a69a;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #1e8b78;
}

.error {
    color: #e53935;
    margin-top: 15px;
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================
   STILE LOGHI HEADER
   ======================== */

.header-logos {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 30px;
    box-sizing: border-box;
    pointer-events: none; /* I loghi non interferiscono con clic */
}

.logo {
    /* max-height: 80px; */
    height: 180px;
    width: 175px;
}

.logo-left {
    align-self: flex-start;
}

.logo-right {
    align-self: flex-start;
}


/* ===== RESPONSIVE ===== */
* { box-sizing: border-box; }

img {
  max-width: 100%;
  height: auto;
}

/* Tablet */
@media (max-width: 1024px) {
  body {
    padding: 10px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  nav, .menu, .container {
    flex-direction: column !important;
  }

  table {
    width: 100%;
    font-size: 14px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  button, input {
    width: 100%;
  }
}
