/**
 * NCSY 2026 — Web-component styles.
 *
 * Carried over from the legacy `ncsy` theme
 * (assets/css/src/webcomponents/{variables,theme}.scss). Styles the NCSY
 * web components (login / signup / forgot-password / change-password / etc.)
 * rendered inside the `.webcomponents` wrapper via wc\include_wc().
 *
 * Shipped as a SEPARATE stylesheet (enqueued as `ncsy2026-webcomponents`) so it
 * stays decoupled from the main theme bundle, exactly like the upstream
 * component CSS it mirrors. Flattened to plain CSS from the original SCSS.
 */

:root {
	/* Colors */
	--colorBackground: #fff;
	--colorFontDefault: #222;
	--colorFontSecondary: #737373;
	--colorBlue: #494994;
	--colorBlueLight: #f2f6fb;
	--colorGray: #E9E9E9;
	--colorPurple: #292949;
	--colorTeal: #295C7A;
	--colorOrange: #EB8B29;
	--colorOrangeBright: #f37d28;
	--colorRed: #b74c3c;

	/* Dimensions */
	--fontSizeMain: 16px;
	--lineHeightMain: 1.5;
	--siteWrapper: 1160px;
	--screenMd: 760px;
}

.webcomponents {
	font-family: "proxima-nova", Helvetica, Arial, sans-serif !important;
    background: #fff;
    font-size: 16px;
    line-height: 1.4;
	margin-bottom: 20px;
}

.webcomponents label {
	font-weight: normal;
}

.webcomponents .event img {
	max-width: 100%;
}

.webcomponents input {
	margin: 0;
}

.webcomponents .btn {
	border: none;
	display: block;
	background: var(--colorOrange) !important;
	color: white;
	box-shadow: none;
	outline: none;
	width: 100%;
	border-radius: 6px;
	padding: 1rem;
	cursor: pointer;
	text-align: center;
}

.webcomponents .btn:hover {
	background: var(--colorBlue) !important;
}

.webcomponents .btn.inverted {
	background: none !important;
	border: 1px solid #999;
	color: #333;
}

.webcomponents .btn.inverted:hover {
	border-color: var(--colorOrange) !important;
	color: var(--colorOrange);
}

.webcomponents a {
	color: var(--colorOrange);
	text-decoration: none;
}

.webcomponents a:hover {
	text-decoration: underline;
}

.webcomponents h1 {
	font-family: sans-serif;
	margin-top: 0px;
	margin-bottom: 20px;
	font-size: 2.5rem;
}

.webcomponents input[type="text"],
.webcomponents input[type="search"]:not(.vs__search),
.webcomponents input[type="password"],
.webcomponents input[type="email"],
.webcomponents input[type="number"],
.webcomponents .vue-tel-input input,
.webcomponents select,
.webcomponents textarea {
	border: 1px solid #ccc;
	background: transparent;
	box-shadow: none;
	padding: 1rem 1rem .8rem;
	font-size: 1rem;
	border-radius: 6px;
	outline: none;
	width: 100%;
	height: auto;
	font-weight: 200;
}

.webcomponents input[type="text"]:focus,
.webcomponents input[type="search"]:not(.vs__search):focus,
.webcomponents input[type="password"]:focus,
.webcomponents input[type="email"]:focus,
.webcomponents input[type="number"]:focus,
.webcomponents .vue-tel-input input:focus,
.webcomponents select:focus,
.webcomponents textarea:focus {
	border-color: var(--colorOrange);
}

.webcomponents textarea {
	min-height: 100px;
	max-width: 600px;
}

.webcomponents .vs__search,
.webcomponents .vs__search:focus {
	padding: 1rem 1rem .8rem !important;
	line-height: 1.15 !important;
	margin: 0 !important;
	font-weight: 200;
}

.webcomponents .vs__selected {
	font-weight: 200;
	padding-left: .8rem !important;
}

.webcomponents .vs--searchable .vs__dropdown-toggle,
.webcomponents .vs--unsearchable .vs__dropdown-toggle {
	padding-bottom: 0 !important;
}

.webcomponents .vs--single .vs__selected {
	max-width: 85%;
	z-index: 1;
}

.webcomponents .form-note {
	margin-top: 10px;
	margin-left: 15px;
	font-size: 12px;
}

.webcomponents .styled-radio-container {
	margin: 0 0 5px 0px;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	justify-content: space-between;
}

.webcomponents .styled-radio-container input[type='radio'] {
	height: 0;
	top: 20px;
	position: absolute;
	left: 20px;
	z-index: -1;
	visibility: hidden;
}

.webcomponents .styled-radio-container label {
	text-align: center;
	width: 100%;
	border-radius: 6px;
	cursor: pointer;
	display: block;
	height: 100%;
	overflow: hidden;
	padding: 1rem 1rem .8rem;
	border: 1px solid #999;
	background: none;
	margin-top: 0;
}

.webcomponents .styled-radio-container label:hover {
	border-color: var(--colorOrange);
}

.webcomponents .styled-radio-container input[type='radio']:checked + label {
	background: var(--colorOrange) !important;
	border-color: var(--colorOrange) !important;
	color: white;
}

.webcomponents .error-message,
.webcomponents .formulate-input-error {
	display: block;
	font-size: 12px;
	margin-left: 15px;
	color: red;
	margin-top: 10px;
}

.webcomponents .text-center {
	text-align: center;
}

.webcomponents .error {
	color: var(--colorRed);
	font-size: .8rem;
}

.webcomponents input.vti__input {
	border: none !important;
}

/* Dark mode */
.webcomponents .dark-mode input[type="text"],
.webcomponents .dark-mode input[type="number"],
.webcomponents .dark-mode input[type="search"]:not(.vs__search),
.webcomponents .dark-mode input[type="password"],
.webcomponents .dark-mode input[type="email"] {
	color: var(--colorFontDefault);
	background: none;
	border: 1px solid rgba(255, 255, 255, .4);
}

.webcomponents .dark-mode .btn {
	color: var(--colorFontDefault);
}

.webcomponents .dark-mode .btn.inverted {
	color: rgba(255, 255, 255, .8);
	border-color: rgba(255, 255, 255, .4);
}

.webcomponents .dark-mode .btn.inverted:hover {
	border-color: var(--colorOrange);
	color: var(--colorOrange);
}

/* =========================================================================
   Auth page chrome — carried over from the legacy `ncsy` theme
   (sections/authentication/login.scss, structure/general.scss + buttons.scss).
   Scoped to .ncsy-auth so these global-ish classes can't leak into the rest
   of the 2026 theme. SCSS variables resolved:
     $light-blue #1AA8D3 · $light-gray #EEF2F5 · $site-color #F47F10
   ========================================================================= */

.ncsy-auth .login__header {
	text-align: center;
	max-width: 400px;
	margin: auto;
}

.ncsy-auth .login__header.login__header--register {
	max-width: 600px;
}

.ncsy-auth .login__container {
	max-width: 370px;
	margin: 40px auto 100px;
	text-align: center;
    color: black;
}

.ncsy-auth .login__footer {
	margin-bottom: 60px;
}

.ncsy-auth .login__lookup-form {
	max-width: 350px;
	margin-top: 30px;
}

.ncsy-auth .login__help-list {
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
	font-weight: 400;
}

.ncsy-auth .login__help-list li {
	margin-bottom: 15px;
}

.ncsy-auth .login__forgot-link {
	font-size: 14px;
}

.ncsy-auth .login__register-link {
	font-size: 18px;
}

/* Gray heading bar with the label sitting on a white cut-out. */
.ncsy-auth .heading-background {
	background: #EEF2F5;
	display: block;
}

.ncsy-auth .heading-background h1,
.ncsy-auth .heading-background h2,
.ncsy-auth .heading-background h3,
.ncsy-auth .heading-background h4 {
	display: inline-block;
	background: #fff;
	padding: 0 10px 0 0;
	margin: 0;
	font-size: 20px;
    letter-spacing: 0px;
	font-weight: bold;
	color: #F47F10;
}

.ncsy-auth .heading-background h3 {
    text-transform: uppercase;
}

/* Bootstrap-style form controls + buttons used by the pay-for-event lookup. */
.ncsy-auth .form-control {
	display: block;
	width: 100%;
	height: 40px;
	padding: 8px 12px;
	margin-bottom: 12px;
	font-size: 14px;
	line-height: 1.4;
	color: #555;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.ncsy-auth textarea.form-control {
	height: auto;
}

.ncsy-auth .login__footer .btn {
	display: inline-block;
	width: auto;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	text-align: center;
	color: #fff;
	border: 1px solid transparent;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
}

.ncsy-auth .btn-blue-light {
	background: #1AA8D3;
	border-color: #1AA8D3;
	color: #fff;
}

.ncsy-auth .btn-blue-light:hover {
	background: #7cc9e5;
	border-color: #0f6078;
}

.ncsy-auth .btn-warning {
	background: #F47F10;
	border-color: #F47F10;
	color: #fff;
}

.ncsy-auth .btn-warning:hover {
	background: #d96f0a;
	border-color: #d96f0a;
}

.ncsy-auth {
    color: black;
}

/* =========================================================================
   Events — server-rendered chrome carried over from the legacy `ncsy` theme
   (assets/css/src/sections/events/index.scss). The events web components
   (events-calendar / single-event / walkin-event) are self-styled from the
   NCSY_WC_URL bundle and need nothing here; these rules only cover the
   server-rendered /live-events region listing and the waiver thank-you badge.
   ========================================================================= */

.live-events-banner {
	display: block;
	height: 450px;
	margin-bottom: 20px;
	background-image: url('https://ncsy.org/assets/banners-virtual-ncsy-75849_slide-banner.jpg');
	background-position: center;
	background-size: cover;
}

.events-listing .events-day {
	margin-bottom: 40px;
}

.events-listing .events-live__weekday {
	display: block;
	margin-bottom: 10px;
	padding-bottom: 10px;
	font-weight: bold;
	font-size: 16px;
	color: #666;
}

.events-listing .events-day__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.events-listing .events-live__events li {
	display: flex;
	margin-bottom: 15px;
}

.events-listing .events-live__events .event.event__item {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	min-height: 80px;
	padding: 10px 20px;
	float: none;
	overflow: visible;
	background-color: #f7f7f7;
	border-radius: 4px;
	box-shadow: 1px 1px 0 rgba(0, 0, 0, .1);
	transition: all .2s ease-in-out;
}

.events-listing .events-live__events .event.event__item:hover {
	top: -5px;
	left: -5px;
	background: #efefef !important;
	box-shadow: 10px 10px 0 rgba(0, 0, 0, .15);
}

.events-listing .events-live__events .inner {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.events-listing .event-img {
	display: block;
	float: left;
	width: 60px;
	height: 60px;
	margin-right: 20px;
	background-position: center;
	background-size: cover;
	border-radius: 4px;
}

.events-listing .event__title {
	display: block;
	margin-right: 20px;
	font-size: 16px;
	color: #444;
	text-decoration: none;
}

.events-listing .event__title a {
	color: #444;
	text-decoration: none;
}

.events-listing .event-meta {
	font-weight: 200;
	font-size: 14px;
	color: #999;
}

.events-listing .events-live__events .time {
	position: relative;
	display: flex;
	width: 120px;
	margin-top: 10px;
	font-size: 14px;
}

.events-listing .events-live__events .time::before {
	content: "";
	display: inline-block;
	position: relative;
	top: 4px;
	min-width: 10px;
	max-width: 10px;
	height: 10px;
	margin-right: 8px;
	background: #666;
	border-radius: 50%;
}

.events-listing .event-meta--live {
	display: flex;
	align-items: center;
	max-width: 95px;
	margin-top: 5px;
	margin-left: auto;
	padding: 3px 8px;
	font-size: 14px;
	color: #fff;
	background: #222;
	border-radius: 2px;
}

.events-listing .event-meta--live::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 5px;
	background: #e83030;
	border-radius: 50%;
}

/* Confirmation "check" badge — waiver thank-you + auth done/confirm pages. */
.done-envelope {
	position: relative;
	display: inline-block;
	margin-bottom: 40px;
	font-size: 64px;
	color: #1AA8D3;
}

.done-envelope span {
	position: absolute;
	right: -15px;
	bottom: 0;
	width: 30px;
	height: 30px;
	padding: 5px;
	color: rgb(251, 251, 251);
	background: #1AA8D3;
	border: 3px solid rgb(251, 251, 251);
	border-radius: 50%;
	line-height: 1;
	font-weight: bold;
}

