/* Stile per i campi custom */
.wscfp-campi-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.wscfp-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 120px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wscfp-icon {
  font-size: 32px;
  margin-bottom: 10px;
  color: #444;
}

.wscfp-label a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

/* Overlay per contenuti protetti da login */
.nologged-layer {
  position: relative;
  display: block;
  margin-top: 30px;
}

.nologged-layer .nologged-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.7);
  z-index: 1;
  backdrop-filter: blur(4px);
  border-radius: 8px;
}

.nologged-layer .nologged-message {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 30px;
  color: white;
}

.nologged-layer .nologged-message p {
  font-size: 20px;
  margin-bottom: 20px;
}

.metaltecnica-login-button {
  background: #ffd500;
  color: #000;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.metaltecnica-login-button:hover {
  background: #f0c400;
}

/* Per [video_protetto] */
.wscfp-video-protected {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 40px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.wscfp-video-overlay {
  background-color: rgba(0, 0, 0, 0.55); /* scurisce ma non sfoca */
  padding: 40px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.wscfp-video-content {
  z-index: 2;
  max-width: 90%;
}

.wscfp-video-text {
  font-size: 24px;
  margin-bottom: 20px;
  color: white;
  font-weight: 500;
}

.wscfp-video-button {
	margin-top:20px;
  background: #ffd600;
  color: #000;
  padding: 16px 30px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.wscfp-video-button:hover {
  background: #e6c200;
}