/* +--------------------------------------------------------------------------- + */
/* |                   THE PAGE DEFINITION 										| */
/* +--------------------------------------------------------------------------- + */
	body {font-family: Arial, Helvetica, sans-serif;}

/* **************************************************************************** */
/* this is the definition of the whole page										*/
/* **************************************************************************** */
	.ESSK_mainf {
	  position: fixed;
	  z-index: 1;
	  left: 0;
	  top: 0;
	  width: 100%;
	  height: 100%;
	  overflow: auto;
	  background-color: rgba(0, 0, 0, 0.4);
	  
	  display: flex;               /* enable flex */
	  justify-content: center;     /* horizontal centering */
	  align-items: flex-start;     /* keep top spacing */
	  padding-top: 1%;             /* vertical spacing from top */
	}

/* **************************************************************************** */
/* this is the definition of the input area 									*/
/* The card container 															*/
/* **************************************************************************** */
		.ESSK_schoolhouse-box {
		  position: relative; /* allows absolute child positioning */
		  width: 80%;
		  max-width: 400px;
		  background-color: pink;
		  text-align: center;
		  padding: .5rem 1rem .5rem 1rem;
		  border-radius: 12px;
		  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
		  display: flex;
		  flex-direction: column;
		  align-items: center;
		}

/* **************************************************************************** */
/* this is the definition of the x at the top right of the form					*/
/* **************************************************************************** */
			.ESSK_close-btn {
			  position: absolute;
			  top: 8px;
			  right: 12px;
			  color: #333;
			  font-size: 1.8rem;
			  font-weight: bold;
			  cursor: pointer;
			  transition: color 0.2s ease;
			}

			.ESSK_close-btn:hover {
			  color: red;
			}

/* **************************************************************************** */
/* the input fields are made up of a couple of elements this div groups the     */
/* elements	and ensure the input group positions icons properly	that is it 		*/
/* keeps icon and input field on the same line                      			*/
/* **************************************************************************** */
				.ESSK_input-group {
					position: relative;          /* allows absolute positioning of eye/x icons */
					display: flex;               /* keeps icon + input in a row */
					align-items: center;         /* vertically centers the icon */
					width: 100%;
					margin-bottom: 6px;
					gap: 0.4rem;                 /* small spacing between icon and input */
				}
			
/* **************************************************************************** */
/* the icon box holds a picture of the input type and keeps icon perfectly 		*/
/* centered                                      								*/
/* **************************************************************************** */
				.ESSK_icon-box {
					display: flex;
					justify-content: center;
					align-items: center;
					flex: 0 0 2.5rem;            /* fixed width keeps alignment perfect */
					height: 2.5rem;
				}
			
/* **************************************************************************** */
/* Icon image - the actual picture defiing the input value						*/
/* **************************************************************************** */
					.ESSK_icon-img {
						width: 2rem;
						height: 2rem;
						object-fit: contain;
						border-radius: 0.4rem;  /* rounded corners (set to 50% for circle) */
					}
					
/* **************************************************************************** */
/* --- Captcha equation text --- 												*/
/* **************************************************************************** */
					.ESSK_equation {
						font-size: 1rem;
						padding-left: 0.5rem;  /* replaces &nbsp;&nbsp; */
						margin-right: 0.5rem;
						white-space: nowrap;
						width: 4rem;
					}
					

/* **************************************************************************** */
/* this is where written input is placed										*/
/* the input field is full width with padding for icons and expands to fill 	*/
/* remaining width                                 								*/
/* **************************************************************************** */
					.ESSK_form-input {
						flex: 1;
						width: 100%;
						height: 2.5rem;
						padding-right: 3rem;         /* leaves room for right-side eye/x */
						padding-left: 0.5rem;
						font-size: 1rem;
						border: 1px solid black;
						box-sizing: border-box;
					}
					
/* **************************************************************************** */
/* narrow input for the result of the equstion									*/
/* **************************************************************************** */
					.ESSK_small-input {
						
						padding-right: 1rem;         
						padding-left:  1rem;						
						
						max-width: 4.9rem;  /* narrow input just for number 3.9 */
						text-align: center;
					}

/* **************************************************************************** */
/* these allow for the changing of the placeholder text color					*/
/* **************************************************************************** */
					  :root {
						--placeholder-gray: #aaa;
						--placeholder-white: #fff;
					  }

					  /* Default (grayish) */
					    input.normal::placeholder {
						color: var(--placeholder-gray);
						transition: color 0.3s ease;
					  }

					  /* Error state (white) */
					  input.error::placeholder {
						color: var(--placeholder-white);
					  }					

/* **************************************************************************** */
/* Position of the “x” and “eye” icons inside input                             */
/* **************************************************************************** */
						.ESSK_ex-icon,
						.ESSK_ex-icon_one,
						.ESSK_eye-icon {
						position: absolute;
						top: 50%;
						transform: translateY(-50%);
						right: 10px;
						font-size: 1.3rem;
						color: #333;
						cursor: pointer;
						}

						.ESSK_eye-icon {
						right: 35px; /* eye sits slightly left of x */
						}

						.ESSK_ex-icon:hover,
						.ESSK_eye-icon:hover {
						color: red;
						}

/* **************************************************************************** */
/* --- Instruction text under fields --- 										*/
/* **************************************************************************** */
						.ESSK_instruction {
							font-size: 0.6rem;
							color: #696969;
							margin-left: 3.2rem;
							margin-top: 0.2rem;
							margin-bottom: 0.75rem;
							transition: font-weight 0.2s ease;
						}

							.ESSK_instruction.active {
								font-weight: bold;
								color: black;
							}

/* **************************************************************************** */
/* this is the login button definition 											*/
/* **************************************************************************** */
				.ESSK_Login_Button {
					display: block;

					padding-top: 0.3rem;
					padding-bottom:0.7rem;
					width:45%;
					height: 50px;

					font-size: 1rem;
					text-align: center;
					cursor: pointer;
					outline: none;

					color: #fff;
					background-color: blue;

					border: none;
					border-radius: 1rem;
					box-shadow: 0 0.5rem #999;

					margin: 0 auto;
				}
					.ESSK_Login_Button:hover {background-color: #3e8e41;}
					.ESSK_Login_Button:active {
						background-color: #3e8e41;
						box-shadow: 0 0.5rem #666;
						transform: translateY(0.25rem);
					}

/* **************************************************************************** */
/* this container holds ways to exit the form   								*/
/* **************************************************************************** */
				.ESSK_GetOut_container {
					display: grid;
					grid-template-columns: 0.9fr 2fr 0.9fr;
					align-items: center;
					background-color: #f9f9f9;
					padding: 0.6rem 1rem;
					text-align: center;
					gap: 0.5rem;
					border-radius: 10px;
					border: 1px solid #d0d0d0;
					box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
					font-family: "Segoe UI", Tahoma, sans-serif;
					color: #222;
				}

/* **************************************************************************** */
/* the getout area consists of 3 oolums - this is the column definition 		*/
/* **************************************************************************** */
					.ESSK_GetOut_col {
						display: flex;
						flex-direction: column;
						align-items: center;
						justify-content: center;
					}

/* **************************************************************************** */
/* Cancel button (ESSK tone) 													*/
/* **************************************************************************** */
						.ESSK_CancelButton {
							padding: 5px 10px;
							font-size: 0.65rem;
							font-weight: 600;
							text-align: center;
							cursor: pointer;
							outline: none;
							color: #fff;
							background-color: #b22222; /* subtle deep red */
							border: none;
							border-radius: 8px;
							box-shadow: 0 2px #888;
							text-decoration: none;
							width: 4.2rem;
							transition: background-color 0.25s ease, transform 0.1s ease;
						}

							.ESSK_CancelButton:hover {
								background-color: #d63333;
							}

							.ESSK_CancelButton:active {
								background-color: #900;
								box-shadow: 0 1px #666;
								transform: translateY(3px);
							}


/* **************************************************************************** */
/* Center column text 															*/
/* **************************************************************************** */
						.ESSK_GetOut_center span {
							font-size: 0.85rem;
							font-weight: 600;
							color: #333;
							margin-bottom: 0.15rem;
							text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
						}

							.ESSK_GetOut_center a {
								font-size: 0.85rem;
								font-weight: 600;
								color: #0047b3;
								text-decoration: none;
								transition: color 0.2s ease;
							}

							.ESSK_GetOut_center a:hover {
								text-decoration: underline;
								color: #002a66;
							}
							
/* **************************************************************************** */
/* Right column link 															*/
/* **************************************************************************** */
						.ESSK_GetOut_right {
							text-align: right;
							font-size: 0.85rem;
						}

							ESSK_GetOut_right a {
								color: #0047b3;
								text-decoration: none;
							}

							ESSK_GetOut_right a:hover {
								text-decoration: underline;
								color: #002a66;
							}

/* **************************************************************************** */
/* Responsive stacking for smaller devices 										*/
/* **************************************************************************** */
				@media (max-width: 600px) {
					.ESSK_GetOut_container {
						grid-template-columns: 1fr;
						text-align: center;
						gap: 0.4rem;
					}
						ESSK_GetOut_right {
						text-align: center;
					}
				}
