/**
 * Employer Profile Public View Styles
 *
 * @package Together_Theme
 * @since 1.0.0
 */

.tjb-employer-profile-public {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.tjb-profile-container {
	width: 100%;
}

.tjb-profile-layout {
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: 40px;
	align-items: start;
}

/* Main Content (Left Column) */
.tjb-profile-main-content {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.tjb-profile-section {
	background: #fff;
	border-radius: 8px;
	padding: 30px;
}

.tjb-section-title {
	font-size: 24px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 20px;
}

/* About Company */
.tjb-about-content {
	color: #666;
	line-height: 1.8;
	font-size: 15px;
}

.tjb-about-content p {
	margin: 0 0 15px;
}

/* Social Profiles */
.tjb-social-profiles {
	display: flex;
	align-items: center;
	gap: 15px;
}

.tjb-social-label {
	font-weight: 600;
	color: #333;
}

.tjb-social-icons {
	display: flex;
	gap: 12px;
}

.tjb-social-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	transition: all 0.3s ease;
	text-decoration: none;
}

.tjb-social-icon:hover {
	transform: translateY(-2px);
	text-decoration: none;
}

.tjb-social-facebook {
	color: #1877f2;
}

.tjb-social-twitter {
	color: #1da1f2;
}

.tjb-social-linkedin {
	color: #0077b5;
}

.tjb-social-instagram {
	color: #e4405f;
}

/* Portfolio Gallery */
.tjb-portfolio-gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
}

.tjb-portfolio-item {
	position: relative;
	aspect-ratio: 1;
	border-radius: 8px;
	overflow: hidden;
	background: #f5f5f5;
}

.tjb-portfolio-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tjb-portfolio-more {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
}

/* Video */
.tjb-video-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
	border-radius: 8px;
}

.tjb-video-iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* Open Positions */
.tjb-open-positions-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 25px;
}

.tjb-browse-link {
	color: #447AB3;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: color 0.3s ease;
}

.tjb-browse-link:hover {
	color: #2d3dd3;
	text-decoration: none;
}

.tjb-jobs-grid {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.tjb-job-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 20px;
	display: flex;
	gap: 15px;
	position: relative;
	transition: all 0.3s ease;
}

.tjb-job-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	border-color: #447AB3;
}

.tjb-job-logo {
	width: 60px;
	height: 60px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
	background: #f5f5f5;
}

.tjb-job-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tjb-job-content {
	flex: 1;
	min-width: 0;
}

.tjb-job-title {
	font-size: 18px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0 0 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.tjb-job-title a {
	color: #1a1a1a;
	text-decoration: none;
}

.tjb-job-title a:hover {
	color: #447AB3;
	text-decoration: none;
}

.tjb-featured-badge {
	background: #28a745;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 12px;
	text-transform: uppercase;
}

.tjb-job-details {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 12px;
}

.tjb-job-detail-item {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #666;
	font-size: 14px;
}

.tjb-job-detail-item svg {
	flex-shrink: 0;
	color: #999;
}

.tjb-job-type {
	display: inline-block;
	background: #e3f2fd;
	color: #1976d2;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
}

.tjb-job-bookmark {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none;
	border: none;
	cursor: pointer;
	color: #999;
	transition: color 0.3s ease;
	padding: 5px;
}

.tjb-job-bookmark:hover {
	color: #447AB3;
}

/* Sidebar (Right Column) */
.tjb-profile-sidebar {
	display: flex;
	flex-direction: column;
	gap: 25px;
	position: sticky;
	top: 100px;
}

/* Profile Actions */
.tjb-profile-actions {
	display: flex;
	gap: 10px;
}

.tjb-private-message-btn {
	flex: 1;
	background: #447AB3;
	color: #fff;
	border: none;
	padding: 12px 20px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.tjb-private-message-btn:hover {
	background: #2d3dd3;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(61, 78, 243, 0.3);
}

.tjb-bookmark-btn {
	width: 48px;
	height: 48px;
	border: 1px solid #e0e0e0;
	background: #fff;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #666;
	transition: all 0.3s ease;
}

.tjb-bookmark-btn:hover {
	border-color: #447AB3;
	color: #447AB3;
}

/* Company Summary Card */
.tjb-company-summary-card {
	background: #f8f9fa;
	border-radius: 12px;
	padding: 25px;
}

.tjb-summary-logo {
	width: 80px;
	height: 80px;
	border-radius: 12px;
	overflow: hidden;
	margin: 0 auto 15px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tjb-summary-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tjb-summary-name {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	text-align: center;
	margin: 0 0 15px;
}

.tjb-open-jobs-btn {
	display: block;
	width: 100%;
	background: #28a745;
	color: #fff;
	text-align: center;
	padding: 12px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 600;
	margin-bottom: 20px;
	transition: all 0.3s ease;
}

.tjb-open-jobs-btn:hover {
	background: #218838;
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

.tjb-summary-info {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tjb-summary-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.tjb-summary-item strong {
	font-size: 12px;
	color: #999;
	text-transform: uppercase;
	font-weight: 600;
}

.tjb-summary-item span,
.tjb-summary-item a {
	font-size: 14px;
	color: #333;
	font-weight: 500;
}

.tjb-summary-item a {
	color: #447AB3;
	text-decoration: none;
}

.tjb-summary-item a:hover {
	text-decoration: underline;
}

.tjb-phone-display {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tjb-show-phone {
	background: #447AB3;
	color: #fff;
	border: none;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
	cursor: pointer;
	transition: background 0.3s ease;
}

.tjb-show-phone:hover {
	background: #2d3dd3;
}

.tjb-phone-full {
	color: #333;
}

.tjb-summary-socials {
	display: flex;
	gap: 8px;
	margin-top: 4px;
}

.tjb-summary-social-icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: transform 0.3s ease;
}

.tjb-summary-social-icon:hover {
	transform: translateY(-2px);
	text-decoration: none;
}

.tjb-website-link {
	color: #447AB3;
	text-decoration: none;
	font-weight: 500;
}

.tjb-website-link:hover {
	text-decoration: underline;
}

/* Location Section */
.tjb-location-section {
	background: #fff;
	border-radius: 12px;
	padding: 25px;
}

.tjb-sidebar-title {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 15px;
}

.tjb-address-text {
	color: #666;
	font-size: 14px;
	margin-bottom: 15px;
}

.tjb-profile-map {
	width: 100%;
	height: 250px;
	border-radius: 8px;
	overflow: hidden;
	background: #f5f5f5;
}

/* Send Message Form */
.tjb-send-message-section {
	background: #fff;
	border-radius: 12px;
	padding: 25px;
}

.tjb-message-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.tjb-message-input,
.tjb-message-textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	box-sizing: border-box;
}

.tjb-message-input:focus,
.tjb-message-textarea:focus {
	outline: none;
	border-color: #447AB3;
	box-shadow: 0 0 0 2px rgba(61, 78, 243, 0.1);
}

.tjb-send-message-btn {
	background: #447AB3;
	color: #fff;
	border: none;
	padding: 12px 20px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.tjb-send-message-btn:hover {
	background: #2d3dd3;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(61, 78, 243, 0.3);
}

.tjb-private-message-link {
	color: #447AB3;
	text-decoration: none;
	font-size: 14px;
	text-align: center;
	display: block;
	margin-top: 10px;
}

.tjb-private-message-link:hover {
	text-decoration: underline;
}

/* Responsive */
@media (max-width: 968px) {
	.tjb-profile-layout {
		grid-template-columns: 1fr;
	}

	.tjb-profile-sidebar {
		position: static;
	}

	.tjb-portfolio-gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.tjb-employer-profile-public {
		padding: 20px 15px;
	}

	.tjb-profile-section {
		padding: 20px;
	}

	.tjb-portfolio-gallery {
		grid-template-columns: 1fr;
	}

	.tjb-profile-actions {
		flex-direction: column;
	}

	.tjb-bookmark-btn {
		width: 100%;
	}
}
