/* Center page layout */
:root {
  --card-bg: #fff;
  --page-bg: #fafaf4;
  --accent: #2b6cb0;
}

/* Local font added by user */
@font-face {
  font-family: "ABCMaxiRound";
  src: url("assets/font/ABCMaxiRound-Regular-Trial.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
html,
body {
  height: 100%;
  margin: 0;
  font-size: 30px;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--page-bg);
  font-family: "ABCMaxiRound", Inter, system-ui, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
}

.center-root {
  width: 100%;
  max-width: 960px;
  padding: 24px;
}
.center-card {
  padding: 36px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.logo {
  max-width: 320px;
  height: auto;
  display: block;
}
.text-box {
  width: 100%;
  display: flex;
  justify-content: center;
  font-size: 28px;
  resize: vertical;
  text-align: center;
  align-items: center;
  box-sizing: border-box;
}

.controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}
.file-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f3f6fb;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
  color: #1f2937;
  border: 1px solid #e8eefb;
  cursor: pointer;
}
.file-label input {
  display: none;
}

@media (max-width: 600px) {
  .center-card {
    padding: 20px;
  }
  .logo {
    max-width: 220px;
  }
  .textbox {
    font-size: 14px;
  }
}
