/*
* Main CSS for the School Kudos Core theme.
*
* @package School_Kudos_Core
* @subpackage School_Kudos_Core/assets/css
* @version 1.0.0
*/

/* ========================================
Invite Link Section Styles
======================================== */

/* Main container scoping */
#group-invites-container.sk-core-invite-link-container {
	position: relative;
}

#group-invites-container.sk-core-invite-link-container #message {
	width: 100%;
	margin-bottom: 16px;
	min-height: 0;
	transition: all 0.3s ease-out;
	overflow: hidden;
	clear: both;
}

#group-invites-container.sk-core-invite-link-container #message:empty {
	margin-bottom: 0;
	min-height: 0;
	display: none;
}

#group-invites-container.sk-core-invite-link-container #message .bp-feedback {
	animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

#group-invites-container.sk-core-invite-link-container .group-invites-column {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: stretch;
	width: 100%;
}

/* Section cards */
#group-invites-container.sk-core-invite-link-container .sk-core-invite-section {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 20px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
	flex: 1;
	min-width: 300px;
	display: flex;
	flex-direction: column;
}

#group-invites-container.sk-core-invite-link-container .sk-core-invite-section .section-header {
	margin-bottom: 12px;
}

#group-invites-container.sk-core-invite-link-container .sk-core-invite-section .section-header .bb-title {
	margin: 0 0 6px 0;
	font-size: 16px;
	font-weight: 600;
	color: #1f2937;
	display: flex;
	align-items: center;
	gap: 6px;
}

#group-invites-container.sk-core-invite-link-container .sk-core-invite-section .section-header .bb-title:before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	flex-shrink: 0;
	opacity: 0.8;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E");
}

#group-invites-container.sk-core-invite-link-container .sk-core-invite-section.staff-section .section-header .bb-title:before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

/* Staff Management Section Icon */
#pending-staff-container .sk-core-invite-section.staff-management-section .section-header .bb-title:before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	flex-shrink: 0;
	opacity: 0.8;
	margin-right: 8px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

#pending-staff-container .sk-core-invite-section.staff-management-section .section-header .bb-title {
	margin: 0 0 6px 0;
	font-size: 16px;
	font-weight: 600;
	color: #1f2937;
	display: flex;
	align-items: center;
	gap: 0;
}

#pending-staff-container .sk-core-invite-section.staff-management-section .section-header .section-description {
	color: #6b7280;
	font-size: 13px;
	line-height: 1.5;
	margin: 0 0 14px 0;
}

#group-invites-container.sk-core-invite-link-container .sk-core-invite-section .section-description {
	color: #6b7280;
	font-size: 13px;
	line-height: 1.5;
	margin: 0 0 14px 0;
}

/* URL Input Group */
#group-invites-container.sk-core-invite-link-container .sk-core-url-input-group {
	display: flex;
	gap: 10px;
	margin: 12px 0;
	align-items: stretch;
}

#group-invites-container.sk-core-invite-link-container .sk-core-url-input-group input[type="text"] {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	font-size: 13px;
	font-family: monospace;
	background: #fafafa;
	transition: all 0.2s;
}

#group-invites-container.sk-core-invite-link-container .sk-core-url-input-group input[type="text"]:focus {
	outline: none;
	border-color: #3b82f6;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#group-invites-container.sk-core-invite-link-container .sk-core-url-input-group .button {
	padding: 10px 18px;
	border-radius: 4px;
	font-weight: 400;
	white-space: nowrap;
	transition: all 0.2s;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

#group-invites-container.sk-core-invite-link-container .sk-core-url-input-group .button:hover {
	opacity: 0.85;
}

#group-invites-container.sk-core-invite-link-container .sk-core-url-input-group .button .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
}

/* Action Buttons */
#group-invites-container.sk-core-invite-link-container .sk-core-actions {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid #f0f0f0;
}

#group-invites-container.sk-core-invite-link-container .sk-core-actions .button {
	padding: 7px 14px;
	border-radius: 4px;
	font-weight: 400;
	transition: all 0.2s;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

#group-invites-container.sk-core-invite-link-container .sk-core-actions .button:hover {
	opacity: 0.85;
}

#group-invites-container.sk-core-invite-link-container .sk-core-actions .button.loading {
	opacity: 0.7;
	cursor: not-allowed;
}

#group-invites-container.sk-core-invite-link-container .sk-core-actions .button .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

#group-invites-container.sk-core-invite-link-container .sk-core-actions .description {
	margin-top: 8px;
	color: #6b7280;
	font-size: 12px;
	line-height: 1.4;
}

/* Feedback Messages - Use BuddyBoss Native Styles */
#group-invites-container.sk-core-invite-link-container .bp-invites-feedback {
	margin-bottom: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
	#group-invites-container.sk-core-invite-link-container .group-invites-column {
		flex-direction: column;
	}

	#group-invites-container.sk-core-invite-link-container .sk-core-invite-section {
		flex: 1 1 100%;
		min-width: 100%;
		padding: 16px;
	}

	#group-invites-container.sk-core-invite-link-container .sk-core-invite-section .section-header .bb-title {
		font-size: 15px;
	}

	#group-invites-container.sk-core-invite-link-container .sk-core-invite-section .section-description {
		font-size: 12px;
	}

	#group-invites-container.sk-core-invite-link-container .sk-core-url-input-group {
		flex-direction: column;
	}

	#group-invites-container.sk-core-invite-link-container .sk-core-url-input-group .button {
		width: 100%;
	}
}

/* ========================================
   Pending Staff Section Styles
   ======================================== */

/* Main container */
#pending-staff-container.sk-core-pending-staff-container {
	position: relative;
	background: #fff;
	padding: 20px;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

#pending-staff-container.sk-core-pending-staff-container #message {
	width: 100%;
	margin-bottom: 16px;
	min-height: 0;
	transition: all 0.3s ease-out;
	overflow: hidden;
	clear: both;
}

#pending-staff-container.sk-core-pending-staff-container #message:empty {
	margin-bottom: 0;
	min-height: 0;
	display: none;
}

/* Section wrapper */
#pending-staff-container .sk-core-invite-section.staff-management-section {
	width: 100%;
	max-width: none;
}

/* Staff List Wrapper */
#pending-staff-container .sk-core-staff-list-wrapper {
	margin-top: 16px;
}

/* Pending Staff Table */
#pending-staff-container .pending-staff-list {
	overflow-x: auto;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
	background: #fff;
}

#pending-staff-container .pending-staff-list table.bp-tables-user {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	margin: 0;
	border: none;
}

#pending-staff-container .pending-staff-list table.bp-tables-user thead {
	background: #f9fafb;
	border-bottom: 1px solid #e5e7eb;
}

#pending-staff-container .pending-staff-list table.bp-tables-user thead th {
	padding: 12px 16px;
	text-align: left;
	font-weight: 600;
	font-size: 13px;
	color: #374151;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody tr {
	border-bottom: 1px solid #f3f4f6;
	transition: background-color 0.2s;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody tr:last-child {
	border-bottom: none;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody tr:hover {
	background: #fafbfc;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody td {
	padding: 14px 16px;
	font-size: 14px;
	color: #374151;
	vertical-align: middle;
}

/* User column */
#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.username a {
	color: #3b82f6;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.username a:hover {
	color: #2563eb;
	text-decoration: underline;
}

/* Email column */
#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.email {
	color: #6b7280;
	font-size: 13px;
}

/* Invite code column */
#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.invite-code code {
	background: #f3f4f6;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	color: #374151;
	font-family: 'Courier New', Courier, monospace;
	border: 1px solid #e5e7eb;
}

/* Registered column */
#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.registered {
	color: #6b7280;
	font-size: 13px;
	white-space: nowrap;
}

/* Role badges */
#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.role .bp-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.role .bp-badge.success {
	background: #d1fae5;
	color: #065f46;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.role .bp-badge.info {
	background: #dbeafe;
	color: #1e40af;
}

/* Action buttons */
#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.actions {
	white-space: nowrap;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.actions .button {
	padding: 6px 14px;
	font-size: 13px;
	border-radius: 4px;
	margin-right: 6px;
	transition: all 0.2s;
	font-weight: 400;
	white-space: nowrap;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.actions .button:last-child {
	margin-right: 0;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.actions .button.primary {
	background: #10b981;
	color: #fff;
	border-color: #10b981;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.actions .button.primary:hover {
	background: #059669;
	border-color: #059669;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.actions .sk-core-super-approve-staff {
	background: #3b82f6;
	color: #fff;
	border-color: #3b82f6;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.actions .sk-core-super-approve-staff:hover {
	background: #2563eb;
	border-color: #2563eb;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.actions .sk-core-approve-staff {
	background: #fff;
	color: #10b981;
	border: 1px solid #10b981;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.actions .sk-core-approve-staff:hover {
	background: #10b981;
	color: #fff;
	border-color: #10b981;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.actions .sk-core-reject-staff {
	background: #fff;
	color: #ef4444;
	border: 1px solid #ef4444;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.actions .sk-core-reject-staff:hover {
	background: #ef4444;
	color: #fff;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.actions .button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.actions .approved-label {
	display: inline-block;
	padding: 6px 14px;
	background: #d1fae5;
	color: #065f46;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 500;
}

/* Table Info */
#pending-staff-container .sk-core-table-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 16px;
	padding: 12px 16px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
}

#pending-staff-container .sk-core-showing-info {
	font-size: 13px;
	color: #6b7280;
	font-weight: 500;
}

/* Responsive Table Wrapper */
#pending-staff-container .sk-core-table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 #f1f5f9;
}

#pending-staff-container .sk-core-table-responsive::-webkit-scrollbar {
	height: 8px;
}

#pending-staff-container .sk-core-table-responsive::-webkit-scrollbar-track {
	background: #f1f5f9;
	border-radius: 4px;
}

#pending-staff-container .sk-core-table-responsive::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 4px;
}

#pending-staff-container .sk-core-table-responsive::-webkit-scrollbar-thumb:hover {
	background: #94a3b8;
}

/* Pagination */
#pending-staff-container .sk-core-pagination {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
}

#pending-staff-container .sk-core-pagination .page-numbers {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
}

#pending-staff-container .sk-core-pagination .page-numbers li {
	list-style: none;
	margin: 0;
}

#pending-staff-container .sk-core-pagination .page-numbers a,
#pending-staff-container .sk-core-pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	text-decoration: none;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	transition: all 0.2s;
}

#pending-staff-container .sk-core-pagination .page-numbers a:hover {
	background: #f9fafb;
	border-color: #d1d5db;
	color: #1f2937;
}

#pending-staff-container .sk-core-pagination .page-numbers .current {
	background: #3b82f6;
	border-color: #3b82f6;
	color: #fff;
	pointer-events: none;
}

#pending-staff-container .sk-core-pagination .page-numbers .dots {
	border: none;
	background: none;
	color: #9ca3af;
	pointer-events: none;
}

#pending-staff-container .sk-core-pagination .page-numbers .prev,
#pending-staff-container .sk-core-pagination .page-numbers .next {
	gap: 4px;
}

#pending-staff-container .sk-core-pagination .page-numbers .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

/* Responsive Table */
@media (max-width: 1024px) {
	#pending-staff-container .pending-staff-list table.bp-tables-user {
		min-width: 900px;
	}
}

@media (max-width: 768px) {
	#pending-staff-container.sk-core-pending-staff-container {
		padding: 16px;
	}

	#pending-staff-container .sk-core-table-info {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding: 10px 12px;
	}

	#pending-staff-container .sk-core-showing-info {
		font-size: 12px;
	}

	#pending-staff-container .pending-staff-list table.bp-tables-user thead th {
		padding: 10px 12px;
		font-size: 12px;
	}

	#pending-staff-container .pending-staff-list table.bp-tables-user tbody td {
		padding: 12px;
		font-size: 13px;
	}

	#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.actions .button {
		padding: 5px 10px;
		font-size: 12px;
		margin-right: 4px;
		display: block;
		width: 100%;
		margin-bottom: 4px;
	}

	#pending-staff-container .pending-staff-list table.bp-tables-user tbody td.actions .button:last-child {
		margin-right: 0;
		margin-bottom: 0;
	}

	#pending-staff-container .sk-core-pagination .page-numbers a,
	#pending-staff-container .sk-core-pagination .page-numbers span {
		min-width: 36px;
		height: 36px;
		padding: 0 10px;
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	#pending-staff-container .sk-core-pagination .page-numbers {
		gap: 4px;
	}

	#pending-staff-container .sk-core-pagination .page-numbers a,
	#pending-staff-container .sk-core-pagination .page-numbers span {
		min-width: 32px;
		height: 32px;
		padding: 0 8px;
		font-size: 12px;
	}

	#pending-staff-container .sk-core-pagination .page-numbers .prev span:not(.dashicons),
	#pending-staff-container .sk-core-pagination .page-numbers .next span:not(.dashicons) {
		display: none;
	}
}

.sk-core-invite-message-wrapper {
	position: relative;
	z-index: 1;
	margin-bottom: 40px;
	padding: 0;
	width: 100%;
	box-sizing: border-box;
}

.sk-core-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(3px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	opacity: 0;
	transition: opacity 0.25s ease;
	padding: 20px;
}

.sk-core-modal-overlay.active {
	opacity: 1;
}

.sk-core-modal {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	max-width: 520px;
	width: 100%;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	transform: scale(0.95) translateY(20px);
	transition: all 0.25s ease;
}

.sk-core-modal-overlay.active .sk-core-modal {
	transform: scale(1) translateY(0);
}

.sk-core-modal-header {
	padding: 20px 24px 16px;
	border-bottom: 1px solid #e0e7ff;
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	background: linear-gradient(to right, #faf5ff 0%, #eff6ff 100%);
}

.sk-core-modal-icon {
	width: 36px;
	height: 36px;
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.sk-core-modal-icon svg {
	width: 20px;
	height: 20px;
	color: #fff;
}

.sk-core-modal-header h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	color: #111827;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.sk-core-modal-close {
	position: absolute;
	top: 18px;
	right: 20px;
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	padding: 0;
}

.sk-core-modal-close:hover {
	background: #f3f4f6;
}

.sk-core-modal-close svg {
	width: 18px;
	height: 18px;
	color: #9ca3af;
	transition: color 0.2s;
}

.sk-core-modal-close:hover svg {
	color: #6b7280;
}

.sk-core-modal-body {
	padding: 20px 24px;
	flex: 1;
	min-height: 0;
	overflow-y: auto;
}

.sk-core-modal-body::-webkit-scrollbar {
	width: 6px;
}

.sk-core-modal-body::-webkit-scrollbar-track {
	background: transparent;
}

.sk-core-modal-body::-webkit-scrollbar-thumb {
	background: #e5e7eb;
	border-radius: 3px;
}

.sk-core-modal-body::-webkit-scrollbar-thumb:hover {
	background: #d1d5db;
}

.sk-core-modal-user-info {
	font-size: 14px;
	line-height: 1.5;
	color: #4b5563;
	margin-bottom: 18px;
	padding: 0;
	background: transparent;
	border: none;
}

.sk-core-modal-user-info strong {
	color: #111827;
	font-weight: 600;
}

.sk-core-modal-groups-info {
	background: linear-gradient(135deg, #fefcff 0%, #f0fdf4 100%);
	border: 1px solid #e9d5ff;
	border-radius: 10px;
	padding: 16px;
	margin-bottom: 16px;
	box-shadow: 0 1px 3px rgba(139, 92, 246, 0.1);
}

.sk-core-modal-stat {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 0;
}

.sk-core-modal-stat-icon {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 1px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.sk-core-modal-stat-icon.main-group {
	background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

.sk-core-modal-stat-icon.subgroups {
	background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
}

.sk-core-modal-stat-icon svg {
	width: 20px;
	height: 20px;
}

.sk-core-modal-stat-icon.main-group svg {
	color: #fff;
}

.sk-core-modal-stat-icon.subgroups svg {
	color: #fff;
}

.sk-core-modal-stat-content {
	flex: 1;
	min-width: 0;
}

.sk-core-modal-stat-label {
	font-size: 11px;
	color: #7c3aed;
	margin-bottom: 4px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.sk-core-modal-stat-value {
	font-size: 14px;
	color: #1e293b;
	font-weight: 600;
	word-wrap: break-word;
	line-height: 1.4;
}

.sk-core-modal-subgroups-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 8px;
	max-height: 240px;
	overflow-y: auto;
	padding-right: 6px;
}

.sk-core-modal-subgroups-list::-webkit-scrollbar {
	width: 5px;
}

.sk-core-modal-subgroups-list::-webkit-scrollbar-track {
	background: transparent;
}

.sk-core-modal-subgroups-list::-webkit-scrollbar-thumb {
	background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
	border-radius: 3px;
}

.sk-core-modal-subgroups-list::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.sk-core-modal-subgroup-item {
	font-size: 13px;
	color: #475569;
	padding: 8px 10px;
	background: linear-gradient(to right, #ffffff 0%, #fefcff 100%);
	border-radius: 7px;
	border: 1px solid #e9d5ff;
	word-wrap: break-word;
	line-height: 1.4;
	transition: all 0.2s;
	position: relative;
}

.sk-core-modal-subgroup-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 3px;
	height: 60%;
	background: linear-gradient(180deg, #a78bfa 0%, #8b5cf6 100%);
	border-radius: 0 2px 2px 0;
}

.sk-core-modal-subgroup-item:hover {
	border-color: #c4b5fd;
	background: linear-gradient(to right, #faf5ff 0%, #f5f3ff 100%);
	transform: translateX(2px);
	box-shadow: 0 2px 4px rgba(139, 92, 246, 0.15);
}

.sk-core-modal-total {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(167, 139, 250, 0.2);
	font-size: 13px;
	color: #7c3aed;
	text-align: center;
	background: linear-gradient(to right, rgba(250, 245, 255, 0.5), rgba(239, 246, 255, 0.5));
	padding: 10px;
	border-radius: 6px;
	margin-top: 12px;
}

.sk-core-modal-total strong {
	color: #6366f1;
	font-weight: 700;
}

.sk-core-modal-note {
	padding: 10px 12px;
	background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
	border: 1px solid #fbbf24;
	border-radius: 8px;
	font-size: 12px;
	line-height: 1.5;
	color: #92400e;
	display: flex;
	align-items: flex-start;
	gap: 6px;
	box-shadow: 0 2px 4px rgba(251, 191, 36, 0.15);
}

.sk-core-modal-note::before {
	content: "⚠";
	font-size: 14px;
	flex-shrink: 0;
	opacity: 1;
	margin-top: 1px;
	color: #f59e0b;
}

.sk-core-modal-footer {
	padding: 16px 24px 20px;
	border-top: 1px solid #e9d5ff;
	background: linear-gradient(to right, #fefcff 0%, #faf5ff 100%);
	display: flex;
	gap: 8px;
	justify-content: flex-end;
}

.sk-core-modal-btn {
	padding: 9px 18px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
	border: none;
	line-height: 1.4;
}

.sk-core-modal-btn-cancel {
	background: #fff;
	color: #64748b;
	border: 1px solid #cbd5e1;
}

.sk-core-modal-btn-cancel:hover {
	background: #f8fafc;
	border-color: #94a3b8;
	color: #475569;
}

.sk-core-modal-btn-confirm {
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	color: #fff;
	box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
	font-weight: 600;
}

.sk-core-modal-btn-confirm:hover {
	background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
	transform: translateY(-1px);
}

.sk-core-modal-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none !important;
}

@media screen and (max-width: 600px) {
	.sk-core-modal {
		max-width: 100%;
		margin: 10px;
		border-radius: 14px;
	}

	.sk-core-modal-header {
		padding: 18px 20px 14px;
		gap: 10px;
	}

	.sk-core-modal-icon {
		width: 32px;
		height: 32px;
	}

	.sk-core-modal-icon svg {
		width: 18px;
		height: 18px;
	}

	.sk-core-modal-header h3 {
		font-size: 16px;
		padding-right: 36px;
	}

	.sk-core-modal-close {
		top: 16px;
		right: 18px;
	}

	.sk-core-modal-body {
		padding: 18px 20px;
	}

	.sk-core-modal-user-info {
		font-size: 13px;
		margin-bottom: 16px;
	}

	.sk-core-modal-groups-info {
		padding: 14px;
	}

	.sk-core-modal-stat {
		gap: 10px;
		padding: 10px 0;
	}

	.sk-core-modal-stat-icon {
		width: 30px;
		height: 30px;
	}

	.sk-core-modal-stat-icon svg {
		width: 16px;
		height: 16px;
	}

	.sk-core-modal-stat-label {
		font-size: 10px;
	}

	.sk-core-modal-stat-value {
		font-size: 13px;
	}

	.sk-core-modal-subgroups-list {
		max-height: 180px;
	}

	.sk-core-modal-subgroup-item {
		font-size: 12px;
		padding: 7px 10px;
	}

	.sk-core-modal-total {
		font-size: 12px;
		margin-top: 12px;
		padding-top: 12px;
	}

	.sk-core-modal-note {
		padding: 9px 11px;
		font-size: 11px;
	}

	.sk-core-modal-footer {
		padding: 14px 20px 18px;
		flex-direction: column-reverse;
		gap: 8px;
	}

	.sk-core-modal-btn {
		width: 100%;
		padding: 10px 18px;
		font-size: 14px;
	}
}

/* ========================================
	Native Share Icon Styles
========================================== */

/**
 * Share Icon Wrapper
 */
.sk-core-native-share-wrapper {
	margin: 20px 0;
	clear: both;
	float: right;
	position: relative;
	z-index: 10;
	display: none;
}

/**
 * Share Icon Base Styles
 */
.sk-core-native-share-icon {
	cursor: pointer;
	display: inline-block;
	transition: all 0.3s ease;
	outline: none;
	-webkit-tap-highlight-color: transparent;
}

.sk-core-native-share-icon:hover,
.sk-core-native-share-icon:focus {
	color: #005a87;
	transform: scale(1.1);
	outline: none;
}

.sk-core-native-share-icon:active {
	transform: scale(0.95);
}

.sk-core-native-share-icon:focus-visible {
	outline: 2px solid #0073aa;
	outline-offset: 2px;
	border-radius: 2px;
}

/**
 * List item wrapper styling
 */
.sk-core-share-list-item {
	margin: 15px 0 10px 0;
	float: right;
	clear: right;
}

/**
 * Success state feedback
 */
.sk-core-share-icon-success {
	color: #4caf50 !important;
	transform: scale(1.15);
}

/**
 * Responsive adjustments
 */
@media screen and (max-width: 768px) {
	.sk-core-native-share-wrapper {
		margin: 15px 0;
		display: block !important;
	}

	.sfsiaftrpstwpr {
		display: none !important;
	}

	.sk-core-share-list-item {
		margin: 12px 0 8px 0;
	}

	.sk-core-native-share-icon {
		width: 28px !important;
		height: 28px !important;
	}
}

@media screen and (max-width: 480px) {
	.sk-core-native-share-icon {
		width: 26px !important;
		height: 26px !important;
	}
}

/**
 * High contrast mode support
 */
@media (prefers-contrast: high) {
	.sk-core-native-share-icon {
		border: 1px solid currentColor;
		padding: 2px;
		border-radius: 2px;
	}
}

/**
 * Reduced motion support
 */
@media (prefers-reduced-motion: reduce) {
	.sk-core-native-share-icon {
		transition: none;
	}

	.sk-core-native-share-icon:hover,
	.sk-core-native-share-icon:focus {
		transform: none;
	}
}


/* Kudos post list thumbnail view */
.single-item.groups article.type-kudos .post-inner-wrap .entry-media {
	padding-top: 52% !important;
}

/* ========================================
	Activity Mobile Share Styles
========================================== */

/**
 * Mobile Activity Share Button States
 * Only visible on mobile devices
 */
@media screen and (max-width: 768px) {
	/* Share button loading state */
	.button.share.bp-secondary-action.loading {
		opacity: 0.7;
		pointer-events: none;
		position: relative;
	}

	.button.share.bp-secondary-action.loading::after {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		width: 14px;
		height: 14px;
		margin-top: -7px;
		margin-left: -7px;
		border: 2px solid rgba(255, 255, 255, 0.3);
		border-top-color: currentColor;
		border-radius: 50%;
		animation: sk-activity-share-spin 0.6s linear infinite;
	}

	/* Share button success state */
	.button.share.bp-secondary-action.share-success {
		background-color: #10b981 !important;
		border-color: #10b981 !important;
		color: #fff !important;
		transition: all 0.3s ease;
	}

	/* Spin animation for loading state */
	@keyframes sk-activity-share-spin {
		from {
			transform: rotate(0deg);
		}
		to {
			transform: rotate(360deg);
		}
	}
}

/**
 * Ensure share button remains visible on all devices
 * This overrides any potential hiding from BuddyBoss
 */
.button.share.bp-secondary-action {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
}

/**
 * Success feedback animation
 */
@keyframes sk-share-success-pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

.button.share.bp-secondary-action.share-success {
	animation: sk-share-success-pulse 0.4s ease;
}
