html, body {
  height: 100%;
  margin: 0;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#handsontable-container.handsontable {
  height: 100%;
}

.sponsors {
  position: fixed;
  top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.sponsors a {
  margin: 0 30px;
  display: inline-flex;
  flex-direction: column;
  border-radius: 5px;
  text-decoration: none;
  /* max-width: calc(300px + 2*20px + 2*3px); */
}

.sponsors a:hover {
  text-decoration: underline;
}

.sponsors a span {
  font-size: 14px;
  margin-bottom: 18px;
  text-align: center;
}

.sponsors div {
  width: 100%;
  text-align: center;
}

.place-your-ad-here {
  display: inline-block;
  border: 3px solid #126BCF;
  border-radius: 10px;
  color: #126BCF;
  font-weight: bold;
  padding: 10px 25px;
  text-align: center;
  line-height: 1.5;
}

/* Drop zone */
#drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 360px;
  padding: 48px 32px;
  border: 2px dashed #c5d0de;
  border-radius: 18px;
  background: #f8fafc;
  color: #64748b;
  transition: border-color 0.2s, background 0.2s;
}

#drop-zone.drag-over {
  border-color: #126BCF;
  background: #eff6ff;
  color: #126BCF;
}

#drop-zone svg {
  opacity: 0.5;
}

#drop-zone.drag-over svg {
  opacity: 1;
}

.drop-title {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #334155;
}

.drop-sub {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}

#input-file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.browse-btn {
  display: inline-block;
  padding: 9px 24px;
  background: #126BCF;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
}

.browse-btn:hover {
  background: #0f5ab8;
}
