/* General Styles */
body {
	font-family: 'Segoe UI', Arial, sans-serif;
	margin: 0;
	padding: 0;
	text-align: center;
	background-color: #f8f9fa; /* Slightly lighter grey for a cleaner look */
}

header {
	background-color: #dc3545; /* Primary Red */
	color: white;
	padding: 20px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Layout */
.registration-form,
.attendee-list {
	max-width: 500px;
	margin: 20px auto;
	padding: 20px;
	background: white;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	text-align: left;
}

/* Form Styling */
form {
	display: flex;
	flex-direction: column;
}

label {
	font-weight: bold;
	margin-top: 10px;
	color: #333;
}

input,
select {
	margin-bottom: 10px;
	padding: 10px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 5px;
}

input:focus, 
select:focus {
	outline: none;
	border-color: #dc3545; /* Red border on click */
	box-shadow: 0 0 5px rgba(220, 53, 69, 0.2);
}

/* Button */
button {
	padding: 10px;
	background-color: #dc3545; /* Changed from Green to Red */
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-weight: bold;
	transition: background 0.3s ease;
}

button:disabled {
	background-color: #e9ecef;
	color: #6c757d;
	cursor: not-allowed;
}

button:hover:not(:disabled) {
	background-color: #b02a37; /* Darker Red on hover */
}

/* Error Messages */
.error {
	color: #dc3545; /* Red error text */
	font-size: 14px;
	margin-bottom: 10px;
	display: none;
}

/* Attendee List - Table Container */
.table-container {
	width: 100%;
	overflow-x: auto; 
}

/* Attendee List - Table */
table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
	min-width: 500px; 
}

th,
td {
	border: 1px solid #eee; /* Lighter border lines */
	padding: 12px 8px;
	text-align: left;
	white-space: nowrap; 
}

/* Header Row */
th {
	background-color: #dc3545; /* Red table header */
	color: white;
}

/* Row shading on hover */
tr:hover {
	background-color: #fff5f5; /* Very light red tint when hovering over rows */
}