.gateman-logon-form {
	max-width: 500px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	row-gap: 20px;
}

.gateman-logon-form > label {
	display: block;
	font-weight: 500;
	font-size: 16px;
	margin: 0 0 5px;
}

.gateman-logon-form input[type=text],
.gateman-logon-form input[type=email],
.gateman-logon-form input[type=password] {
	display: block;
	width: 100%;
}

.gateman-logon-form button[type=submit] {
	display: block;
	width: 100%;
}

.gateman-logon-form .gateman-logged-in {
	text-align: center;
}

.gateman-logon-form .gateman-error-message {
	color: #aa0000;
	font-size: 14px;
}

.gateman-form-nav-links {
	display: flex;
	justify-content: space-between;
	column-gap: 15px;
}

/* Input styles */
/* Input Field */
.gateman-use-css .gateman-input {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: #1f2937;
  background-color: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.gateman-use-css .gateman-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.gateman-use-css .gateman-input:disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  border-color: #e5e7eb;
}

/* Checkbox */
.gateman-use-css .gateman-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  accent-color: #3b82f6;
}

.gateman-use-css .gateman-checkbox:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.gateman-use-css .gateman-checkbox:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Button */
.gateman-use-css .gateman-button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #ffffff;
  background-color: #3b82f6;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  outline: none;
}

.gateman-use-css .gateman-button:hover {
  background-color: #2563eb;
}

.gateman-use-css .gateman-button:active {
  transform: scale(0.98);
}

.gateman-use-css .gateman-button:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.gateman-use-css .gateman-button:disabled {
  background-color: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

.gateman-use-css .gateman-button:disabled:hover {
  background-color: #d1d5db;
}