@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans/DMSans-VariableFont_opsz_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

body {
  background-image: url("../images/sfondo.jpg");
  background-size: cover;
  font-family: 'DM Sans', sans-serif;
  margin: 0;
}

.navbar {
  background-color: #000 !important;
  padding: 3rem 2rem;
  position: relative;
  border-top: 10px solid #000;
}

.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1.5cm;
  right: 1.5cm;
  height: 1px;
  background-color: white;
}

.navbar-brand img {
  height: 50px;
}

.nav-link {
  color: #fff !important;
  margin: 0 10px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #b197fc !important;
}

.text-underline {
  text-decoration: underline;
  text-underline-offset: 8px;
}

@media (min-width: 992px) {
  .navbar-nav {
    gap: 5em;
  }
}

@media (max-width: 992px) {
  .navbar-nav {
    gap: 1em;
  }
}

.btn-contattaci {
  background-color: #8f77f4;
  color: white;
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 28px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  margin-left: 5px;
}

.btn-contattaci:hover {
  background-color: #695fbc;
  color: white;
}

.btn-outline-white {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  border-radius: 30px;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.btn-outline-white:hover {
  background-color: white;
  color: #14141e;
}

.form-control-glass,
.form-control-custom {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  color: white;
  box-shadow: none;
  transition: border-bottom-color 0.3s ease;
}

.form-control-glass:focus,
.form-control-custom:focus {
  border-bottom: 1px solid #9b7aff;
  background-color: transparent;
  color: white;
  box-shadow: none;
}

.modal-content.contact-modal-custom {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  color: white !important;
}

.contact-modal-custom .modal-header {
  justify-content: center !important;
}

.contact-modal-custom .modal-title {
  text-align: center;
  margin-bottom: 1rem;
  width: 100%;
  font-weight: bold;
}

.contact-modal-custom .btn-close {
  filter: invert(1);
}

.contact-modal-custom .btn-close:focus {
  outline: none;
  box-shadow: none;
}

#SupportModal .modal-content.contact-modal-custom {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  color: white !important;
}

.contact-modal-custom .btn-close,
#SupportModal .btn-close {
  filter: invert(1);
}

.contact-modal-custom .btn-close:focus {
  outline: none;
  box-shadow: none;
}

#SupportModal .modal-header {
  justify-content: center !important;
}

#SupportModal .modal-title {
  text-align: center;
  margin-bottom: 1rem;
  width: 100%;
  font-weight: bold;
}

#mfaModal .modal-content {
  background-color: rgba(20, 20, 30, 0.95);
  color: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#mfaModal .btn-close {
  filter: invert(1);
}

#mfaModal .form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 0;
  box-shadow: none;
}

#mfaModal .btn-primary {
  background-color: #7b4fe0;
  border: none;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

#mfaModal .btn-primary:hover {
  background-color: #8c62ff;
}

.card-left-semi-transparent {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  color: white;
  padding: 2rem;
  transition: all 0.3s ease;
  min-height: 380px;
}

.card-left-semi-transparent.with-alert {
  min-height: 440px;
}

.btn-violet {
  background-color: #7b4fe0;
  border: none;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out;
}

.btn-violet:hover {
  background-color: #8c62ff;
}

.alert {
  border-radius: 0.5rem;
  animation: fadeInDown 0.3s ease-in-out;
  margin-bottom: 0;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#mfa-qr {
  width: 60%;
}

.footer {
  background-color: #000;
  color: white;
  font-family: 'DM Sans', sans-serif;
}

.footer-link,
.footer-text {
  color: #ddd;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.footer-link:hover {
  color: #8b5cf6;
  text-decoration-color: #8b5cf6;
}

.footer h6 {
  color: #8b5cf6;
}

.footer .bi-linkedin {
  transition: color 0.3s;
}

.footer .bi-linkedin:hover {
  color: #0a66c2;
}

.captcha-box canvas {
  border: 1px solid #ccc;
  display: block;
  margin-bottom: 10px;
}

.trial-banner {
  background-color: #ff9c00;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-more{
  background-color: #8f77f4;
  color: white;
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 28px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.btn-more:hover {
  background-color: #a88ff4;
}