/*!
Theme Name: poing
Theme URI: http://underscores.me/
Author: Ezra Molkho
Author URI: http://underscores.me/
Description: poenglishcake main site
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: poing
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

poing is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	height: 100%;
	margin: 0;
	padding: 0;
}

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

.site>main {
	flex: 1;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

h2 {
	text-align: center;
	background: white;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li>ul,
li>ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}


a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	width: 100%;
	padding: 0.55rem 0.75rem;
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	font: inherit;
	background: #fafafa;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/* Login form container */
.formInput {

	max-width: 450px;
	margin: 40px auto;
	background: #f9f9f9;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
	font-family: Arial, sans-serif;
}

/* Headings */
form h2 {
	text-align: center;
	color: #333;
	margin-bottom: 20px;
}

/* Labels and inputs */
form label {
	display: block;
	font-weight: bold;
	color: #444;
	margin-bottom: 6px;
}

form input[type="text"],
form input[type="email"],
form input[type="password"] {
	width: 100%;
	padding: 10px 12px;
	margin-bottom: 20px;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
	transition: border-color 0.2s;
}

form input[type="text"]:focus,
form input[type="password"]:focus {
	border-color: #0073aa;
	outline: none;
}

/* Remember Me checkbox */
form input[type="checkbox"] {
	margin-right: 8px;
	transform: scale(1.1);
}

/* Submit button */
form input[type="submit"] {
	background-color: #0073aa;
	color: #fff;
	font-weight: bold;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.3s;
}

form input[type="submit"]:hover {
	background-color: #005f8d;
}

/* Error message */
form p[style*="color:#c00"] {
	background: #ffe8e8;
	padding: 10px;
	border: 1px solid #c00;
	border-radius: 6px;
	color: #c00 !important;
	font-weight: bold;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.main-header {
	background-color: #f8f8f8;
	border-bottom: 1px solid #ddd;
	padding: 10px 0;
	font-family: Arial, sans-serif;
}

.header-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo img {
	height: 50px;
}

.main-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 25px;
}

.main-nav a {
	text-decoration: none;
	color: #333;
	font-weight: bold;
	padding: 8px 10px;
	border-radius: 4px;
	transition: background 0.3s;
}

.main-nav a:hover {
	background-color: #0073aa;
	color: white;
}

.site-footer {
	background-color: #f0f0f0;
	padding: 20px 0;
	font-family: Arial, sans-serif;
	font-size: 14px;
	color: #555;
	border-top: 1px solid #ddd;
	margin-top: 40px;
}

.footer-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.footer-text {
	margin-bottom: 10px;
}

.footer-nav a {
	color: #0073aa;
	text-decoration: none;
	margin: 0 10px;
}

.footer-nav a:hover {
	text-decoration: underline;
}

.footer-nav span {
	color: #aaa;
}

.signup-link {
	text-align: center;
	font-size: 14px;
	margin-top: 20px;
}

.signup-link a {
	color: #0073aa;
	text-decoration: none;
	font-weight: bold;
}

.signup-link a:hover {
	text-decoration: underline;
}

label[for="acf-field_teacher"],
label[for="acf-field_description"],
.acf-field-123456,
/* Replace with actual field keys */
.acf-field-abcdefg {
	display: none !important;
}

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site>main {
	flex: 1;
}

.student-management table {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.student-management table th,
.student-management table td {
	padding: 12px 16px;
	border: 1px solid #ddd;
	text-align: left;
}

.student-management table th {
	background-color: #f7f7f7;
	color: #333;
	font-weight: bold;
}

.student-management table tr:nth-child(even) {
	background-color: #fcfcfc;
}

.student-management table tr:hover {
	background-color: #f0f8ff;
	transition: background 0.2s ease-in-out;
}

.uploadCSVbox {
	display: inline-block;
	background-color: #f9fbff;
	border: 1px solid #ccddee;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.lists {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

/* Visually appealing UI for Add New Activity section */

#add-activity {
	background-color: #f9fbff;
	border: 1px solid #ccddee;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#add-activity h3 {
	font-size: 1.4rem;
	margin-bottom: 1rem;
	color: #003366;
}

#show-activity-form {
	background-color: #0056b3;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 1rem;
	transition: background-color 0.3s ease;
}

#show-activity-form:hover {
	background-color: #004494;
}

#add-activity-form label {
	display: block;
	margin-top: 15px;
	font-weight: bold;
	color: #333;
}

#add-activity-form select,
#add-activity-form input[type="text"],
#add-activity-form textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	margin-top: 5px;
	box-sizing: border-box;
}

#add-activity-form button[type="submit"] {
	background-color: #28a745;
	color: white;
	border: none;
	border-radius: 6px;
	padding: 10px 18px;
	margin-top: 20px;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

#add-activity-form button[type="submit"]:hover {
	background-color: #218838;
}

/* ====== COMPACT PALETTE & METRICS ====== */
:root {
	--bg: #fafafa;
	--card-bg: #ffffff;
	--primary: #2563eb;
	--primary-hover: #1d4ed8;
	--text: #111827;
	--muted: #6b7280;
	--border: #d1d5db;
	/* gray‑300 */
	--radius: 0.5rem;
	--space-xs: 0.25rem;
	--space-sm: 0.5rem;
	--space-md: 0.75rem;
}

html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: system-ui, sans-serif;
	font-size: 14px;
	background: var(--bg);
	color: var(--text);
}

.wrapper {
	min-height: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: var(--space-md);
}

.card {
	position: relative;
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
	padding: var(--space-md);
	max-width: 780px;
	width: 100%;
}

/* --- headings --- */
h2 {
	margin: 0 0 var(--space-md);
	font-size: 1.15rem;
}

h3 {
	margin: var(--space-md) 0 var(--space-xs);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--muted);
}

/* --- form grid --- */
#lessonForm {
	display: grid;
	gap: var(--space-md);
	grid-template-columns: 160px 1fr;
}

@media(max-width:680px) {
	#lessonForm {
		grid-template-columns: 1fr;
	}
}

/* --- radio column --- */
fieldset {
	border: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
}

fieldset legend {
	font-weight: 600;
	margin-bottom: var(--space-xs);
}

fieldset label {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
	cursor: pointer;
	font-size: 0.85rem;
}

fieldset input[type=radio] {
	accent-color: var(--primary);
}

/* --- inputs --- */
#panels>div {
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
}

label {
	font-size: 0.8rem;
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
}

select,
input[type=text],
input[type=number],
textarea {
	width: 100%;
	padding: 0.4rem 0.55rem;
	border: 1px solid var(--border);
	border-radius: calc(var(--radius) - 0.2rem);
	font: inherit;
	background: #fdfdfd;
}

textarea {
	resize: vertical;
	min-height: 100px;
}

/* --- button --- */
button[type=submit] {
	background: var(--primary);
	border: none;
	color: #fff;
	padding: 0.45rem 0.9rem;
	border-radius: calc(var(--radius) - 0.1rem);
	font-size: 0.85rem;
	font-weight: 500;
	cursor: pointer;
	transition: background 120ms;
}

button[type=submit]:hover {
	background: var(--primary-hover);
}

/* --- util --- */
.hidden {
	display: none !important;
}

#existing-activities {
	background: #fff;
	padding: 20px 30px;
	border-radius: 12px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	max-width: 800px;
	margin: 200px auto auto auto;
}

#existing-activities h3 {
	margin-top: 0;
	font-size: 24px;
	color: #333;
	border-bottom: 2px solid #e0e0e0;
	padding-bottom: 10px;
}

ul.lists {
	list-style-type: none;
	margin: 0;
	padding: 18px 0 0 0;
}

ul.lists li {
	padding: 16px;
	margin-bottom: 12px;
	background: #f1f3f6;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: background 0.3s ease;
}

ul.lists li:hover {
	background: #e9eef3;
}

#activityList li {
	cursor: move;
	border: 1px solid #ccc;
	margin-bottom: 10px;
	padding: 12px;
	background: #f9f9f9;
	border-radius: 6px;
}

#activityList li.drag-over {
	border: 2px dashed #0073aa;
	background: #eef;
}


#confirmOrderBtn,
#confirmOrderBtn2 {
	background-color: #0073aa;
	color: white;
	padding: 10px 16px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

#confirmOrderBtn:hover {
	background-color: #005f8d;
}

.activity-title {
	flex-grow: 1;
	font-size: 16px;
	color: #333;
	margin-right: 20px;
}

.button-group button {
	margin-left: 8px;
	padding: 6px 12px;
	font-size: 14px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.play-btn {
	background-color: #4caf50;
	color: white;
}

.edit-btn {
	background-color: #2196f3;
	color: white;
}

.result-btn {
	background-color: #ff9800;
	color: white;
}

.play-btn:hover {
	background-color: #45a049;
}

.edit-btn:hover {
	background-color: #1976d2;
}

.result-btn:hover {
	background-color: #e68900;
}

.exit-button {
	position: absolute;
	top: -3px;
	right: 10px;
	background: transparent;
	border: none;
	font-size: 20px;
	font-weight: bold;
	color: #555;
	cursor: pointer;
	transition: color 0.3s;
}

.exit-button:hover {
	color: #d00;
}


/*! 
		join-class-section
	
	*/


.join-class-section {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 40px 20px;
	background-color: #f9f9f9;
}

.join-class-box {
	max-width: 480px;
	background: white;
	border: 1px solid #ddd;
	border-radius: 12px;
	padding: 30px;
	text-align: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.join-class-box h2 {
	margin-top: 0;
	font-size: 22px;
	color: #333;
}

.join-class-box p {
	font-size: 15px;
	color: #555;
	margin-bottom: 25px;
}

.join-class-button {
	display: inline-block;
	background-color: #28a745;
	/* Fresh green */
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	padding: 12px 24px;
	border-radius: 30px;
	text-decoration: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.25s ease;
}

.join-class-button:hover {
	background-color: #218838;
	transform: scale(1.05);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Join class page */
.join-class-form-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 60px 20px;
	background: #f5f8fc;
}

.join-class-form-card {
	background: white;
	border: 1px solid #ddd;
	border-radius: 14px;
	padding: 30px;
	max-width: 400px;
	width: 100%;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
	text-align: center;
}

.join-class-form-card h2 {
	margin-top: 0;
	font-size: 24px;
	color: #333;
}

.join-class-form-card p {
	color: #555;
	font-size: 15px;
	margin-bottom: 18px;
}

.join-class-form-card input[type="text"] {
	width: 100%;
	padding: 10px 12px;
	font-size: 15px;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
	margin-top: 6px;
}

.join-class-form-card button[type="submit"] {
	background-color: #28a745;
	color: white;
	font-weight: bold;
	font-size: 16px;
	border: none;
	padding: 12px 20px;
	border-radius: 30px;
	width: 100%;
	cursor: pointer;
	transition: all 0.25s ease;
}

.join-class-form-card button[type="submit"]:hover {
	background-color: #218838;
	transform: scale(1.04);
}

/* Notice message */
.form-notice {
	padding: 12px;
	margin-bottom: 20px;
	border-radius: 6px;
	font-size: 14px;
}

.form-notice.success {
	background-color: #e6ffe5;
	color: #206e1d;
	border: 1px solid #b2e2b0;
}

.form-notice.error {
	background-color: #ffe5e5;
	color: #991b1b;
	border: 1px solid #e6b3b3;
}

.approval-pending-message {
	background-color: #fffbe5;
	color: #5a5200;
	border: 1px solid #f2e08a;
	padding: 16px 20px;
	border-radius: 8px;
	max-width: 600px;
	margin: 30px auto;
	font-size: 15px;
	line-height: 1.5;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.approval-pending-message strong {
	color: #4a4300;
}

/*teacher dashboard style */
.actionBut {
	margin-left: 10px;
	padding: 4px 12px;
	border-radius: 4px;
	background: #007bff;
	color: #fff;
	text-decoration: none;
	display: inline-block;
}

/* student dashboard style */
/* Wrapper */
/* Page Wrapper */
.student-dashboard {
	max-width: 920px;
	margin: 40px auto;
	padding: 30px;
	background: #f9fcff;
	border-radius: 18px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
	font-family: "Comic Neue", "Segoe UI", sans-serif;
}

/* Welcome Heading */
.student-dashboard h2 {
	font-size: 28px;
	color: #2f3e5c;
	margin-bottom: 10px;
}

.student-dashboard p {
	font-size: 17px;
	color: #4a4a4a;
	margin-bottom: 25px;
}


/* Activity Table */
.activity-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
}

.activity-table thead th {
	background-color: #a0d8f1;
	color: #2f3e5c;
	padding: 14px;
	text-align: left;
	border-bottom: 3px solid #79c3e5;
}

.activity-table tbody td {
	padding: 12px 16px;
	border-bottom: 1px solid #eee;
}

.activity-table tbody tr:nth-child(even) {
	background-color: #f4f0ff;
}

/* Play Button */
.activity-table button {
	background-color: #4cd4af;
	color: white;
	font-weight: bold;
	font-size: 15px;
	padding: 8px 16px;
	border: none;
	border-radius: 25px;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.activity-table button:hover {
	background-color: #32b894;
	transform: scale(1.05);
}

/* Responsive Table for Mobile */
@media screen and (max-width: 768px) {
	.student-dashboard {
		padding: 20px;
	}

	.activity-table thead {
		display: none;
	}

	.activity-table tbody tr {
		display: block;
		margin-bottom: 18px;
		border: 1px solid #d0daf4;
		border-radius: 10px;
		background-color: #ffffff;
	}

	.activity-table tbody td {
		display: block;
		padding: 10px 14px;
		text-align: left;
		border-bottom: none;
	}

	.activity-table tbody td::before {
		content: attr(data-label);
		font-weight: bold;
		display: block;
		color: #6b7b95;
		margin-bottom: 4px;
	}

	.activity-table tbody td:last-child {
		border-bottom: none;
	}
}

.student-results {
	width: 100%;
	border-collapse: collapse;
	margin-top: 2em;
	font-size: 16px;
}

.student-results th,
.student-results td {
	padding: 0.8em;
	border-bottom: 1px solid #e1e1e1;
	vertical-align: top;
}

.student-results th {
	background: #e8e8e8;
	color: #222;
	font-weight: 600;
}

.student-results tr:hover {
	background: #fdfdfd;
}

.student-results td strong {
	color: #111;
}

.student-results td small {
	color: #888;
	font-size: 0.9em;
}

.student-results td:nth-child(2) {
	background: #eef6fb;
	border-left: 3px solid #007cba;
}

.student-results td:nth-child(3) {
	color: #666;
	font-size: 0.95em;
}

.graph-icon {
	display: inline-block;
	font-size: 1.5rem;
	padding: 1px 2px;
	background: linear-gradient(to bottom, #fefefe, #e0e0e0);
	border: 1px solid #ccc;
	border-radius: 5px;
	box-shadow:
		0 2px 5px rgba(0, 0, 0, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.6);
	text-decoration: none;
	color: #333;
	transition: all 0.15s ease-in-out;
}

.graph-icon:hover {
	box-shadow:
		0 4px 8px rgba(0, 0, 0, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.6);
	transform: translateY(-2px);
	background: linear-gradient(to bottom, #ffffff, #dcdcdc);
}

.feedback-textarea {
	width: 100%;
	font-size: 14px;
	margin-top: 0.4em;
	padding: 0.5em;
	resize: vertical;
	background: #fffbe6;
	border: 1px solid #ccc;
}

.feedback-select {
	font-size: 14px;
	padding: 0.3em;
	width: 100%;
}

.feedback-button {
	margin-top: 0.5em;
	background: #0073aa;
	color: white;
	border: none;
	padding: 6px 12px;
	font-size: 14px;
	cursor: pointer;
	border-radius: 4px;
}

.feedback-button:hover {
	background: #005d8c;
}

.student-name-header {
	font-size: 28px;
	font-weight: 700;
	margin-top: 30px;
	margin-bottom: 20px;
}

.td-bottom-right {
	position: relative;
	padding-bottom: 2em;
	color: #0073aa;
	/* Gives space for the bottom content */
}

.td-bottom-right .attempts {
	position: absolute;
	bottom: 1em;
	right: 1em;
	font-size: 0.9em;
	cursor: pointer;
	text-decoration: none;
}

.td-bottom-right .attempts:hover {
	text-decoration: underline;
}

/* ───────── Teacher Contact Form ───────── */
.tcf-wrapper {
	display: flex;
	justify-content: center;
	padding: 4rem 1rem;
	/* space above & below */
}

.tcf-card {
	width: 100%;
	max-width: 560px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
	padding: 2.5rem 2rem;
	font-family: system-ui, sans-serif;
}

/* Headline */
.tcf-card h2 {
	font-size: 1.75rem;
	margin: 0 0 1.5rem;
	text-align: center;
	color: #222;
}

/* Labels & inputs */
.tcf-card label {
	display: block;
	margin-bottom: .5rem;
	font-weight: 600;
	color: #333;
}

.tcf-card input[type="text"],
.tcf-card textarea {
	width: 100%;
	padding: .75rem 1rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1rem;
	transition: border-color .2s, box-shadow .2s;
}

.tcf-card input[type="text"]:focus,
.tcf-card textarea:focus {
	border-color: #3b82f6;
	/* light blue */
	box-shadow: 0 0 0 3px rgba(59, 130, 246, .2);
	outline: none;
}

.tcf-card textarea {
	resize: vertical;
	min-height: 160px;
}

/* Button */
.tcf-card button[type="submit"] {
	margin-top: 1.25rem;
	display: inline-block;
	padding: .8rem 2.2rem;
	background: #3b82f6;
	/* blue */
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background .2s, transform .1s;
}

.tcf-card button[type="submit"]:hover {
	background: #2563eb;
}

.tcf-card button[type="submit"]:active {
	transform: translateY(1px);
}

/* Success notice (optional) */
.tcf-success {
	max-width: 560px;
	margin: 2rem auto;
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
	padding: 1rem 1.5rem;
	border-radius: 8px;
	text-align: center;
}

/* Responsive tweak */
@media (max-width: 480px) {
	.tcf-card {
		padding: 2rem 1.25rem;
	}
}