

 
[x-cloak] { display: none !important; }  
.loader {
  border-width: 4px;
  border-style: solid;
  border-radius: 50%;
  border-top-color: transparent;
  width: 48px;
  height: 48px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========================
   TYPOGRAPHY
========================= */
label,
.label-strong {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;          /* più piccola */
  font-weight: 500;
  color: #8A96A3;           /* grigio secondario */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.value-text {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #2D3748;
}

/* =========================
   BASE
========================= */
body {
  font-family: 'Poppins', sans-serif;
  background: rgb(233 239 245);
  color: #2D3748;
}

main, .bg-\[\#EEF2F7\] {
  background-color: #cedcdf !important;
}

/* =========================
   WRAPPER (GLOW ESTERNO)
========================= */
.card-wrap {
  position: relative;
}

.card-wrap::before {
  content: "";
  position: absolute;
  inset: -80px;
  border-radius: 60px;
  background: radial-gradient(
    circle at 50% 40%,
    rgba(255,255,255,0.65),
    rgba(255,255,255,0.25),
    transparent 70%
  );
  filter: blur(45px);
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

/* =========================
   GLASS CARD
========================= */
.glass {
  isolation: isolate;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(14px);
  background: linear-gradient(90deg, #fcfcfc 0%, #e8e9ef 90%) !important;
  -webkit-backdrop-filter: blur(14px);
  border-radius: 24px;
  box-shadow: -4px -4px 10px #FFFFFF, 4px 4px 10px #A3B1C6;
}

/* =========================
   INPUT
========================= */
.input-soft {
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #2D3748;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #d1d5db;
  border-radius: 0;
  padding-right: 4rem;
  padding-left: 0.5rem;
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.input-soft::placeholder {
  color: #8A96A3;
  font-weight: 400;
}

.input-soft:focus {
  border-bottom-color: #4E6AF3;
}

/* input neumorfismo (variante incassata) */
.input-neu {
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #2D3748;
  background: #E0E5EC;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  box-sizing: border-box;
  box-shadow: inset 2px 2px 5px #A3B1C6, inset -2px -2px 5px #FFFFFF;
  outline: none;
  transition: box-shadow 0.2s ease;
}

.input-neu::placeholder {
  color: #8A96A3;
  font-weight: 400;
}

.input-neu:focus {
  box-shadow: inset 3px 3px 7px #A3B1C6, inset -3px -3px 7px #FFFFFF;
}

/* =========================
   BUTTON BASE
========================= */
.btn-soft {
  padding: 10px 14px;
  border-radius: 18px;
  background: #EEF2F7;
  box-shadow: 6px 6px 14px rgba(0,0,0,0.08), -4px -4px 10px rgba(255,255,255,0.8);
}

.btn-active {
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.8);
  box-shadow: inset 4px 4px 10px rgba(0,0,0,0.08), inset -4px -4px 10px rgba(255,255,255,0.9);
  color: #3B82F6;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(90deg, #2a8bea, #372dff);
  color: white;
  padding: 10px 14px;
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(59,130,246,0.25);
  font-weight: 300;
}

.btn-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
  width: 150px;
  height: 50px;
}

.btn-pill:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.btn-pill-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
}

.btn-text {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 300;
}
/* scrollbar minimal */
.scrollbar-minimal {
  scrollbar-width: thin;              /* Firefox */
  scrollbar-color: rgba(0,0,0,0.25) transparent;
}

.scrollbar-minimal::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.scrollbar-minimal::-webkit-scrollbar-track {
  background: transparent;
}

.scrollbar-minimal::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
}

.scrollbar-minimal::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.4);
}
.btn-save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: -4px -4px 10px #FFFFFF, 4px 4px 10px #A3B1C6;
  color: #372dff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: box-shadow 0.2s ease;
}

.btn-save:hover {
  box-shadow: -2px -2px 6px #FFFFFF, 2px 2px 6px #A3B1C6;
}

.btn-save:active {
  box-shadow: inset 2px 2px 5px #A3B1C6, inset -2px -2px 5px #FFFFFF;
}
/* =========================
   CARD HOVER
========================= */
.card-hover {
  transition: all 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}

/* =========================
   MODAL BACKDROP
========================= */
.modal-backdrop {
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
}
/* =========================
   PROJECT LIST ANIMATION
========================= */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(var(--slide-from));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-item {
  animation: fadeSlideIn 0.6s ease both;
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1500px) {
  body {
    padding-bottom: 70px;
  }

  .card-wrap::before {
    inset: -50px;
    filter: blur(35px);
  }
}
@media (max-width: 1500px) {
  main {
    padding-bottom: 80px;
  }
}
 

