/* Simple, clean styling for the login page */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
:root {
	--brand-primary: hsl(23, 85%, 35%);
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background-image: url('aerielharvest.png');
	background-color: transparent;
	background-size: cover;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.login-container {
	width: 100%;
	max-width: 400px;
	padding: 20px;
}

.login-card {
	background: white;
	padding: 40px;
	text-align: center;
}


.logo-container {
	margin-bottom: 20px;
}

.logo {
	max-width: 200px;
	max-height: 80px;
	width: auto;
	height: auto;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Keep h1 styling for fallback text if needed */
.login-card h1 {
	color: #333;
	margin-bottom: 10px;
	font-size: 32px;
	font-weight: 700;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.login-card p {
	color: #666;
	margin-bottom: 30px;
	font-size: 16px;
}

/* OAuth Section */
.oauth-section {
	margin-bottom: 30px;
}

.oauth-section h3 {
	color: #555;
	margin-bottom: 15px;
	font-size: 16px;
	font-weight: 500;
}

.oauth-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 20px;
}

.oauth-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	border: 2px solid #ddd;
	text-decoration: none;
	color: #333;
	font-weight: 500;
	transition: all 0.3s ease;
	background: white;
}

.oauth-btn:hover {
	border-color: var(--brand-primary);
	background: #f8f9ff;
	transform: translateY(-1px);
	text-decoration: none;
	color: #333;
}

.oauth-icon {
	width: 20px;
	height: 20px;
	margin-right: 10px;
}

.divider {
	text-align: center;
	margin: 20px 0;
	color: #6c757d;
	position: relative;
}

.divider::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: #ddd;
}

.divider span {
	background: white;
	padding: 0 15px;
	font-size: 14px;
}

/* Form Styling */
.form-group {
	margin-bottom: 20px;
	text-align: left;
}

.form-group label {
	display: block;
	margin-bottom: 5px;
	color: #555;
	font-weight: 500;
}

.form-group input {
	width: 100%;
	padding: 12px;
	border: 2px solid #ddd;
	font-size: 16px;
	transition: border-color 0.3s;
}

.form-group input:focus {
	outline: none;
	border-color: var(--brand-primary);
}

.btn-primary {
	width: 100%;
	background: var(--brand-primary);
	color: white;
	border: none;
	padding: 12px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s;
}

.btn-primary:hover {
	transform: translateY(-2px);
}

.btn-primary:active {
	transform: translateY(0);
}

.message {
	background: #e6f4ea;
	color: #1e7e34;
	padding: 10px;
	margin-bottom: 20px;
	border: 1px solid #b7dfbf;
	text-align: left;
}

.error {
	background: #ffe6e6;
	color: #d00;
	padding: 10px;
	margin-bottom: 20px;
	border: 1px solid #ffb3b3;
	text-align: left;
}

.help {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.help small {
	color: #888;
}