/**
 * Packages Page Styles
 *
 * @package Together_Job_Board
 * @since 1.0.0
 */

.tjb-packages-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.tjb-packages-intro {
	margin-bottom: 40px;
}

.tjb-packages-intro h2 {
	color: #447AB3;
	font-size: 2em;
	margin-bottom: 15px;
}

.tjb-packages-intro p {
	font-size: 1.1em;
	line-height: 1.6;
	margin-bottom: 15px;
}

.tjb-platform-info {
	background: #f5f5f5;
	padding: 20px;
	border-radius: 5px;
	margin-top: 20px;
}

.tjb-platform-info p {
	margin-bottom: 10px;
}

.tjb-packages-section {
	margin-bottom: 40px;
}

.tjb-packages-section h3 {
	color: #447AB3;
	font-size: 1.8em;
	margin-bottom: 10px;
}

.tjb-section-subtitle {
	font-size: 1.1em;
	margin-bottom: 30px;
	color: #666;
}

.tjb-packages-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.tjb-package-card {
	background: #fff;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
	position: relative;
	transition: all 0.3s ease;
}

.tjb-package-card:hover {
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.tjb-package-card.featured {
	border-color: #ffb900;
	background: linear-gradient(to bottom, #fff9e6 0%, #ffffff 20%);
}

.tjb-package-badge {
	position: absolute;
	top: -12px;
	right: 20px;
	background: #ffb900;
	color: #000;
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 0.85em;
	font-weight: bold;
}

.tjb-package-header {
	margin-bottom: 15px;
}

.tjb-package-radio {
	margin-right: 10px;
	width: 20px;
	height: 20px;
	cursor: pointer;
}

.tjb-package-label {
	cursor: pointer;
	display: inline-block;
	font-size: 1.5em;
	font-weight: bold;
	color: #333;
	margin: 0;
}

.tjb-package-price {
	font-size: 2em;
	font-weight: bold;
	color: #447AB3;
	margin-bottom: 15px;
}

.tjb-package-bundle-badge {
	font-size: 0.5em;
	display: inline-block;
	margin-left: 10px;
	padding: 3px 8px;
	background: #447AB3;
	color: #fff;
	border-radius: 3px;
}

.tjb-package-description {
	margin-bottom: 15px;
	color: #666;
	line-height: 1.5;
	font-size: 0.95em;
}

.tjb-package-features {
	list-style: none;
	padding: 0;
	margin: 0 0 15px 0;
}

.tjb-package-features li {
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
	display: flex;
	align-items: flex-start;
}

.tjb-package-features li:last-child {
	border-bottom: none;
}

.tjb-feature-icon {
	color: #97C354;
	font-weight: bold;
	margin-right: 10px;
	font-size: 1.2em;
}

.tjb-package-meta {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #e0e0e0;
	color: #666;
	font-size: 0.9em;
}

.tjb-package-action {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #e0e0e0;
}

/* Purchase/Get Started buttons on pricing page */
.tjb-pricing-page-public .tjb-package-action .button {
	width: 100%;
	padding: 14px 24px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 8px;
	background: #447AB3;
	border: 2px solid #447AB3;
	color: #fff !important;
	text-decoration: none !important;
	display: block;
	text-align: center;
	transition: all 0.3s ease;
	cursor: pointer;
	box-sizing: border-box;
}

.tjb-pricing-page-public .tjb-package-action .button:hover,
.tjb-pricing-page-public .tjb-package-action .button:focus {
	background: #3a6a9a;
	border-color: #3a6a9a;
	color: #fff !important;
	text-decoration: none !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(68, 122, 179, 0.3);
	outline: none;
}

.tjb-pricing-page-public .tjb-package-action .button:active {
	transform: translateY(0);
}

.tjb-pricing-page-public .tjb-package-action .button:visited {
	color: #fff !important;
	text-decoration: none !important;
}

.tjb-purchase-package-btn {
	width: 100%;
	padding: 14px 24px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	background: #447AB3;
	border: 2px solid #447AB3;
	color: #fff !important;
	text-decoration: none;
	display: inline-block;
	text-align: center;
}

.tjb-purchase-package-btn,
.tjb-purchase-package-btn:link,
.tjb-purchase-package-btn:visited,
.tjb-purchase-package-btn:active {
	color: #fff !important;
}

.tjb-purchase-package-btn:hover {
	background: #3a6a9a;
	border-color: #3a6a9a;
	color: #fff !important;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(61, 78, 243, 0.3);
}

.tjb-purchase-package-btn:focus {
	color: #fff !important;
	outline: none;
	box-shadow: 0 0 0 3px rgba(61, 78, 243, 0.3);
}

.tjb-purchase-package-btn:active {
	transform: translateY(0);
}

.tjb-purchase-package-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.tjb-active-packages {
	margin-bottom: 40px;
	background: #f0f8ff;
	padding: 20px;
	border-radius: 8px;
}

.tjb-active-packages h3 {
	color: #447AB3;
	margin-bottom: 20px;
}

.tjb-package-card.active {
	border-color: #97C354;
	background: #f0fff0;
}

.tjb-package-remaining {
	color: #97C354;
	font-weight: bold;
	margin: 10px 0;
}

.tjb-package-checkout {
	text-align: center;
	margin-top: 30px;
}

#tjb-payment-form {
	margin-top: 40px;
	padding: 30px;
	background: #f9f9f9;
	border-radius: 8px;
	border: 2px solid #e0e0e0;
}

#tjb-payment-form h3 {
	margin-top: 0;
	margin-bottom: 20px;
	color: #333;
	font-size: 1.5em;
}

#tjb-stripe-card-element {
	padding: 15px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	margin-bottom: 15px;
}

#tjb-stripe-card-errors {
	color: #fa755a;
	margin-bottom: 15px;
	font-size: 0.9em;
}

.tjb-contact-info {
	margin-top: 40px;
	padding: 20px;
	background: #f5f5f5;
	border-radius: 5px;
	text-align: center;
}

.tjb-contact-info p {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.tjb-contact-info .dashicons {
	color: #447AB3;
}

/* Payment Page Styles */
.tjb-payment-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.tjb-payment-header {
	margin-bottom: 30px;
}

.tjb-payment-header h2 {
	color: #447AB3;
	font-size: 2em;
	margin-bottom: 10px;
}

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

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

.tjb-payment-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-top: 30px;
}

.tjb-payment-summary h3,
.tjb-payment-form-wrapper h3 {
	color: #333;
	font-size: 1.5em;
	margin-bottom: 20px;
}

.tjb-payment-package-card {
	background: #fff;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	padding: 25px;
}

.tjb-payment-package-card h4 {
	font-size: 1.5em;
	margin-bottom: 15px;
	color: #333;
}

.tjb-payment-price {
	font-size: 2.5em;
	font-weight: bold;
	color: #447AB3;
	margin-bottom: 20px;
}

.tjb-payment-description {
	margin-bottom: 20px;
	color: #666;
	line-height: 1.6;
}

.tjb-payment-features {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
}

.tjb-payment-features li {
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
	display: flex;
	align-items: flex-start;
}

.tjb-payment-features li:last-child {
	border-bottom: none;
}

.tjb-payment-meta {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
	color: #666;
	font-size: 0.9em;
}

.tjb-payment-form-wrapper {
	background: #f9f9f9;
	padding: 30px;
	border-radius: 8px;
	border: 2px solid #e0e0e0;
}

/* Payment Method Selection */
.tjb-payment-methods {
	margin-bottom: 30px;
}

.tjb-payment-method-option {
	margin-bottom: 15px;
	padding: 15px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	transition: all 0.3s ease;
}

.tjb-payment-method-option:hover {
	border-color: #447AB3;
	background: #f8f9fa;
}

.tjb-payment-method-option input[type="radio"] {
	margin-right: 12px;
	width: 20px;
	height: 20px;
	cursor: pointer;
}

.tjb-payment-method-option input[type="radio"]:checked + .tjb-payment-method-label {
	color: #447AB3;
}

.tjb-payment-method-option:has(input[type="radio"]:checked) {
	border-color: #447AB3;
	background: #f0f7ff;
}

.tjb-payment-method-label {
	display: flex;
	flex-direction: column;
	cursor: pointer;
}

.tjb-payment-method-label strong {
	font-size: 1.1em;
	margin-bottom: 5px;
	color: #333;
}

.tjb-payment-method-desc {
	font-size: 0.9em;
	color: #666;
}

.tjb-test-payment-info {
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 6px;
	padding: 15px;
	margin-bottom: 20px;
}

.tjb-test-payment-info p {
	margin: 5px 0;
	color: #856404;
}

.tjb-test-payment-info p:first-child {
	margin-top: 0;
}

.tjb-test-payment-info p:last-child {
	margin-bottom: 0;
}

/* Discount Code Section */
.tjb-discount-code-section {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
}

.tjb-discount-code-input-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
}

.tjb-discount-code-input-wrapper {
	display: flex;
	gap: 10px;
}

.tjb-discount-code-input {
	flex: 1;
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
}

.tjb-discount-code-input:focus {
	outline: none;
	border-color: #447AB3;
}

.tjb-discount-code-input:disabled {
	background-color: #f5f5f5;
	cursor: not-allowed;
}

.tjb-apply-discount-btn {
	padding: 10px 20px;
	white-space: nowrap;
}

.tjb-discount-code-message {
	margin-top: 8px;
	font-size: 13px;
	min-height: 20px;
}

/* Order Summary */
.tjb-order-summary {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
}

.tjb-order-summary-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	font-size: 14px;
}

.tjb-discount-row {
	color: #28a745;
}

.tjb-order-total {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 2px solid #e0e0e0;
	font-size: 16px;
}

.tjb-discount-code-label {
	font-weight: normal;
	font-style: italic;
}

/* Public Pricing Page Styles */
.tjb-pricing-page-public {
	max-width: 1400px;
	margin: 0 auto;
	padding: 20px;
}

.tjb-pricing-page-header {
	text-align: center;
	margin-bottom: 30px;
}

.tjb-pricing-page-header h1 {
	color: #447AB3;
	font-size: 2.5em;
	margin-bottom: 15px;
}

.tjb-pricing-subtitle {
	font-size: 1.2em;
	color: #666;
	max-width: 800px;
	margin: 0 auto;
	line-height: 1.6;
}

.tjb-pricing-section {
	margin-bottom: 40px;
	padding: 20px 0;
}

.tjb-pricing-section-header {
	text-align: center;
	margin-bottom: 30px;
}

.tjb-pricing-section-badge {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 25px;
	font-size: 0.85em;
	font-weight: 600;
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.tjb-badge-employer {
	background: #447AB3;
	color: #fff;
}

.tjb-badge-talent-acquisition {
	background: #9B59B6;
	color: #fff;
}

.tjb-badge-programme {
	background: #27AE60;
	color: #fff;
}

.tjb-pricing-section-header h2 {
	color: #333;
	font-size: 1.6em;
	margin-bottom: 10px;
}

.tjb-section-description {
	font-size: 1em;
	color: #666;
	max-width: 900px;
	margin: 0 auto;
	line-height: 1.5;
}

.tjb-package-period {
	font-size: 0.5em;
	color: #666;
	font-weight: normal;
	display: block;
	margin-top: 5px;
}

.tjb-recurring-badge {
	display: inline-block;
	padding: 3px 10px;
	background: #e8f5e9;
	color: #27AE60;
	border-radius: 12px;
	font-size: 0.85em;
	font-weight: 600;
	margin-left: 8px;
}

.tjb-featured-badge {
	background: #ffb900;
	color: #000;
}

.tjb-popular-badge {
	background: #e74c3c;
	color: #fff;
}

.tjb-pricing-no-packages {
	text-align: center;
	padding: 60px 20px;
	background: #f9f9f9;
	border-radius: 8px;
}

.tjb-pricing-no-packages p {
	font-size: 1.2em;
	color: #666;
}

.tjb-pricing-page-footer {
	text-align: center;
	margin-top: 40px;
	padding-top: 30px;
	border-top: 2px solid #e0e0e0;
}

.tjb-pricing-page-footer p {
	font-size: 1.1em;
	color: #666;
}

.tjb-pricing-page-footer a {
	color: #447AB3;
	text-decoration: none;
	font-weight: 600;
}

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

@media (max-width: 768px) {
	.tjb-packages-grid {
		grid-template-columns: 1fr;
	}
	
	.tjb-packages-intro h2 {
		font-size: 1.5em;
	}
	
	.tjb-payment-content {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	
	.tjb-pricing-page-header h1 {
		font-size: 2em;
	}
	
	.tjb-pricing-section-header h2 {
		font-size: 1.6em;
	}
	
	.tjb-pricing-section {
		padding: 15px 0;
		margin-bottom: 30px;
	}
}

