/**
 * Admin Videos Management Styles
 *
 * @package Karate_Club_Manager
 * @since 1.0.27
 */

/* Video List Table */
.kcm-videos-wrap {
	max-width: 100%;
}

.kcm-videos-wrap .wp-heading-inline {
	margin-right: 10px;
}

/* Status badges */
.kcm-status-published {
	display: inline-block;
	padding: 4px 10px;
	background: #46b450;
	color: #fff;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
}

.kcm-status-draft {
	display: inline-block;
	padding: 4px 10px;
	background: #999;
	color: #fff;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
}

/* Video Form */
.kcm-video-form .form-table {
	margin-top: 20px;
}

.kcm-video-form .required {
	color: #dc3232;
}

.kcm-video-form .description {
	color: #6B7280;
	font-style: italic;
	font-size: 13px;
}

/* Thumbnail Upload */
.kcm-thumbnail-wrap {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.kcm-thumbnail-preview {
	margin-bottom: 10px;
}

.kcm-thumbnail-preview img {
	max-width: 300px;
	height: auto;
	border: 1px solid #D1D5DB;
	border-radius: 4px;
	padding: 5px;
	background: #fff;
}

#upload_thumbnail_button,
#remove_thumbnail_button {
	max-width: 200px;
}

/* Video Type Help */
#video_type + .description {
	margin-top: 8px;
}

#video_url + .description {
	margin-top: 8px;
	line-height: 1.6;
}

/* List Table Improvements */
.wp-list-table .column-thumbnail {
	width: 80px;
}

.wp-list-table .column-video_type {
	width: 120px;
}

.wp-list-table .column-duration {
	width: 100px;
}

.wp-list-table .column-display_order {
	width: 80px;
	text-align: center;
}

.wp-list-table .column-status {
	width: 100px;
}

.wp-list-table .column-created_at {
	width: 120px;
}

/* Delete link styling */
.kcm-delete-video {
	color: #b32d2e !important;
}

.kcm-delete-video:hover {
	color: #dc3232 !important;
}

/* Responsive */
@media screen and (max-width: 782px) {
	.kcm-thumbnail-preview img {
		max-width: 100%;
	}

	#upload_thumbnail_button,
	#remove_thumbnail_button {
		max-width: 100%;
	}
}
