﻿* { box-sizing: border-box; }
body { margin: 0; background: #f8fafc; color: #334155; font-family: "Prompt", Tahoma, "Segoe UI", sans-serif; line-height: 1.6; }
.hackathon-page { width: 100%; max-width: 1140px; margin: auto; padding: 20px; }
.page-header { margin-bottom: 18px; padding: 24px; color: #fff; background: linear-gradient(135deg, #166534, #0f766e); border-radius: 14px; box-shadow: 0 8px 24px rgba(4,120,87,.18); }
.page-header h1 { margin: 4px 0 8px; font-size: clamp(24px, 4vw, 42px); line-height: 1.25; }
.page-header p { margin: 0 0 10px; }
.content-card { margin-bottom: 18px; padding: 20px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 4px 16px rgba(15,23,42,.05); }
.content-card h2 { color: #1e293b; margin: 0 0 12px; font-size: 20px; }
.activity-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; align-items: start; }
.activity-grid a:first-child { grid-column: 1 / -1; width: min(100%, 816px); justify-self: center; }
img { display: block; width: 100%; height: auto; border: 1px solid #e2e8f0; border-radius: 10px; }
.track-image { display: block; max-width: 815px; margin: auto; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px 20px; }
.form-group-full { grid-column: 1 / -1; }
.field-label { display: block; margin-bottom: 7px; color: #475569; font-size: 14px; font-weight: 600; }
.form-control { width: 100%; min-height: 42px; padding: 8px 12px; color: #334155; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; font: inherit; }
.form-control:focus { outline: 2px solid #22c55e; outline-offset: 1px; }
.lookup { display: flex; gap: 8px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 15px; color: #fff; background: #047857; border: 0; border-radius: 8px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.button:hover, .button:focus { background: #065f46; }
.light-button { background: #fff; color: #065f46; }
.light-button:hover, .light-button:focus { background: #d1fae5; }
a { color: #047857; }
.notice { padding: 12px; border: 1px solid #a7f3d0; background: #ecfdf5; border-radius: 10px; overflow-wrap: anywhere; }
.error { color: #9f1239; font-weight: 600; }
.result { display: block; margin-top: 6px; }
.hackathon-page .student-lookup-found { color: #047857; }
@media screen and (prefers-color-scheme: dark) {
    .student-ui .hackathon-page .student-lookup-found { color: #86efac; }
}
@media (max-width: 680px) {
    .hackathon-page { padding: 12px; }
    .activity-grid, .form-grid { grid-template-columns: minmax(0,1fr); }
    .content-card, .page-header { padding: 16px; }
}
