/* Rádio IMR - Frontend Styles */

.radioimr-player {
	background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
	border: 2px solid #00ff00;
	border-radius: 8px;
	padding: 20px;
	margin: 20px 0;
	color: #fff;
	font-family: 'Courier New', monospace;
	box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.player-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	border-bottom: 1px solid #00ff00;
	padding-bottom: 10px;
}

.player-header h2 {
	margin: 0;
	color: #00ff00;
	font-size: 24px;
}

.live-indicator {
	color: #00ff00;
	font-weight: bold;
	animation: pulse 1s infinite;
}

@keyframes pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

.player-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding: 15px;
	background: rgba(0, 255, 0, 0.05);
	border-radius: 4px;
}

.now-playing h3 {
	margin: 0 0 5px 0;
	color: #00ff00;
	font-size: 18px;
}

.now-playing p {
	margin: 0;
	color: #999;
	font-size: 14px;
}

.listeners-count {
	text-align: right;
	font-size: 14px;
	color: #00ff00;
}

.listeners-count span {
	font-size: 24px;
	font-weight: bold;
	display: block;
}

.player-controls {
	display: flex;
	gap: 20px;
	align-items: center;
	flex-wrap: wrap;
}

.btn {
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: bold;
	transition: all 0.3s ease;
	font-family: inherit;
}

.btn-primary {
	background: #00ff00;
	color: #000;
}

.btn-primary:hover {
	background: #00dd00;
	box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.volume-control {
	display: flex;
	align-items: center;
	gap: 10px;
}

.volume-control label {
	margin: 0;
	font-size: 14px;
}

.volume-control input[type="range"] {
	width: 150px;
	cursor: pointer;
}

#volume-value {
	min-width: 40px;
	text-align: right;
	color: #00ff00;
}

/* Schedule Styles */
.radioimr-schedule {
	margin: 20px 0;
}

.radioimr-schedule h2 {
	color: #00ff00;
	border-bottom: 2px solid #00ff00;
	padding-bottom: 10px;
}

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

.schedule-item {
	background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
	border: 1px solid #00ff00;
	border-radius: 4px;
	padding: 15px;
	transition: all 0.3s ease;
}

.schedule-item:hover {
	border-color: #00ff00;
	box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
	transform: translateY(-2px);
}

.schedule-time {
	color: #00ff00;
	font-weight: bold;
	font-size: 12px;
	margin-bottom: 10px;
}

.schedule-info h3 {
	margin: 0 0 5px 0;
	color: #fff;
	font-size: 16px;
}

.schedule-info p {
	margin: 0;
	color: #999;
	font-size: 13px;
}

/* Music Request Form */
.radioimr-requests {
	margin: 20px 0;
	background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
	border: 2px solid #00ff00;
	border-radius: 8px;
	padding: 20px;
}

.radioimr-requests h2 {
	color: #00ff00;
	margin-top: 0;
}

.music-request-form {
	display: grid;
	gap: 15px;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group label {
	color: #00ff00;
	margin-bottom: 5px;
	font-weight: bold;
	font-size: 14px;
}

.form-group input {
	padding: 10px;
	background: #0d0d0d;
	border: 1px solid #00ff00;
	color: #fff;
	border-radius: 4px;
	font-family: inherit;
}

.form-group input:focus {
	outline: none;
	border-color: #00ff00;
	box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.request-message {
	padding: 10px;
	border-radius: 4px;
	margin-top: 10px;
	font-weight: bold;
}

.request-message.success {
	background: rgba(0, 255, 0, 0.2);
	color: #00ff00;
	border: 1px solid #00ff00;
}

.request-message.error {
	background: rgba(255, 0, 0, 0.2);
	color: #ff0000;
	border: 1px solid #ff0000;
}

/* Music History */
.radioimr-history {
	margin: 20px 0;
}

.radioimr-history h2 {
	color: #00ff00;
	border-bottom: 2px solid #00ff00;
	padding-bottom: 10px;
}

.history-list {
	margin-top: 20px;
}

.history-item {
	background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
	border-left: 3px solid #00ff00;
	padding: 12px;
	margin-bottom: 10px;
	border-radius: 4px;
}

.history-item-title {
	color: #00ff00;
	font-weight: bold;
	margin: 0 0 5px 0;
}

.history-item-artist {
	color: #999;
	margin: 0 0 3px 0;
	font-size: 14px;
}

.history-item-time {
	color: #666;
	font-size: 12px;
	margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
	.radioimr-player {
		padding: 15px;
	}

	.player-info {
		flex-direction: column;
		align-items: flex-start;
	}

	.listeners-count {
		text-align: left;
		margin-top: 10px;
	}

	.player-controls {
		flex-direction: column;
		width: 100%;
	}

	.btn {
		width: 100%;
	}

	.volume-control {
		width: 100%;
		flex-wrap: wrap;
	}

	.volume-control input[type="range"] {
		flex: 1;
		min-width: 100px;
	}

	.schedule-grid {
		grid-template-columns: 1fr;
	}

	.music-request-form {
		grid-template-columns: 1fr;
	}
}
