/**
 * Login Form Styles
 *
 * @package Together_Job_Board
 * @since 1.0.0
 */

/* New Two-Column Layout - Matching Screenshot */
.tjb-login-page-wrapper {
	max-width: 1200px;
	margin: 40px auto;
	padding: 0 40px;
	display: flex;
	align-items: flex-start;
}

.tjb-login-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
	width: 100%;
}

/* Left Section: Login Form */
.tjb-login-form-section {
	background: #fff;
	padding: 0;
	border-radius: 0;
}

.tjb-login-title {
	font-size: 2rem;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 40px;
	margin-top: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.2;
}

.tjb-login-form {
	margin: 0;
	padding: 0;
}

.tjb-form-group {
	margin-bottom: 32px;
}

.tjb-form-label {
	display: block;
	margin-bottom: 10px;
	font-weight: 600;
	color: #333;
	font-size: 0.9375rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.5;
}

.tjb-form-label .required {
	color: #dc3232;
}

.tjb-form-input {
	width: 100%;
	padding: 16px 18px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
	transition: border-color 0.3s ease;
	box-sizing: border-box;
	background: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.5;
	min-height: 52px;
}

.tjb-form-input::placeholder {
	color: #999;
	opacity: 1;
}

.tjb-form-input:focus {
	outline: none;
	border-color: #447AB3;
	box-shadow: 0 0 0 3px rgba(68, 122, 179, 0.1);
}

.tjb-checkbox-label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 400;
	cursor: pointer;
	font-size: 0.9375rem;
	color: #333;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	margin-top: 8px;
}

.tjb-checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	cursor: pointer;
	accent-color: #447AB3;
}

.tjb-login-button {
	display: inline-block;
	padding: 16px 32px;
	background: #447AB3;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s ease;
	margin-top: 24px;
	text-transform: none;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	min-height: 52px;
	line-height: 1.5;
	width: auto;
}

.tjb-login-button:hover {
	background: #356a9a;
	color: #fff;
}

.tjb-login-links {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid #e0e0e0;
}

.tjb-login-links p {
	margin: 14px 0;
	color: #666;
	font-size: 0.9375rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
}

.tjb-link {
	color: #447AB3;
	text-decoration: underline;
	font-weight: 400;
}

.tjb-link:hover {
	color: #356a9a;
	text-decoration: underline;
}

/* Right Section: Why Register */
.tjb-register-benefits-section {
	background: #e8f4f8;
	padding: 40px;
	border-radius: 8px;
	border: 1px solid #bee5eb;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	position: sticky;
	top: 20px;
	margin-top: 0;
}

.tjb-benefits-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 25px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.tjb-benefits-list {
	list-style: none;
	padding: 0;
	margin: 0 0 30px 0;
}

.tjb-benefit-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 16px;
}

.tjb-benefit-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: #447AB3;
	color: #fff;
	border-radius: 50%;
	font-size: 16px;
	font-weight: bold;
	flex-shrink: 0;
	line-height: 1;
}

.tjb-benefit-text {
	color: #333;
	font-size: 1rem;
	line-height: 1.5;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.tjb-register-button {
	display: inline-block;
	width: auto;
	padding: 16px 32px;
	background: #447AB3;
	color: #fff;
	text-align: center;
	text-decoration: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	transition: background 0.3s ease;
	border: none;
	cursor: pointer;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	min-height: 52px;
	line-height: 1.5;
}

.tjb-register-button:hover {
	background: #356a9a;
	color: #fff;
	text-decoration: none;
}

/* Error Messages */
.tjb-message {
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 20px;
}

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

.tjb-message-error p {
	margin: 0;
	font-weight: 500;
}

.tjb-message-info {
	background: #d1ecf1;
	color: #0c5460;
	border: 1px solid #bee5eb;
}

.tjb-message-warning {
	background: #fff3cd;
	color: #856404;
	border: 1px solid #ffeaa7;
}

/* Field error styles */
.tjb-form-field.has-error {
	margin-bottom: 8px;
}

.tjb-form-field.has-error .tjb-input {
	border-color: #dc3232;
	box-shadow: 0 0 0 3px rgba(220, 50, 50, 0.1);
}

.tjb-field-error {
	display: block;
	color: #dc3232;
	font-size: 13px;
	margin-top: 6px;
	font-weight: 500;
}

/* Login Selection Page - Enhanced Design */
.tjb-login-selection {
	max-width: 1200px;
	margin: 60px auto;
	padding: 80px 40px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	text-align: center;
	position: relative;
	overflow: hidden;
}

/* Add decorative blob shapes */
.tjb-login-selection::before,
.tjb-login-selection::after {
	content: '';
	position: absolute;
	width: 300px;
	height: 300px;
	border-radius: 50% 30% 60% 40% / 50% 40% 60% 30%;
	z-index: 0;
	pointer-events: none;
	opacity: 0.15;
}

.tjb-login-selection::before {
	top: -100px;
	right: -100px;
	background: linear-gradient(135deg, #97C354 0%, #6BCB77 100%);
	transform: rotate(45deg);
}

.tjb-login-selection::after {
	bottom: -80px;
	left: -80px;
	background: linear-gradient(135deg, #447AB3 0%, #5a9bd4 100%);
	border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
	transform: rotate(-30deg);
}

.tjb-login-selection-header {
	text-align: center;
	margin-bottom: 60px;
	position: relative;
	z-index: 1;
}

.tjb-login-selection .tjb-page-title {
	font-size: 3rem;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 16px;
	margin-top: 0;
	text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	width: 100%;
	display: block;
	position: relative;
	z-index: 1;
}

.tjb-login-selection .tjb-subtitle {
	text-align: center;
	color: #666;
	margin-bottom: 0;
	margin-top: 0;
	font-size: 1.25rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	position: relative;
	z-index: 1;
}

.tjb-login-options {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 40px;
	position: relative;
	z-index: 1;
}

.tjb-login-option {
	padding: 40px 30px;
	background: #fff;
	border-radius: 16px;
	text-align: center;
	border: 2px solid #e0e0e0;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tjb-login-option::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #447AB3 0%, #97C354 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.tjb-login-option-employer::before {
	background: linear-gradient(90deg, #447AB3 0%, #5a9bd4 100%);
}

.tjb-login-option-candidate::before {
	background: linear-gradient(90deg, #97C354 0%, #6BCB77 100%);
}

.tjb-login-option-talent::before {
	background: linear-gradient(90deg, #447AB3 0%, #97C354 100%);
}

.tjb-login-option:hover {
	border-color: #447AB3;
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(68, 122, 179, 0.2);
}

.tjb-login-option:hover::before {
	opacity: 1;
}

.tjb-login-option-icon {
	margin-bottom: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 80px;
	height: 80px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(68, 122, 179, 0.1) 0%, rgba(151, 195, 84, 0.1) 100%);
	transition: all 0.3s ease;
}

.tjb-login-option-employer .tjb-login-option-icon {
	background: linear-gradient(135deg, rgba(68, 122, 179, 0.1) 0%, rgba(90, 155, 212, 0.1) 100%);
	color: #447AB3;
}

.tjb-login-option-candidate .tjb-login-option-icon {
	background: linear-gradient(135deg, rgba(151, 195, 84, 0.1) 0%, rgba(107, 203, 119, 0.1) 100%);
	color: #97C354;
}

.tjb-login-option-talent .tjb-login-option-icon {
	background: linear-gradient(135deg, rgba(68, 122, 179, 0.1) 0%, rgba(151, 195, 84, 0.1) 100%);
	color: #447AB3;
}

.tjb-login-option:hover .tjb-login-option-icon {
	transform: scale(1.1) rotate(5deg);
	background: linear-gradient(135deg, rgba(68, 122, 179, 0.15) 0%, rgba(151, 195, 84, 0.15) 100%);
}

.tjb-login-option-employer:hover .tjb-login-option-icon {
	background: linear-gradient(135deg, rgba(68, 122, 179, 0.2) 0%, rgba(90, 155, 212, 0.2) 100%);
}

.tjb-login-option-candidate:hover .tjb-login-option-icon {
	background: linear-gradient(135deg, rgba(151, 195, 84, 0.2) 0%, rgba(107, 203, 119, 0.2) 100%);
}

.tjb-login-option-talent:hover .tjb-login-option-icon {
	background: linear-gradient(135deg, rgba(68, 122, 179, 0.2) 0%, rgba(151, 195, 84, 0.2) 100%);
}

.tjb-login-option-icon svg {
	width: 48px;
	height: 48px;
	stroke: currentColor;
}

.tjb-login-option h3 {
	font-size: 1.75rem;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 12px;
	margin-top: 0;
}

.tjb-login-option p {
	color: #666;
	margin-bottom: 28px;
	font-size: 1rem;
	line-height: 1.6;
}

.tjb-login-button-option {
	display: inline-block;
	padding: 14px 40px;
	background: #447AB3;
	color: #fff !important;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.5;
	width: auto;
	box-shadow: 0 2px 8px rgba(68, 122, 179, 0.2);
}

.tjb-login-button-option:hover {
	background: #356a9a;
	color: #fff !important;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(68, 122, 179, 0.3);
}

.tjb-login-footer {
	margin-top: 30px;
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
}

.tjb-login-footer p {
	margin: 10px 0;
	color: #666;
}

.tjb-login-footer a {
	color: #447AB3;
	text-decoration: none;
	font-weight: 500;
}

.tjb-login-footer a:hover {
	text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
	.tjb-login-container {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	
	.tjb-login-form-section,
	.tjb-register-benefits-section {
		padding: 30px 20px;
	}
	
	.tjb-register-benefits-section {
		position: static;
	}
	
	.tjb-login-selection {
		padding: 30px 20px;
		margin: 20px;
	}

	.tjb-login-options {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.tjb-login-selection {
		padding: 40px 20px;
		margin: 20px;
	}

	.tjb-login-selection .tjb-page-title {
		font-size: 2rem;
	}

	.tjb-login-option {
		padding: 30px 20px;
	}

	.tjb-login-option-icon {
		width: 60px;
		height: 60px;
	}

	.tjb-login-option-icon svg {
		width: 36px;
		height: 36px;
	}
}
