/**
 * Member Portal - Modern SaaS-Style CSS
 *
 * Clean, modern design that inherits theme fonts but overrides standard WP styling
 * Uses CSS Grid for layout with vertical side menu navigation.
 *
 * @package Kingdom_Connect_Pro
 */

/* Reset and Base Styles */
.kc-member-portal-wrapper,
.kc-member-portal-login {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Main Wrapper - CSS Grid Layout */
.kc-member-portal-wrapper {
	display: grid;
	grid-template-columns: 280px 1fr;
	grid-template-rows: auto 1fr;
	min-height: 80vh;
	background: #f8f9fa;
	margin: 20px 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Sidebar - Vertical Menu */
.kc-portal-sidebar {
	background: #ffffff;
	border-right: 1px solid #e5e7eb;
	padding: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.kc-portal-header {
	padding: 24px 20px;
	border-bottom: 1px solid #e5e7eb;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
}

.kc-portal-logo {
	margin: 0;
	padding: 0;
	font-size: 20px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #ffffff;
}

.kc-portal-icon {
	font-size: 28px;
}

.kc-portal-subtitle {
	margin: 8px 0 0 0;
	font-size: 13px;
	font-weight: 400;
	opacity: 0.9;
	color: #ffffff;
}

/* Navigation */
.kc-portal-nav {
	flex: 1;
	padding: 16px 0;
	overflow-y: auto;
}

.kc-nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 20px;
	color: #374151;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	border-left: 3px solid transparent;
	transition: all 0.2s ease;
}

.kc-nav-item:hover {
	background: #f3f4f6;
	color: #111827;
	border-left-color: #667eea;
}

.kc-nav-item.active {
	background: #f0f4ff;
	color: #667eea;
	border-left-color: #667eea;
	font-weight: 600;
}

.kc-nav-icon {
	font-size: 18px;
	width: 20px;
	text-align: center;
}

.kc-nav-label {
	flex: 1;
}

/* Footer */
.kc-portal-footer {
	padding: 16px 20px;
	border-top: 1px solid #e5e7eb;
}

.kc-logout-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 20px;
	color: #dc2626;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	border-radius: 6px;
	transition: all 0.2s ease;
	width: 100%;
	border: none;
	background: transparent;
	cursor: pointer;
}

.kc-logout-btn:hover {
	background: #fee2e2;
	color: #991b1b;
}

/* Main Content Area */
.kc-portal-main {
	background: #ffffff;
	padding: 32px;
	overflow-y: auto;
	min-height: 600px;
}

.kc-portal-content {
	max-width: 1200px;
	margin: 0 auto;
}

.kc-content-header {
	margin-bottom: 32px;
	padding-bottom: 20px;
	border-bottom: 2px solid #f3f4f6;
}

.kc-content-title {
	margin: 0 0 8px 0;
	font-size: 28px;
	font-weight: 700;
	color: #111827;
}

.kc-content-subtitle {
	margin: 0;
	font-size: 14px;
	color: #6b7280;
}

/* Dashboard Tab */
.kc-dashboard-header {
	margin-bottom: 32px;
}

.kc-dashboard-title {
	margin: 0 0 8px 0;
	font-size: 32px;
	font-weight: 700;
	color: #111827;
}

.kc-dashboard-date {
	margin: 0;
	font-size: 16px;
	color: #6b7280;
}

/* Stats Cards */
.kc-dashboard-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

.kc-stat-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
	display: flex;
	align-items: center;
	gap: 20px;
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
}

.kc-stat-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.kc-stat-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.kc-stat-icon {
	font-size: 40px;
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f0f4ff;
	border-radius: 12px;
	flex-shrink: 0;
}

.kc-stat-content {
	flex: 1;
}

.kc-stat-value {
	font-size: 28px;
	font-weight: 700;
	color: #111827;
	margin-bottom: 4px;
}

.kc-stat-label {
	font-size: 14px;
	color: #6b7280;
	font-weight: 500;
}

.kc-stat-link {
	position: absolute;
	top: 16px;
	right: 16px;
	font-size: 12px;
	color: #667eea;
	text-decoration: none;
	font-weight: 600;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.kc-stat-card:hover .kc-stat-link {
	opacity: 1;
}

/* Sections */
.kc-dashboard-section {
	margin-bottom: 40px;
}

.kc-section-title {
	font-size: 20px;
	font-weight: 600;
	color: #111827;
	margin: 0 0 20px 0;
}

/* Quick Actions */
.kc-quick-actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
}

.kc-action-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 20px;
	text-decoration: none;
	color: #374151;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	transition: all 0.2s ease;
}

.kc-action-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	border-color: #667eea;
	color: #667eea;
	transform: translateY(-2px);
}

.kc-action-icon {
	font-size: 32px;
}

.kc-action-label {
	font-size: 14px;
	font-weight: 500;
}

/* Profile Form */
.kc-profile-form-wrapper {
	max-width: 800px;
}

.kc-profile-form {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 32px;
}

.kc-form-section {
	margin-bottom: 32px;
}

.kc-form-section:last-child {
	margin-bottom: 0;
}

.kc-form-section-title {
	font-size: 18px;
	font-weight: 600;
	color: #111827;
	margin: 0 0 20px 0;
	padding-bottom: 12px;
	border-bottom: 1px solid #e5e7eb;
}

.kc-form-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.kc-form-group {
	margin-bottom: 20px;
}

.kc-form-group label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 8px;
}

.kc-form-input,
.kc-form-textarea {
	width: 100%;
	padding: 10px 14px;
	font-size: 14px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #ffffff;
	color: #111827;
	font-family: inherit;
	transition: all 0.2s ease;
}

.kc-form-input:focus,
.kc-form-textarea:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.kc-form-input[readonly] {
	background: #f9fafb;
	color: #6b7280;
	cursor: not-allowed;
}

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

.kc-form-help {
	display: block;
	font-size: 12px;
	color: #6b7280;
	margin-top: 6px;
}

.kc-form-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid #e5e7eb;
}

.kc-save-status {
	font-size: 14px;
	color: #10b981;
	font-weight: 500;
}

.kc-save-status.error {
	color: #ef4444;
}

/* Buttons */
.kc-button {
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 600;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	font-family: inherit;
}

.kc-button-primary {
	background: #667eea;
	color: #ffffff;
}

.kc-button-primary:hover {
	background: #5568d3;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.kc-button-secondary {
	background: #ffffff;
	color: #374151;
	border: 1px solid #d1d5db;
}

.kc-button-secondary:hover {
	background: #f9fafb;
	border-color: #9ca3af;
}

.kc-button-success {
	background: #10b981;
	color: #ffffff;
}

.kc-button-success:hover {
	background: #059669;
}

.kc-button-danger {
	background: #ef4444;
	color: #ffffff;
}

.kc-button-danger:hover {
	background: #dc2626;
}

.kc-button-block {
	width: 100%;
	justify-content: center;
}

.kc-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none !important;
}

.kc-button-icon {
	font-size: 16px;
}

/* Groups Grid */
.kc-groups-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 24px;
}

.kc-group-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
	transition: all 0.2s ease;
}

.kc-group-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	border-color: #667eea;
}

.kc-group-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 12px;
}

.kc-group-name {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #111827;
}

.kc-group-name a {
	color: inherit;
	text-decoration: none;
}

.kc-group-name a:hover {
	color: #667eea;
}

.kc-group-badge {
	background: #f0f4ff;
	color: #667eea;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
}

.kc-group-description {
	margin: 12px 0;
	font-size: 14px;
	color: #6b7280;
	line-height: 1.6;
}

.kc-group-meta {
	margin: 16px 0;
	padding: 16px 0;
	border-top: 1px solid #f3f4f6;
	border-bottom: 1px solid #f3f4f6;
}

.kc-group-meta-item {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 14px;
	color: #374151;
}

.kc-group-meta-item:last-child {
	margin-bottom: 0;
}

.kc-meta-icon {
	font-size: 16px;
	width: 20px;
	text-align: center;
}

.kc-meta-text {
	flex: 1;
}

.kc-group-actions {
	margin-top: 16px;
}

/* Giving Summary */
.kc-giving-summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 32px;
}

.kc-giving-summary-card {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 12px;
	padding: 24px;
	color: #ffffff;
}

.kc-giving-summary-card:nth-child(2) {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.kc-summary-label {
	font-size: 14px;
	opacity: 0.9;
	margin-bottom: 8px;
}

.kc-summary-value {
	font-size: 32px;
	font-weight: 700;
}

/* Giving Table */
.kc-giving-table-wrapper {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
}

.kc-giving-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.kc-giving-table thead {
	background: #f9fafb;
	border-bottom: 2px solid #e5e7eb;
}

.kc-giving-table th {
	padding: 16px;
	text-align: left;
	font-weight: 600;
	color: #374151;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.kc-giving-table td {
	padding: 16px;
	border-bottom: 1px solid #f3f4f6;
	color: #111827;
}

.kc-giving-table tbody tr:hover {
	background: #f9fafb;
}

.kc-giving-table tbody tr:last-child td {
	border-bottom: none;
}

.kc-giving-amount {
	font-weight: 600;
	color: #10b981;
}

.kc-giving-status {
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
}

.kc-status-completed {
	background: #d1fae5;
	color: #065f46;
}

.kc-status-pending {
	background: #fef3c7;
	color: #92400e;
}

.kc-receipt-link {
	color: #667eea;
	text-decoration: none;
	font-weight: 500;
}

.kc-receipt-link:hover {
	text-decoration: underline;
}

.kc-receipt-unavailable {
	color: #9ca3af;
}

/* Serving Schedule */
.kc-serving-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.kc-serving-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
	transition: all 0.2s ease;
}

.kc-serving-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.kc-serving-header {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 20px;
	align-items: center;
	margin-bottom: 16px;
}

.kc-serving-date {
	width: 70px;
	height: 70px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-weight: 700;
}

.kc-serving-month {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	opacity: 0.9;
}

.kc-serving-day {
	font-size: 24px;
	line-height: 1;
}

.kc-serving-details {
	flex: 1;
}

.kc-serving-service {
	margin: 0 0 8px 0;
	font-size: 18px;
	font-weight: 600;
	color: #111827;
}

.kc-serving-role {
	display: flex;
	align-items: center;
	gap: 12px;
}

.kc-role-badge {
	background: #f0f4ff;
	color: #667eea;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 600;
}

.kc-serving-time {
	font-size: 14px;
	color: #6b7280;
}

.kc-serving-status {
	text-align: right;
}

.kc-status-badge {
	padding: 6px 14px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	display: inline-block;
}

.kc-status-pending {
	background: #fef3c7;
	color: #92400e;
}

.kc-status-accepted {
	background: #d1fae5;
	color: #065f46;
}

.kc-status-declined {
	background: #fee2e2;
	color: #991b1b;
}

.kc-serving-actions {
	display: flex;
	gap: 12px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #f3f4f6;
}

/* Recent Giving */
.kc-recent-giving {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 16px;
}

.kc-giving-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px;
	background: #f9fafb;
	border-radius: 8px;
}

.kc-giving-item:hover {
	background: #f3f4f6;
}

.kc-giving-item .kc-giving-date {
	font-size: 14px;
	color: #6b7280;
}

.kc-giving-item .kc-giving-details {
	text-align: right;
}

.kc-giving-item .kc-giving-amount {
	font-size: 16px;
	font-weight: 600;
	color: #10b981;
	margin-bottom: 4px;
}

.kc-giving-item .kc-giving-method {
	font-size: 12px;
	color: #9ca3af;
}

.kc-view-all-link {
	display: inline-block;
	margin-top: 16px;
	color: #667eea;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

.kc-view-all-link:hover {
	text-decoration: underline;
}

/* Empty State */
.kc-empty-state {
	text-align: center;
	padding: 60px 20px;
	color: #6b7280;
}

.kc-empty-state p {
	margin: 8px 0;
	font-size: 14px;
}

.kc-empty-state p:first-child {
	font-size: 16px;
	font-weight: 600;
	color: #374151;
}

/* Login/Registration Form */
.kc-member-portal-login {
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	background: #f8f9fa;
}

.kc-login-container {
	background: #ffffff;
	border-radius: 12px;
	padding: 40px;
	max-width: 450px;
	width: 100%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.kc-login-header {
	text-align: center;
	margin-bottom: 32px;
}

.kc-login-logo {
	margin: 0 0 12px 0;
	font-size: 28px;
	font-weight: 700;
	color: #111827;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.kc-login-subtitle {
	margin: 0;
	font-size: 14px;
	color: #6b7280;
}

.kc-login-tabs {
	display: flex;
	border-bottom: 2px solid #e5e7eb;
	margin-bottom: 24px;
}

.kc-login-tab {
	flex: 1;
	padding: 12px;
	background: transparent;
	border: none;
	border-bottom: 2px solid transparent;
	color: #6b7280;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	margin-bottom: -2px;
}

.kc-login-tab:hover {
	color: #374151;
}

.kc-login-tab.active {
	color: #667eea;
	border-bottom-color: #667eea;
}

.kc-auth-form {
	display: none;
}

.kc-auth-form.active {
	display: block;
}

.kc-auth-form p {
	margin-bottom: 20px;
}

.kc-auth-form label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 8px;
}

.kc-auth-form input[type="text"],
.kc-auth-form input[type="email"],
.kc-auth-form input[type="password"] {
	width: 100%;
	padding: 10px 14px;
	font-size: 14px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #ffffff;
	color: #111827;
	font-family: inherit;
	transition: all 0.2s ease;
}

.kc-auth-form input[type="text"]:focus,
.kc-auth-form input[type="email"]:focus,
.kc-auth-form input[type="password"]:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.kc-auth-form input[type="submit"] {
	width: 100%;
	padding: 12px;
	font-size: 14px;
	font-weight: 600;
	background: #667eea;
	color: #ffffff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
	font-family: inherit;
}

.kc-auth-form input[type="submit"]:hover {
	background: #5568d3;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.kc-auth-form .required {
	color: #ef4444;
}

.kc-auth-form small {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: #6b7280;
}

.kc-login-links {
	text-align: center;
	margin-top: 20px;
}

.kc-login-links a {
	color: #667eea;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
}

.kc-login-links a:hover {
	text-decoration: underline;
}

.kc-registration-disabled {
	text-align: center;
	padding: 20px;
	color: #6b7280;
	font-size: 14px;
}

.kc-register-form {
	margin-top: 0;
}

.kc-register-form .kc-form-input {
	margin-bottom: 6px;
}

/* Modal */
.kc-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.kc-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
}

.kc-modal-content {
	position: relative;
	background: #ffffff;
	border-radius: 12px;
	padding: 0;
	max-width: 600px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	z-index: 10001;
}

.kc-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px;
	border-bottom: 1px solid #e5e7eb;
}

.kc-modal-title {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #111827;
}

.kc-modal-close {
	background: transparent;
	border: none;
	font-size: 28px;
	color: #6b7280;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	transition: all 0.2s ease;
}

.kc-modal-close:hover {
	background: #f3f4f6;
	color: #111827;
}

.kc-modal-body {
	padding: 24px;
}

.kc-modal-cancel {
	margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
	.kc-member-portal-wrapper {
		grid-template-columns: 1fr;
		grid-template-rows: auto 1fr;
	}

	.kc-portal-sidebar {
		border-right: none;
		border-bottom: 1px solid #e5e7eb;
		padding: 0;
	}

	.kc-portal-nav {
		display: flex;
		flex-direction: row;
		overflow-x: auto;
		padding: 0;
		border-bottom: 1px solid #e5e7eb;
	}

	.kc-nav-item {
		flex-shrink: 0;
		padding: 16px 20px;
		border-left: none;
		border-bottom: 3px solid transparent;
	}

	.kc-nav-item.active {
		border-left: none;
		border-bottom-color: #667eea;
	}

	.kc-nav-label {
		display: none;
	}

	.kc-portal-main {
		padding: 20px;
	}

	.kc-dashboard-stats,
	.kc-giving-summary,
	.kc-groups-grid {
		grid-template-columns: 1fr;
	}

	.kc-serving-header {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.kc-serving-status {
		text-align: left;
	}

	.kc-form-row {
		grid-template-columns: 1fr;
	}

	.kc-login-container {
		padding: 24px;
	}
}

/* Override WordPress default styles */
.kc-member-portal-wrapper *,
.kc-member-portal-login * {
	box-sizing: border-box;
}

.kc-member-portal-wrapper h1,
.kc-member-portal-wrapper h2,
.kc-member-portal-wrapper h3,
.kc-member-portal-wrapper h4,
.kc-member-portal-wrapper h5,
.kc-member-portal-wrapper h6 {
	margin-top: 0;
	font-weight: inherit;
}

.kc-member-portal-wrapper a {
	text-decoration: none;
}

.kc-member-portal-wrapper ul,
.kc-member-portal-wrapper ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Smooth transitions */
* {
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* Training tab */
.kc-training-summary {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 20px;
}

.kc-training-table {
	width: 100%;
	border-collapse: collapse;
}

.kc-training-table th,
.kc-training-table td {
	border-bottom: 1px solid #e5e7eb;
	padding: 12px;
	text-align: left;
	vertical-align: top;
}

.kc-training-table th {
	font-weight: 600;
	color: #111827;
	background: #f9fafb;
}

.kc-training-desc {
	margin-top: 6px;
	font-size: 13px;
	color: #6b7280;
}

.kc-training-link {
	display: inline-block;
	margin-top: 8px;
	font-size: 13px;
	color: #2563eb;
}

.kc-training-status {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
}

.kc-training-status.is-complete {
	background: #dcfce7;
	color: #166534;
}

.kc-training-status.is-pending {
	background: #fef9c3;
	color: #92400e;
}
