:root {
	--baltic-blue: #005ca9ff;

	--space-sm: clamp(0.25rem, 0.5vw, 0.75rem);
	--space-md: clamp(0.5rem, 1vw, 1.25rem);
	--space-lg: clamp(1rem, 2vw, 2.5rem);
	--space-xl: clamp(2rem, 4vw, 4rem);

	--font-sm: clamp(0.8rem, 1.2vw, 1rem);
	--font-md: clamp(1rem, 1.5vw, 1.25rem);
	--font-lg: clamp(1.25rem, 2vw, 2rem);
}

.page-background {
	background: #F2EFEA;
	padding: var(--space-lg);
	place-items: center;
}

h1 {
	text-decoration: underline;
	text-align: center;
	font-weight: bolder;
	margin-bottom: var(--space-xl);
	font-family: 'Times New Roman', Times, serif;
	font-size: var(--font-lg);
	background: rgb(255, 255, 255);
	padding: 20px 40px;
	border-radius: 15px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
	display: center;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: var(--space-lg) 0;
	font-size: var(--font-md);
}

th,
td {
	border: 1px solid black;
	text-align: center;
	padding: var(--space-sm);
	background-color: white;
}

td {
	height: clamp(24px, 4vw, 40px);
}

.netid-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color: lightskyblue;
	border: 1px solid black;
	border-radius: 8px;
	padding: var(--space-sm) var(--space-lg) var(--space-sm) var(--space-md);
	font-size: var(--font-md);
	font-weight: bolder;
	font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
	color: #333;
	cursor: pointer;
	outline: none;
	transition: all 0.25s ease;
	background-repeat: no-repeat;
	background-position: right var(--space-md) center;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='black' d='M0 0l5 6 5-6z'/></svg>");
}

.netid-select:hover {
	border-color: black;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.netid-select:focus {
	outline: black solid 1px;
	background-color: #a0d8ef;
}

select option {
	padding: var(--space-sm);
	border: 0.5px solid black;
}

.filter-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color: #d7d7d7;
	border: 1px solid black;
	border-radius: 8px;
	font-family: "times new roman", Times, serif;
	font-weight: bolder;
	padding: clamp(0.25rem, 0.6vw, 0.45rem) clamp(1.5rem, 2vw, 2rem) clamp(0.25rem, 0.6vw, 0.45rem) clamp(0.5rem, 1vw, 0.75rem);
	font-size: clamp(0.85rem, 1.2vw, 1rem);
	color: #333;
	cursor: pointer;
	outline: none;
	transition: all 0.25s ease;
	background-repeat: no-repeat;
	background-position: right clamp(0.4rem, 1vw, 0.75rem) center;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='black' d='M0 0l5 6 5-6z'/></svg>");
}

.filter-select:hover {
	border-color: black;
	background-color: lightskyblue;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.filter-select:focus {
	outline: black solid 1px;
	background-color: lightskyblue;
}

.filter-select option {
	padding: 8px;
	border: 0.5px solid black;
}

.home-buttons {
	background-color: var(--baltic-blue);
	border: none;
	padding: var(--space-md) var(--space-lg);
	text-align: center;
	display: inline-block;
	font-size: var(--font-md);
	margin: var(--space-sm) 0;
	cursor: pointer;
	border-radius: 8px;
	width: clamp(200px, 100%, 400px);
	font-family: 'Times New Roman', Times, serif;
	text-decoration: underline;
	font-variant: small-caps;
	font-weight: bold;
	color: rgb(167, 217, 234);
	transition: 0.25s ease;
}

.home-buttons:hover {
	background-color: lightskyblue;
	color: black;
	transform: translateY(-3px);
	background: #1d6eff;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.buttons-container {
	align-items: center;
	display: flex;
	flex-direction: column;
	margin-top: var(--space-lg);
	background: white;
	padding: 30px 40px;
	border-radius: 16px;
	box-shadow: 0 8px 20px rgba(0,0,0,0.12);
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.search-bar {
	width: 100%;
	max-width: 350px;
	padding: clamp(0.4rem, 1vw, 0.75rem) clamp(1.5rem, 2vw, 2rem);
	font-size: clamp(0.9rem, 1.2vw, 1.1rem);
	background-color: #f0f0f0;
	border: 1px solid black;
	border-radius: 12px;
	outline: none;
	transition: all 0.3s ease;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'></circle><line x1='21' y1='21' x2='16.65' y2='16.65'></line></svg>");
	background-repeat: no-repeat;
	background-position: 10px center;
	background-size: 18px;
	padding-left: clamp(2.5rem, 4vw, 3.2rem);
	margin-bottom: var(--space-md);
}

.search-bar::placeholder {
	color: #666;
	opacity: 0.8;
	font-style: italic;
	transition: color 0.3s ease;
}

.search-bar:hover {
	background-color: #e8f4fb;
	border-color: #888;
}

.search-bar:focus {
	background-color: #a0d8ef;
	border-color: #1a73e8;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transform: translateY(-2px) scale(1.03);
}

.search-bar:focus::placeholder {
	color: #333;
}

.basicButton {
	background-color: lightskyblue;
	color: black;
	border: black solid 2px;
	padding: var(--space-sm) var(--space-lg);
	border-radius: 8px;
	font-size: var(--font-md);
	font-family: 'Times New Roman', Times, serif;
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
	transition: 0.25s ease;
}

.basicButton:hover {
	background: #1d6eff;
	color: rgb(167, 217, 234);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	transform: translateY(-2px);
}

.basicButton:active {
	transform: translateY(0px);
}

.basicButton:disabled{
	background-color: grey;
	color: darkgrey;
	border: darkgrey solid 2px;
	cursor: not-allowed;
	box-shadow: none;
	transform: translateY(0px);
}

.addElementLabel {
	display: block;
	font-family: 'Times New Roman', Times, serif;
	font-size: clamp(1.2rem, 1.5vw, 1.5rem);
	text-decoration: underline;
	align-items: center;
	margin-bottom: clamp(0.25rem, 0.6vw, 0.5rem);
	color: #04080f;
	font-weight: bold;
}

input.formInput {
	width: 100%;
	padding: 10px 15px;
	margin-bottom: 15px;
	border: 1px solid black;
	border-radius: 8px;
	font-size: 1rem;
	color: black;
	background-color: #f9f9f9;
	transition: border-color 0.3s, box-shadow 0.3s;
}

input.formInput:focus {
	border-color: #005ca9;
	box-shadow: 0 0 5px rgba(0, 92, 169, 0.5);
	outline: none;
}

input.formInput::placeholder {
	color: #888;
	font-style: italic;
}

.wide-table-container {
	overflow-x: auto;
	width: 100%;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 100px;
  background-color: #fff;
  font-size: 20px;
}

.styled-table th,
.styled-table td {
  border: 1px solid black;
  padding: 8px 12px;
  text-align: left;
}

.styled-table thead tr {
  background-color: #f2f2f2;
  font-weight: bold;
}

.styled-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.styled-table tbody tr:hover {
  background-color: #f1f1f1;
}


.sticky {
	position: sticky;
	left: 0;
	background: lightskyblue;
	z-index: 2;
	border-right: 1px solid black;
}

select option {
	padding: 8px 12px;
	background-color: #FFFFFF;
	color: #333;
	border-bottom: 1px solid #E5E7EB;
	font-size: 15px;
}

.table-select {
	display: block;
	margin: 1rem auto;
	width: 300px;
	max-width: 90%;
	padding: 0.5rem 1rem;
	font-size: 1rem;
	border: 1px solid #333;
	border-radius: 8px;
	background-color: #f0f0f0;
	color: #333;
	box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
	cursor: pointer;
}

.table-select:hover,
.table-select:focus {
	border-color: #007bff;
	outline: none;
	background-color: #e6f0ff;
}
.input-with-button {
	display: flex;
	align-items: center; 
	gap: 5px; 
	width: 100%;
	max-width: 400px;
	margin-bottom: var(--space-md); /* spacing below input */
}

.input-with-button input.formInput {
	flex: 1; 
	height: 36px; 
}

.square-button {
	width: 36px;       
	height: 36px;      
	background-color: lightskyblue;
	border: 1px solid black;
	border-radius: 6px; 
	cursor: pointer;
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: 0.2s ease;
}

.square-button:hover {
	background-color: #1d6eff;
	color: white;
	transform: scale(1.05);
}


.checkBox {
    width: 18px;
    height: 18px;
    accent-color: #005ca9;     /* Modern browser color for checkmark */
}


