/* Root color variables for easy customization */
:root {
  --primary-color: #1e3a8a; /* Deep Blue */
  --primary-light: #3b82f6; /* Lighter Blue */
  --secondary-color: #f97316; /* Vibrant Orange */
  --secondary-light: #fdba74; /* Light Orange */
  --bg-color: #f9fafb; /* Light background */
  --text-color: #333;
  --border-color: #d1d5db;
  --font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* Global styles */
body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
}

/* FIXED HEADER */
.app-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	display: flex;
	align-items: center;
	background: linear-gradient(
		90deg,
		#1e3a8a 0%,
		#1e3a8a 40%,
		#f97316 100%
	);
	border-bottom: none;
	z-index: 5000;
}

/* BANNER */
.header-banner-left-top {
	position: absolute;
	top: 6px;
	left: 20px;
	background: #f5f1e6;
	color: #5a4a2f;
	padding: 3px 10px;
	font-size: 11px;
	font-weight: bold;
	border-radius: 3px;
	letter-spacing: 0.4px;
	border: 1px solid #e2d8c3;	
}

.header-banner-left-bottom {
	position: absolute;
	top: 40px;
	left: 20px;
	background: #f5f1e6;
	color: #5a4a2f;
	padding: 3px 10px;
	font-size: 11px;
	font-weight: bold;
	border-radius: 3px;
	letter-spacing: 0.4px;
	border: 1px solid #e2d8c3;	
}

/* LOGO */
.logo-box {
	height: 64px;
	width: 64px;
	margin-left: 350px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;	
}

.logo {
	height: 100%;
	width: auto;
	object-fit: contain;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

.header-title {
	flex:1;
	text-align: center;
	margin: 0;
	color: white;
	font-family: "Georgia", "Times New Roman", serif;
	font-weight: bold;
	font-size: 36px;	
}

/* PAGE CONTENT */
.page-content {
	padding-top: 40px;	
}

/* HEADING */
.center-heading {
  text-align: center;
  margin-top: 0px;
  color: var(--primary-color);
  font-size: 32px;
  font-weight: bold;
}

/* DROPDOWN DIV */
.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.center-container label {
  font-weight: bold;
  color: var(--primary-color);
}

/* DROPDOWN-SELECTION DIV */
.content-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.content-container.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* DROPDOWN-SELECTION CONTENT */
.content {
  display: none;
  text-align: center;
  border: 2px solid var(--primary-light);
  border-radius: 10px;
  padding: 25px;
  width: 320px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.content h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

/* Consumer Name Row */
.consumer-name-row {
  display: none;
  margin-top: 15px;
  font-weight: bold;
  color: var(--secondary-color);
}

/* Form Rows */
.form-row {
	margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row label {
  width: 140px;
  text-align: right;
  font-weight: bold;
  color: var(--primary-color);
}

/* Inputs & Selects */
input, select, textarea {
  width: 220px;
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Comments */
#comments {
  height: 80px;
  padding: 8px;
  resize: none;
}

/* Buttons */
button {
  padding: 10px 25px;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: var(--primary-color);
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: var(--secondary-color);
  transform: scale(1.05);
}

/* Result Section */
#resultSection {
  display: none;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
  border-top: 3px solid var(--secondary-color);
  padding-top: 20px;
}

#resultSection h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* POPUP OVERLAY */
#overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	z-index: 3000;	
}

/* POPUP */
#popup {
	display: none;
	position: fixed;
	top: 50%;
	left:50%;
	transform: translate(-50%, -50%);
	background: white;
	padding: 25px;
	width: 300px;
	text-align: center;
	border-radius: 6px;
	z-index: 3001;
}


  #myTable {
    border-collapse: collapse;
    width: 60%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    font-size: 13px;
  }
  #myTable th, #myTable td {
    border: 1px solid #999;
    padding: 6px 8px;
    text-align: left;
  }