.tab-button {
	padding: 5px 20px;
	border: 2px solid #1e8e7a;
	border-radius: 0;
	transition: background 0.3s, color 0.3s;
	width: 225px;
	white-space: nowrap; 
	overflow: hidden; 
	text-overflow: ellipsis; 
	text-align: center;
}	

/* Form Groups and Fields */
.form-group {
	margin-bottom: 1.5rem;
}

.label-group {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.form-group .instruction-text {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
    font-weight: 500;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: #333;
	font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 0.75rem;
	border: 2px solid #e1e1e1;
	border-radius: 6px;
	font-size: 0.9rem;
	transition: border-color 0.2s;
	margin-right: 0px;
	box-sizing: border-box;
}

.form-group textarea {
    min-height: 100px;
    line-height: 1.0; 
    resize: vertical; 
}

.form-group input:focus,
.form-group textarea:focus {
	border-color: #2C8B80;
	outline: none;
	box-shadow: 0 0 0 3px rgba(44, 139, 128, 0.1);
}


/* Special class for checkbox alignment */
.checkbox-group {
	display: flex;
	align-items: center; /* Ensures proper vertical alignment */
	gap: 0.5rem; /* Adds space between the checkbox and the label */
}

.checkbox-group input {
	width: 20px; /* Standard checkbox size */
	height: 20px;
}


/* Submit Button */
.submit-btn {
	background-color: #2C8B80;
	color: white;
	padding: 1rem 1.5rem;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: 600;
	width: auto; 
	min-width: 200px; 
	display: block; 
	margin: 1.5rem auto 0; 
	transition: background-color 0.2s;
}

.submit-btn:hover {
	background-color: #236e65;
}

.submit-btn:disabled {
	background-color: #cbd5e1;
	cursor: not-allowed;
}

/* Form Validation Styles */
input.error {
	border-color: #dc2626;
	background-color: #fff5f5;
}

/* Email Validation Message */
.email-group {
	display: grid;
	gap: 15px;
}

.email-mismatch {
	color: #dc2626;
	font-size: 0.9em;
	margin-top: 0.25rem;
}

input, textarea {
	font-family: Arial, sans-serif; 
	font-size: 16px; 
}

.form-group p {
	font-weight:500;
	margin-bottom: 2em;
	color: #116466;
}


/* Select-specific styling */
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e1e1;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s;
    margin-right: 0px;
    box-sizing: border-box;
    background-color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

.form-group select:focus {
    border-color: #2C8B80;
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 139, 128, 0.1);
}

/* Firefox specific */
.form-group select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

/* IE specific */
.form-group select::-ms-expand {
    display: none;
}

