/* ALLEGATO CONTACT FORM */
.upload-wrapper {
  position: relative;
  width: 100%;
	margin-bottom: 20px;
}

.upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 40px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s ease;
  background: #fff;
  text-align: center;
}

.upload-box i {
  font-size: 40px;
  color: #555;
}

.upload-box span {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* Form Autolettura */
.inline-form-custom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--column-spacing);
}

/* Tooltip */
.keydesign-label > p {
	position: relative;
}

.tooltip-custom {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    width: 18px;
    height: 18px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--e-global-color-primary);
    font-size: 14px;
    font-weight: normal;
    border-radius: 12px;
    border: 1px solid var(--e-global-color-primary);
    cursor: pointer;
}