/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #fbfbfb;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container {
  display: flex;
  width: 100%;
  height: 100%;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
hr {
  margin-top: 30px;
  color: grey;
  border: solid 0.5px #f2f2f2;
  margin-bottom: 30px;
}
.container-svg{
  margin: 0 2rem 1rem 2rem;
    display: flex
;
    justify-content: center;
}
.text-info {
  text-align: center;
  font-size: 14px;
  color: gray;
  line-height: 1.3rem;
}
.text-color-primary {
  color: #1e293b;
  font-style: italic;
}
.left-panel {
  flex: 1;
  background-color: #08263e;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px;
  text-align: center;
}

.left-panel h1 {
  font-size: 50px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.right-panel {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-form {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.login-form h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #1e293b;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
  color: #1e293b;
}
.checkbox {
  display: flex;
  align-items: center;
}

.form-group > input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.checkbox {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #1e293b;
}

.checkbox input {
  margin-right: 5px;
}

input[type="checkbox"] {
  vertical-align: bottom;
}

.form-links {
  margin-top: 10px;
  text-align: right;
}

.form-links a {
  color: #0078d7;
  text-decoration: none;
  font-size: 0.9rem;
}

.form-links a:hover {
  text-decoration: underline;
}

.login-button {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  background-color: #08263e;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.login-button:hover {
  background-color: #0056a3;
}

.password-group {
  position: relative;
}

.password-container {
  display: flex;
  align-items: center;
  position: relative;
}

.password-container input {
  flex: 1;
  padding-right: 40px; /* Spazio per l'icona */
}

.toggle-password {
  position: absolute;
  right: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  top: 33px;
  justify-content: center;
}
.relative {
  position: relative;
}
.mb-4 {
  margin-bottom: 2rem;
}

/*Stile pagina pass sbagliata*/

.error-container {
  text-align: center;
  width: 100%;
  max-width: 500px;
  background: #fff;
  color: #333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 5%);
}

.error-box h1 {
  font-size: 2rem;
  color: #f44336;
  margin-bottom: 15px;
}

.error-box p {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.retry-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1rem;
  color: #fff;
  background: #f44336;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.retry-button:hover {
  background: #d32f2f;
}

/*Stile pagina errore interno*/
.error-container {
  text-align: center;
  width: 100%;
  max-width: 600px;
  background: #fff;
  color: #333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 5%);
}

.error-box h1 {
  font-size: 2rem;
  color: #ff5722;
  margin-bottom: 15px;
}

.error-box p {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.error-box ol {
  text-align: left;
  margin: 20px 0;
  padding-left: 20px;
}

.error-box ol li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #555;
}

.retry-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1rem;
  color: #fff;
  background: #ff5722;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.retry-button:hover {
  background: #e64a19;
}

.container-flex {
  font-family: Arial, sans-serif;
  background: linear-gradient(120deg, #f5f5f5, #e8f5e9);
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}
.text-center {
  text-align: center;
}

.button-link{
  background-color: #08263e;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 7px;
}
.button-link-utente-convertito{
  background-color: #4caf50;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 7px;
}

.form-action{
  margin: 0 auto;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.success-container {
  display: flex;
  flex-direction: column;
  width: 1200px;
  max-width: 1200px;
  background: #fff;
  color: #333;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 5%);
  overflow: hidden;
  padding: 30px;
  gap: 20px;
}

.success-container.two-columns {
  flex-direction: row;
}

/* Pannello di testo */
.success-box {
  flex: 1;
}

.success-box h1 {
  text-align: center;
  font-size: 2rem;
  color: #4caf50;
  margin-bottom: 15px;
}

.success-box p {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.success-box a.success-link {
  color: #4caf50;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.success-box a.success-link:hover {
  color: #388e3c;
}

.certificates-table-container {
  flex: 1;
  padding: 20px;
}

.certificates-table {
  width: 100%;
  border-collapse: collapse;
}

.certificates-table th,
.certificates-table td {
  padding: 10px;
  text-align: left;
  border: 1px solid #ddd;
}

.certificates-table th {
  background-color: #f4f4f4;
  color: #333;
  font-weight: bold;
}

.certificates-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.certificates-table a {
  color: #08263e;
  text-decoration: none;
}

.certificates-table a:hover {
  text-decoration: underline;
}

.certificates-table-container.hidden {
  display: none;
}

.info-container {
  width: 100%;
  max-width: 1200px;
  background: #fff;
  color: #333;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 5%);
  padding: 30px;
}

.info-box h1 {
  font-size: 2rem;
  color: #08263e;
  margin-bottom: 20px;
  text-align: center;
}

.info-box p {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.info-box a.info-link {
  color: #08263e;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.info-box a.info-link:hover {
  color: #004d40;
}
.download-link {
  margin-right: 10px;
}

.certificates-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.certificates-table th {
  background-color: #f4f4f4;
  color: #333;
  font-weight: bold;
  text-align: center;
}

.certificates-table td {
  text-align: center;
}

.certificates-table a svg {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.certificates-table a svg:hover {
  transform: scale(1.2);
  stroke: #08263e;
}

@media (max-width: 768px) {
  .info-container {
    padding: 20px;
  }
  .info-box h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .success-container.two-columns {
    flex-direction: column;
  }
}
