/**
 * Easy Onboard Login Form Styles
 */

.eob-login-form {
	max-width: 400px;
	margin: 40px auto;
	padding: 30px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.eob-form-group {
	margin-bottom: 20px;
}

.eob-form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
}

.eob-form-group input[type="email"] {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
	box-sizing: border-box;
}

.eob-form-group input[type="email"]:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.eob-form-actions {
	margin-top: 20px;
}

.eob-submit-button {
	width: 100%;
	padding: 12px 24px;
	background-color: #0073aa;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s;
}

.eob-submit-button:hover {
	background-color: #005a87;
}

.eob-submit-button:focus {
	outline: 2px solid #0073aa;
	outline-offset: 2px;
}

.eob-submit-button:disabled {
	background-color: #ccc;
	cursor: not-allowed;
}

.eob-message {
	margin-top: 15px;
	padding: 12px;
	border-radius: 4px;
	font-size: 14px;
}

.eob-message.eob-success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.eob-message.eob-error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.eob-sso-divider {
	text-align: center;
	margin: 30px 0;
	position: relative;
}

.eob-sso-divider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: #ddd;
}

.eob-sso-divider span {
	position: relative;
	background: #fff;
	padding: 0 15px;
	color: #666;
}

.eob-sso-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.eob-sso-button {
	display: block;
	padding: 12px 24px;
	text-align: center;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	transition: opacity 0.2s;
}

.eob-sso-button:hover {
	opacity: 0.9;
}

.eob-sso-button:focus {
	outline: 2px solid #0073aa;
	outline-offset: 2px;
}

.eob-google-button {
	background-color: #4285f4;
	color: #fff;
}

.eob-microsoft-button {
	background-color: #0078d4;
	color: #fff;
}

/* Screen reader text */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* Responsive */
@media (max-width: 480px) {
	.eob-login-form {
		margin: 20px;
		padding: 20px;
	}
}

/* Login page specific styles */
.eob-login-page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f5f5f5;
}

.eob-login-container {
	width: 100%;
	max-width: 500px;
	padding: 20px;
}

.eob-setup-header {
    text-align: center;
    margin-bottom: 30px;
    position: static;
    padding: 0;
    height: auto;
}

.scrolled header.eob-setup-header {
    background-color: transparent;
    box-shadow: none;
    position: static;
    height: auto;
}

.eob-setup-header img {
	max-width: 66%;
	margin-bottom: -10px;
}

.eob-login-header h1 {
	margin: 0 0 10px 0;
	color: #333;
}

.eob-login-content {
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* WordPress Login Page Integration */
.eob-wp-login-sso {
	margin: 20px 0;
	padding-top: 20px;
	border-top: 1px solid #ddd;
}

.eob-wp-login-sso p {
	text-align: center;
	margin-bottom: 15px;
	color: #555;
}

.eob-wp-login-sso .eob-sso-buttons {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}

.eob-wp-login-sso .eob-sso-button {
	display: inline-block;
	padding: 10px 20px;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 500;
	transition: background 0.2s;
	text-align: center;
	min-width: 180px;
}

.eob-wp-login-sso .eob-google-button {
	background: #4285f4;
}

.eob-wp-login-sso .eob-google-button:hover {
	background: #357ae8;
}

.eob-wp-login-sso .eob-microsoft-button {
	background: #0078d4;
}

.eob-wp-login-sso .eob-microsoft-button:hover {
	background: #106ebe;
}

/* Password Setup Page Styles */
.eob-password-setup-page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f5f5f5;
	padding: 20px;
}

.eob-setup-container {
	width: 100%;
	max-width: 600px;
	background: #fff;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.eob-setup-header {
	text-align: center;
	margin-bottom: 30px;
}

.eob-logo-container {
	margin-bottom: 30px;
}

.eob-logo-link {
	display: inline-block;
	text-decoration: none;
}

.eob-logo {
	max-width: 200px;
	height: auto;
	display: block;
	margin: 0 auto;
}

.eob-setup-header h1 {
	margin: 0 0 10px 0;
	color: #333;
	font-size: 28px;
	font-weight: 600;
    padding: 0;
    line-height: normal;
}

.eob-setup-description {
	color: #666;
	margin: 0;
}

.eob-setup-options {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.eob-password-form-section {
	flex: 1;
}

.eob-password-form-section h2 {
	margin: 0 0 15px 0;
	color: #333;
	font-size: 20px;
}

.eob-password-requirements {
	background: #f8f9fa;
	padding: 15px;
	border-radius: 4px;
	margin-bottom: 20px;
	font-size: 14px;
	color: #555;
}

.eob-password-requirements ul {
	margin: 10px 0 0 20px;
	padding: 0;
}

.eob-password-requirements li {
	margin-bottom: 5px;
}

.eob-password-setup-form {
	margin-top: 20px;
}

.eob-password-setup-form .eob-form-group {
	margin-bottom: 20px;
}

.eob-password-setup-form .eob-form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
}

.eob-password-setup-form .eob-form-group input[type="password"] {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
	box-sizing: border-box;
}

.eob-password-setup-form .eob-form-group input[type="password"]:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.eob-password-strength {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 600;
}

.eob-password-strength.eob-strength-weak {
	color: #d63638;
}

.eob-password-strength.eob-strength-medium {
	color: #f0b849;
}

.eob-password-strength.eob-strength-strong {
	color: #00a32a;
}

.eob-password-strength.eob-strength-very-strong {
	color: #008a00;
}

.eob-sso-section {
	flex: 1;
	text-align: center;
}

.eob-sso-section h2 {
	margin: 0 0 15px 0;
	color: #333;
	font-size: 20px;
}

.eob-sso-divider {
	text-align: center;
	margin: 30px 0;
	position: relative;
}

.eob-sso-divider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: #ddd;
}

.eob-sso-divider span {
	position: relative;
	background: #fff;
	padding: 0 15px;
	color: #666;
	font-weight: 600;
}

.eob-setup-options .eob-sso-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 15px;
}

.eob-setup-options .eob-sso-button {
	display: block;
	padding: 12px 24px;
	text-align: center;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	transition: opacity 0.2s;
}

.eob-setup-options .eob-sso-button:hover {
	opacity: 0.9;
}

.eob-setup-options .eob-sso-button:focus {
	outline: 2px solid #0073aa;
	outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
	.eob-setup-container {
		padding: 30px 20px;
	}
	
	.eob-setup-options {
		gap: 20px;
	}
}

@media (max-width: 480px) {
	.eob-setup-container {
		padding: 20px 15px;
	}
	
	.eob-setup-header h1 {
		font-size: 24px;
	}
}
