@import url('./base.css');

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.top-bar {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10;
}

/* Brand */
.brand {
    text-align: center;
    margin-bottom: 32px;
}

.brand-name {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.brand-name span { color: var(--orange); }

.brand-tag {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Join card */
.join-card {
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.field-group {
    display: flex;
    flex-direction: column;
}

/* Code input special treatment */
#codeInput {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-align: center;
    text-transform: uppercase;
    padding: 14px;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.teacher-cta {
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}

.teacher-cta a {
    color: var(--purple);
    font-weight: 600;
    margin-left: 4px;
}

.teacher-cta a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 400px) {
    .join-card { max-width: 100%; }
}