body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    min-height: 100vh;
}

.card-body {
  padding: 20px;
}

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

label {
  display: block;
  margin-bottom: 5px;
}

input {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.table tr {
  cursor: pointer;
}

.table tr:hover {
  background-color: #eef;
}

.form-text {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #666;
}

.submit-btn {
  background-color: #4caf50;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #45a049;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding: 20px;
}

.card-custom {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: box-shadow 0.3s ease;
  /*margin-left: 35%;*/
}

.card-error {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: box-shadow 0.3s ease;
  background-color: blanchedalmond;
}

.card-chain {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: box-shadow 0.3s ease;
  margin-top: 30px;
}

.titolo {
  font-family: "Open Sans", sans-serif;
  color: #578ebe !important;
  margin-bottom: 50px;
  font-weight: bold;
  font-size: large;
}

.card-chain:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.card-custom:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.card-custom h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.card-custom p {
  font-size: 1rem;
  color: #555;
}

.card-custom b {
  color: #45a049;
}

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

.table th,
.table td {
  padding: 12px 15px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid #ddd;
}

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

.table td {
  color: #666;
}

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

.table-striped tbody tr:hover {
  background-color: #eef;
}

/* Colori per gli stati */
.danger {
  color: #ff4c4c;
}

.info {
  color: #3498db;
}

.small-table .danger,
.small-table .info {
  font-weight: bold;
}

.selected {
  color: #3498db;
  text-decoration: none !important;
  font-weight: bold;
  background-color: #34dbd3 !important;
}

a.eliapp:hover,
a.elipri:hover {
  color: #2c8ac6;
  text-decoration: underline;
}

.no-underline {
    text-decoration:none;
}

.hash-block,
.hash-block span,
.hash-block a {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.hash-block code,
.titolo {
    word-break: break-all;
    white-space: pre-wrap;
}

.card-esito-wrapper {
    display: flex;
    flex-wrap: wrap; /* consente al secondo blocco di andare sotto se lo schermo è piccolo */
    gap: 20px;       /* distanza tra i blocchi */
    justify-content: center; /* centraggio orizzontale */
}

.card-esito-wrapper .card-custom {
    flex: 1 1 400px; /* larghezza minima 400px, espandibile */
}

.card-esito-wrapper .card-file {
    flex: 0 0 250px; /* blocco secondario più piccolo */
}
