body{
  padding: 25px;
}
.title {
	color: #5C6AC4;
}
.field-group-1{
  font-weight: bold;
}
.field-group-2{
  font-weight: normal;
  margin-top: 15px;
  margin-bottom: 15px;
}

.heading-1{
    font-size: 12px;
}


.inline-fields {
  display: flex;
  gap: 20px;
}
.inline-fields .field-group {
  flex: 1;
}



.player{
    margin-bottom: 15px;
    margin-top: 15px;
}

.check-box{
  margin-top: 15px;
  margin-bottom: 15px;
}

:root {
  --gap: 20px;
  --border: #d0d7de;
  --ink: #111827;
  --muted: #6b7280;
  --accent: #065f46;
  --accent-2: #064e3b;
  --bg-soft: #f9fafb;
}

* { box-sizing: border-box; }
body { font-family: Arial, Helvetica, sans-serif; margin: 20px; color: var(--ink); }
h2 { margin-top: 20px; text-align: center; font-size: 15px; }
h3 { text-align: left; font-size: 16px; margin: 0 0 10px; }
.section { border: 1px solid var(--border); padding: 20px; margin-bottom: 20px; border-radius: 10px; background: #fff; }
.field-group { margin-bottom: 15px; }
.field-group label { display: block; font-weight: bold; margin-bottom: 6px; }
.field-group input, .field-group select, .field-group textarea { width: 100%; padding: 8px; border: 1px solid var(--border); border-radius: 6px; }
.inline-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); }

/* Nested discipline layout */
.discipline-list { display: grid; gap: 12px; }
.discipline-item { padding: 10px; border: 1px dashed var(--border); border-radius: 8px; background: var(--bg-soft); }
.discipline-head { display: flex; align-items: center; gap: 10px; font-weight: bold; }
.indent { margin-left: 2ch; padding-left: 1ch; border-left: 2px solid var(--border); margin-top: 8px; }
.indent.events { margin-left: 4ch; }
.muted { color: var(--muted); font-size: 12px; }

/* Photo canvas */
.photo-wrap { display: grid; gap: 10px; }
.canvas-frame { width: 320px; height: 320px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; position: relative; background: #fff; }
#photoCanvas { width: 100%; height: 100%; display: block; }
.photo-controls { display: flex; gap: 8px; }
.photo-controls button { flex: none; padding: 8px 10px; border: none; border-radius: 6px; background: var(--accent); color: #fff; cursor: pointer; }
.photo-controls button:hover { background: var(--accent-2); }

button[type="submit"] { width: 100%; padding: 12px; font-size: 16px; background: var(--accent); color: #fff; border: none; border-radius: 8px; cursor: pointer; }
button[type="submit"]:hover { background: var(--accent-2); }

.declaration { font-size: 13px; line-height: 1.5; margin-top: 10px; padding: 10px; background: #f9f9f9; border: 1px solid var(--border); border-radius: 8px; }

@media (max-width: 480px) {
  .canvas-frame { width: 100%; height: 260px; }
}

/* Add to your style.css file */

#previewSection,
#submitButton {
    display: none;
}

#previewButton {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background: #1e40af; /* A new color for the preview button */
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 20px;
}
#previewButton:hover {
    background: #1e3a8a;
}

/* Add to your style.css file */

#editButton {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background: #4b5563; /* A neutral color */
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
}
#editButton:hover {
    background: #374151;
}
