/**
 * Karate Club Manager - Public Styles
 *
 * @package KarateClubManager
 */

/* ==========================================================================
   General Public Styles
   ========================================================================== */

.kcm-wrapper {
	margin: 20px 0;
}

/* ==========================================================================
   Member Cards
   ========================================================================== */

.kcm-member-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
	margin: 20px 0;
}

.kcm-member-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease;
}

.kcm-member-card:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.kcm-member-photo {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 15px;
}

.kcm-member-name {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 10px 0;
}

.kcm-member-info {
	font-size: 14px;
	color: #666;
	margin: 5px 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.kcm-form {
	background: #fff;
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 8px;
	margin: 20px 0;
}

.kcm-form-field {
	margin-bottom: 15px;
}

.kcm-form-field label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
}

.kcm-form-field input[type="text"],
.kcm-form-field input[type="email"],
.kcm-form-field input[type="tel"],
.kcm-form-field input[type="date"],
.kcm-form-field input[type="number"],
.kcm-form-field select,
.kcm-form-field textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
}

.kcm-form-field textarea {
	min-height: 100px;
	resize: vertical;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.kcm-btn {
	display: inline-block;
	padding: 10px 20px;
	margin: 5px 5px 5px 0;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	text-align: center;
	white-space: nowrap;
	transition: all 0.3s ease;
	line-height: 1.5;
}

.kcm-btn-primary {
	background: #2271b1;
	color: #fff;
}

.kcm-btn-primary:hover {
	background: #135e96;
	color: #fff;
}

.kcm-btn-secondary {
	background: #f0f0f1;
	color: #2c3338;
	border: 1px solid #c3c4c7;
}

.kcm-btn-secondary:hover {
	background: #dcdcde;
	color: #2c3338;
	border-color: #a7aaad;
}

.kcm-btn-danger {
	background: #d63638;
	color: #fff;
}

.kcm-btn-danger:hover {
	background: #b32d2e;
	color: #fff;
}

/* ==========================================================================
   Messages
   ========================================================================== */

/* Simple message styles (compact) */
.kcm-message {
	padding: 15px;
	margin: 15px 0;
	border-radius: 4px;
	border-left: 4px solid;
}

.kcm-message-success {
	background: #f0f9ff;
	border-color: #00a32a;
	color: #007017;
}

.kcm-message-error {
	background: #fcf0f1;
	border-color: #d63638;
	color: #a00;
}

.kcm-message-info {
	background: #f0f6fc;
	border-color: #2271b1;
	color: #2c3338;
}

/* Full message styles (with icon) */
.kcm-message-full {
	display: flex;
	align-items: flex-start;
	padding: 30px;
	border-radius: 8px;
	margin: 20px 0;
	background: #fff;
	border: 2px solid;
}

.kcm-message-full.kcm-message-warning {
	border-color: #dba617;
	background: #fcf9e8;
}

.kcm-message-full.kcm-message-info {
	border-color: #2271b1;
	background: #f0f6fc;
}

.kcm-message-full.kcm-message-error {
	border-color: #d63638;
	background: #fcf0f1;
}

.kcm-message-icon {
	font-size: 48px;
	margin-right: 20px;
}

.kcm-message-warning .kcm-message-icon {
	color: #dba617;
}

.kcm-message-info .kcm-message-icon {
	color: #2271b1;
}

.kcm-message-error .kcm-message-icon {
	color: #d63638;
}

.kcm-message-icon .dashicons {
	width: 48px;
	height: 48px;
	font-size: 48px;
}

.kcm-message-content h2 {
	margin-top: 0;
}

.kcm-message-warning .kcm-message-content h2 {
	color: #dba617;
}

.kcm-message-info .kcm-message-content h2 {
	color: #2271b1;
}

.kcm-message-error .kcm-message-content h2 {
	color: #d63638;
}

.kcm-message-content ul {
	list-style: none;
	padding: 0;
	margin: 15px 0;
}

.kcm-message-content ul li {
	padding: 5px 0;
	position: relative;
	padding-left: 20px;
}

.kcm-message-content ul li:before {
	content: "•";
	position: absolute;
	left: 0;
	font-weight: bold;
}

.kcm-message-content p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Loading States
   ========================================================================== */

.kcm-loading {
	opacity: 0.6;
	pointer-events: none;
}

.kcm-spinner {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 2px solid #f3f3f3;
	border-top: 2px solid #2271b1;
	border-radius: 50%;
	animation: kcm-spin 1s linear infinite;
	vertical-align: middle;
	margin-right: 5px;
}

@keyframes kcm-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Member Area Styles
   ========================================================================== */

.kcm-member-area {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.kcm-member-area-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	flex-wrap: wrap;
	gap: 15px;
}

.kcm-member-area-header h2 {
	margin: 0;
	font-size: 24px;
	color: #2c3338;
}

.kcm-no-members {
	text-align: center;
	padding: 60px 20px;
	background: #f9f9f9;
	border-radius: 8px;
	color: #666;
}

.kcm-no-members p {
	font-size: 16px;
	margin: 10px 0;
}

/* Members Grid */
.kcm-members-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 25px;
	margin-top: 20px;
}

/* Member Card Overrides */
.kcm-members-grid .kcm-member-card {
	display: flex;
	flex-direction: column;
	padding: 0;
	overflow: hidden;
}

.kcm-member-photo {
	position: relative;
	height: 250px;
	background: #fff;
	overflow: hidden;
}

.kcm-member-photo img.kcm-member-img {
	display: block;
	max-width: 100%;
	height: 100%;
	width: auto;
	object-fit: contain;
	object-position: top left;
}

/* Photo Overlay - duplicate info on right side */
.kcm-photo-overlay {
	position: absolute;
	right: 10px;
	top: 20px;
	bottom: 60px;
	width: 140px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px;
	padding: 10px 8px;
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	box-sizing: border-box;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.kcm-overlay-name {
	font-size: 14px;
	font-weight: 600;
	color: #2c3338;
	line-height: 1.2;
	word-wrap: break-word;
	word-break: break-word;
	overflow-wrap: break-word;
	text-align: center;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.kcm-overlay-belt {
	display: flex;
	justify-content: center;
	width: 100%;
	max-width: 100%;
}

.kcm-overlay-belt .kcm-belt-badge {
	font-size: 11px;
	padding: 4px 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.kcm-overlay-membership {
	display: flex;
	justify-content: center;
	width: 100%;
	max-width: 100%;
}

.kcm-overlay-membership .kcm-membership-badge {
	font-size: 11px;
	padding: 4px 8px;
	white-space: nowrap;
}

.kcm-overlay-status {
	width: 100%;
	max-width: 100%;
	display: flex;
	justify-content: center;
}

.kcm-overlay-status .kcm-status-badge {
	font-size: 11px;
	padding: 4px 8px;
	white-space: nowrap;
}

.kcm-member-placeholder {
	font-size: 80px;
	color: #c3c4c7;
}

.kcm-member-placeholder .dashicons {
	width: 80px;
	height: 80px;
	font-size: 80px;
}

.kcm-upload-photo-btn {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: rgba(34, 113, 177, 0.9);
	color: #fff;
	border: none;
	padding: 8px 15px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 12px;
	transition: background 0.3s ease;
}

.kcm-upload-photo-btn:hover {
	background: rgba(19, 94, 150, 0.9);
}

.kcm-delete-photo-btn {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(214, 54, 56, 0.9);
	color: #fff;
	border: none;
	padding: 5px;
	border-radius: 50%;
	cursor: pointer;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease;
	z-index: 10;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.kcm-delete-photo-btn:hover {
	background: rgba(179, 45, 46, 0.9);
}

.kcm-delete-photo-btn .dashicons {
	width: 20px;
	height: 20px;
	font-size: 20px;
}

.kcm-member-details {
	padding: 20px;
	flex: 1;
}

.kcm-member-details h3 {
	margin: 0 0 15px 0;
	font-size: 20px;
	color: #2c3338;
}

.kcm-member-info {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.kcm-info-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f1;
	font-size: 14px;
}

.kcm-info-label {
	font-weight: 600;
	color: #666;
}

.kcm-info-value {
	color: #2c3338;
}

/* Belt Badges */
.kcm-belt-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	color: #fff;
}

.kcm-belt-white { background: #f0f0f1; color: #2c3338; }
.kcm-belt-yellow { background: #ffc107; color: #2c3338; }
.kcm-belt-orange { background: #ff9800; color: #fff; }
.kcm-belt-green { background: #4caf50; color: #fff; }
.kcm-belt-blue { background: #2196f3; color: #fff; }
.kcm-belt-purple { background: #9c27b0; color: #fff; }
.kcm-belt-brown { background: #795548; color: #fff; }
.kcm-belt-brown_1_stripe { background: linear-gradient(135deg, #795548 0%, #795548 45%, #fff 45%, #fff 55%, #795548 55%, #795548 100%); color: #fff; }
.kcm-belt-brown_2_stripes { background: repeating-linear-gradient(135deg, #795548 0px, #795548 10px, #fff 10px, #fff 12px, #795548 12px, #795548 22px, #fff 22px, #fff 24px); color: #fff; }
.kcm-belt-red { background: #f44336; color: #fff; }
.kcm-belt-black { background: #212121; color: #fff; }
.kcm-belt-black_stripe { background: linear-gradient(135deg, #212121 0%, #212121 45%, #ffc107 45%, #ffc107 55%, #212121 55%, #212121 100%); color: #fff; }

/* Membership Badges */
.kcm-membership-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}

.kcm-membership-premium {
	background: #ffd700;
	color: #2c3338;
}

.kcm-membership-basic {
	background: #c0c0c0;
	color: #2c3338;
}

/* Status Badges */
.kcm-status-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}

.kcm-status-active {
	background: #4caf50;
	color: #fff;
}

.kcm-status-inactive {
	background: #9e9e9e;
	color: #fff;
}

/* Member Actions */
.kcm-member-actions {
	display: flex;
	gap: 10px;
	padding: 15px 20px;
	background: #f9f9f9;
	border-top: 1px solid #ddd;
}

.kcm-member-actions .kcm-btn {
	flex: 1;
	text-align: center;
	margin: 0;
}

/* ==========================================================================
   Modal Styles
   ========================================================================== */

.kcm-modal {
	display: none;
	position: fixed;
	z-index: 999999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.6);
	padding: 40px 20px;
	box-sizing: border-box;
}

.kcm-modal-content {
	background-color: #fff;
	margin: 0 auto !important;
	padding: 0;
	border-radius: 8px;
	width: 90%;
	max-width: 600px;
	max-height: 90vh !important;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	animation: kcm-modal-slide-in 0.3s ease;
	position: fixed !important;
	left: 50% !important;
	right: auto !important;
	top: 50% !important;
	transform: translate(-50%, -50%) !important;
	margin: 0 !important;
	display: flex !important;
	flex-direction: column !important;
}

@keyframes kcm-modal-slide-in {
	from {
		transform: translate(-50%, calc(-50% - 50px)) !important;
		opacity: 0;
	}
	to {
		transform: translate(-50%, -50%) !important;
		opacity: 1;
	}
}

.kcm-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 25px;
	border-bottom: 1px solid #ddd;
	background: #f9f9f9;
	border-radius: 8px 8px 0 0;
	flex: 0 0 auto !important;
}

.kcm-modal-header h3 {
	margin: 0;
	font-size: 20px;
	color: #2c3338;
}

.kcm-modal-close {
	font-size: 32px;
	font-weight: bold;
	color: #666;
	background: none;
	border: none;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s ease;
}

.kcm-modal-close:hover {
	color: #2c3338;
}

.kcm-modal-body {
	padding: 25px;
	overflow-y: auto !important;
	flex: 1 1 auto !important;
	min-height: 0 !important;
}

.kcm-modal-footer {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
	margin-top: 0 !important;
	padding: 20px 25px;
	border-top: 1px solid #f0f0f1;
	background: #fafafa;
	flex: 0 0 auto !important;
	border-radius: 0 0 8px 8px;
}

.kcm-modal-footer .kcm-btn {
	min-width: 120px;
	margin: 0;
}

/* ==========================================================================
   Form Styles (Modal)
   ========================================================================== */

.kcm-form-row {
	margin-bottom: 20px;
}

.kcm-form-row label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #2c3338;
	font-size: 14px;
}

.kcm-form-row .required {
	color: #d63638;
}

.kcm-form-row input[type="text"],
.kcm-form-row input[type="date"],
.kcm-form-row input[type="number"],
.kcm-form-row select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.3s ease;
}

.kcm-form-row input:focus,
.kcm-form-row select:focus {
	outline: none;
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
}

/* ==========================================================================
   Notice Styles
   ========================================================================== */

.kcm-notice {
	padding: 20px;
	margin: 20px 0;
	border-left: 4px solid;
	background: #fff;
	border-radius: 4px;
}

.kcm-notice-error {
	border-color: #d63638;
	background: #fcf0f1;
}

.kcm-notice p {
	margin: 5px 0;
}

.kcm-notice a {
	color: #2271b1;
	text-decoration: none;
	font-weight: 600;
}

.kcm-notice a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
	.kcm-member-cards,
	.kcm-members-grid {
		grid-template-columns: 1fr;
	}

	.kcm-member-area-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.kcm-modal-content {
		width: 95%;
		max-height: 95vh !important;
		position: fixed !important;
		left: 50% !important;
		top: 50% !important;
		transform: translate(-50%, -50%) !important;
		margin: 0 !important;
		display: flex !important;
		flex-direction: column !important;
	}

	.kcm-member-actions {
		flex-direction: column;
	}

	.kcm-info-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
	}
}

/* ==========================================================================
   Empty Field Styling
   ========================================================================== */

.kcm-info-empty {
	color: #999;
	font-style: italic;
	font-size: 14px;
}

/* ==========================================================================
   Form Field Helpers
   ========================================================================== */

.kcm-field-note {
	color: #666;
	font-size: 12px;
	font-weight: normal;
	font-style: italic;
	margin-left: 5px;
}

.kcm-field-help {
	font-size: 13px;
	color: #666;
	margin: 5px 0 0 0;
	font-style: italic;
}

.kcm-readonly-field {
	background-color: #f5f5f5 !important;
	color: #666 !important;
	cursor: not-allowed !important;
	border-color: #ddd !important;
}

/* ==========================================================================
   Member Classes and Events Modals
   ========================================================================== */

.kcm-modal-large .kcm-modal-content {
	max-width: 800px;
	width: 90%;
	max-height: 90vh !important;
	position: fixed !important;
	left: 50% !important;
	top: 50% !important;
	transform: translate(-50%, -50%) !important;
	margin: 0 !important;
	display: flex !important;
	flex-direction: column !important;
}

.kcm-btn-info {
	background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
	color: white;
	border: none;
	padding: 10px 16px;
	cursor: pointer;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.kcm-btn-info:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4);
}

.kcm-btn-info .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	margin-right: 4px;
}

/* Events Filter Buttons */
.kcm-events-filter {
	display: flex;
	gap: 12px;
	padding: 20px 20px 0 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.kcm-filter-btn {
	background: #f5f5f5;
	color: #333;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.kcm-filter-btn:hover {
	background: #e8e8e8;
	border-color: #ccc;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.kcm-filter-btn.active {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border-color: #667eea;
	box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.kcm-filter-btn.active:hover {
	background: linear-gradient(135deg, #5568d3 0%, #65428b 100%);
	border-color: #5568d3;
	transform: translateY(-1px);
	box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
}

.kcm-filter-btn .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

/* Classes List Styling */
.kcm-classes-list,
.kcm-events-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px;
}

.kcm-class-item,
.kcm-event-item {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
	transition: box-shadow 0.3s ease;
}

.kcm-class-item:hover,
.kcm-event-item:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.kcm-class-header,
.kcm-event-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid #f0f0f1;
}

.kcm-class-header h4,
.kcm-event-header h4 {
	margin: 0;
	color: #2271b1;
	font-size: 18px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
}

.kcm-class-header .dashicons,
.kcm-event-header .dashicons {
	color: #2271b1;
	font-size: 20px;
	width: 20px;
	height: 20px;
}

.kcm-event-status {
	background: #f0f0f1;
	color: #666;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
}

.kcm-event-item.kcm-status-upcoming .kcm-event-status {
	background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
	color: white;
}

.kcm-event-item.kcm-status-ongoing .kcm-event-status {
	background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
	color: white;
}

.kcm-event-item.kcm-status-past .kcm-event-status {
	background: #e0e0e0;
	color: #999;
}

.kcm-class-details,
.kcm-event-details {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.kcm-detail-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: flex-start;
}

.kcm-detail-label {
	min-width: 140px;
	color: #50575e;
	font-weight: 500;
}

.kcm-detail-value {
	flex: 1;
	color: #2c3338;
}

.kcm-loading {
	text-align: center;
	padding: 40px 20px;
	color: #666;
	font-size: 16px;
}

.kcm-no-results {
	text-align: center;
	padding: 40px 20px;
	color: #666;
	background: #f9f9f9;
	border-radius: 8px;
	margin: 20px;
}

.kcm-no-results p {
	margin: 0;
	font-size: 16px;
}

.kcm-error {
	background: #fef2f2;
	border: 1px solid #f87171;
	color: #991b1b;
	padding: 16px;
	border-radius: 8px;
	margin: 20px;
	text-align: center;
}

/* Member Actions Button Layout */
.kcm-member-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	padding: 16px;
}

.kcm-member-actions .kcm-btn {
	flex: 1 1 auto;
	min-width: 120px;
	white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.kcm-modal-large .kcm-modal-content {
		width: 95%;
		max-height: 95vh !important;
		position: fixed !important;
		left: 50% !important;
		top: 50% !important;
		transform: translate(-50%, -50%) !important;
		margin: 0 !important;
		display: flex !important;
		flex-direction: column !important;
	}

	.kcm-class-header,
	.kcm-event-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.kcm-event-status {
		align-self: flex-start;
	}

	.kcm-detail-row {
		flex-direction: column;
		gap: 4px;
	}

	.kcm-detail-label {
		min-width: auto;
	}

	.kcm-member-actions {
		flex-direction: column;
	}

	.kcm-member-actions .kcm-btn {
		width: 100%;
	}
}

/* Belt History Table Styles (Premium) */
.kcm-belt-history-actions {
	margin-bottom: 20px;
	text-align: right;
}

.kcm-belt-history-table-wrapper {
	overflow-x: auto;
}

.kcm-belt-history-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.kcm-belt-history-table thead th {
	background: #f5f5f5;
	padding: 12px 15px;
	text-align: left;
	font-weight: 600;
	border-bottom: 2px solid #ddd;
	white-space: nowrap;
}

.kcm-belt-history-table tbody td {
	padding: 12px 15px;
	border-bottom: 1px solid #eee;
	vertical-align: middle;
}

.kcm-belt-history-table tbody tr:hover {
	background: #f9f9f9;
}

.kcm-belt-history-table tbody tr:last-child td {
	border-bottom: none;
}

.kcm-belt-history-table .kcm-belt-badge {
	font-size: 12px;
	padding: 4px 10px;
}

@media (max-width: 768px) {
	.kcm-belt-history-table {
		font-size: 13px;
	}

	.kcm-belt-history-table thead th,
	.kcm-belt-history-table tbody td {
		padding: 10px;
	}
}
