/**
 * PulseCast Frontend Styles
 *
 * @package PulseCast
 */

/* Magazine Single */
.pulsecast-magazine-single {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.magazine-cover {
	max-width: 400px;
}

.magazine-cover img {
	width: 100%;
	height: auto;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.magazine-meta {
	display: flex;
	gap: 20px;
	margin-top: 15px;
	color: #666;
}

.magazine-actions {
	margin-top: 30px;
	padding: 20px;
	background: #f5f5f5;
	border-radius: 8px;
}

/* Episode Single */
.pulsecast-episode-single {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.episode-artwork {
	max-width: 400px;
	margin-bottom: 30px;
}

.episode-artwork img {
	width: 100%;
	height: auto;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.show-name {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 10px;
}

.show-name a {
	color: #0073aa;
	text-decoration: none;
}

.episode-meta {
	display: flex;
	gap: 20px;
	margin-top: 15px;
	color: #666;
}

.episode-player-wrapper {
	margin: 30px 0;
	padding: 20px;
	background: #f9f9f9;
	border-radius: 8px;
}

/* Movie Single */
.pulsecast-movie-single {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.movie-poster {
	max-width: 400px;
	margin-bottom: 30px;
}

.movie-poster img {
	width: 100%;
	height: auto;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.movie-meta {
	display: flex;
	gap: 20px;
	margin: 15px 0;
	color: #666;
}

.cast {
	margin-top: 15px;
	color: #666;
}

.movie-player-wrapper {
	margin: 30px 0;
}

.movie-player-wrapper video {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Payment Modal */
.pulsecast-payment-modal,
.pulsecast-payment-status {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.5);
}

.modal-content {
	position: relative;
	background: white;
	padding: 30px;
	border-radius: 8px;
	max-width: 500px;
	width: 90%;
	box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.modal-content h3 {
	margin-top: 0;
	margin-bottom: 20px;
}

.payment-gateways {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 20px 0;
}

.payment-gateway-btn {
	padding: 15px 20px;
	background: #0073aa;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	transition: background 0.3s;
}

.payment-gateway-btn:hover {
	background: #005a87;
}

.modal-close {
	display: block;
	width: 100%;
	padding: 12px;
	margin-top: 15px;
	background: #ddd;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
}

.modal-close:hover {
	background: #ccc;
}

.status-indicator {
	padding: 20px;
	text-align: center;
	background: #f0f0f0;
	border-radius: 4px;
	margin: 20px 0;
	font-weight: 500;
}

/* Access Required */
.access-required {
	padding: 30px;
	text-align: center;
	background: #f5f5f5;
	border-radius: 8px;
}

.transcoding-status {
	padding: 30px;
	text-align: center;
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 8px;
	color: #856404;
}

/* Responsive */
@media (max-width: 768px) {
	.magazine-meta,
	.episode-meta,
	.movie-meta {
		flex-direction: column;
		gap: 10px;
	}

	.modal-content {
		padding: 20px;
	}
}

