html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Stili upload */
.upload-container {
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: #fafafa;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.drop-zone {
  padding: 30px;
  border: 2px dashed #d0d7de;
  border-radius: 6px;
  text-align: center;
  color: #666;
  margin-bottom: 12px;
  cursor: pointer;
}
.drop-zone.drag {
  background: #eef6ff;
  border-color: #7fb3ff;
}
.btn {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #cfcfcf;
}
.upload-primary {
  background: linear-gradient(180deg,#0b76e3,#065fae);
  color: #fff;
  border: none;
  padding: 10px 16px;
  margin-top: 12px;
}
.file-list { list-style:none; padding:0; margin:12px 0; }
.file-item { padding:8px 0; border-bottom:1px solid #eee; }
.file-info { margin-bottom:6px; }
.progress { height:8px; background:#f0f0f0; border-radius:4px; overflow:hidden; }
.progress .bar { height:100%; background:linear-gradient(90deg,#7cc4ff,#2b8cfb); width:0%; transition:width 0.2s ease; }
.status { margin-top:6px; }
.status .ok { color:green; font-weight:600; }
.status .err { color:#c0392b; font-weight:600; }
