/**
 * Public styles for Coach Chat System.
 *
 * @package Coach_Chat_System
 */

/* Experts Grid */
.ccs-coaches-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 30px;
	margin: 30px 0;
}

.ccs-coach-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	transition: transform 0.2s, box-shadow 0.2s;
}

.ccs-coach-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.ccs-coach-avatar {
	text-align: center;
	margin-bottom: 15px;
}

.ccs-coach-avatar img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #f0f0f0;
}

.ccs-coach-info {
	text-align: center;
}

.ccs-coach-name {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 600;
	color: #333;
}

.ccs-coach-bio {
	margin: 10px 0;
	color: #666;
	font-size: 14px;
	line-height: 1.5;
}

.ccs-coach-specialties {
	margin: 15px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.ccs-specialty-tag {
	display: inline-block;
	padding: 4px 12px;
	background: #f0f6fc;
	color: #2271b1;
	border-radius: 15px;
	font-size: 12px;
	font-weight: 500;
}

.ccs-coach-status {
	margin: 15px 0;
}

.status-badge {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}

.status-badge.status-online {
	background: #00a32a;
	color: #fff;
}

.status-badge.status-offline {
	background: #646970;
	color: #fff;
}

.status-badge.status-busy {
	background: #d63638;
	color: #fff;
}

.ccs-coach-rate {
	margin: 10px 0;
	color: #666;
	font-size: 14px;
	font-weight: 500;
}

.ccs-start-chat-btn {
	width: 100%;
	padding: 12px 20px;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
	margin-top: 15px;
}

.ccs-start-chat-btn:hover:not(:disabled) {
	background: #135e96;
}

.ccs-start-chat-btn:disabled {
	background: #ccc;
	cursor: not-allowed;
	opacity: 0.6;
}

/* Single Expert Page */
.ccs-single-expert {
	max-width: 800px;
	margin: 40px auto;
	padding: 20px;
}

.ccs-expert-header {
	display: flex;
	gap: 30px;
	margin-bottom: 40px;
	padding-bottom: 30px;
	border-bottom: 2px solid #e0e0e0;
}

.ccs-expert-avatar {
	flex-shrink: 0;
}

.ccs-expert-avatar img {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid #f0f0f0;
}

.ccs-expert-info {
	flex: 1;
}

.ccs-expert-name {
	margin: 0 0 15px;
	font-size: 32px;
	font-weight: 600;
	color: #333;
}

.ccs-expert-bio,
.ccs-expert-content {
	margin: 30px 0;
	padding: 20px;
	background: #f9f9f9;
	border-radius: 8px;
}

.ccs-expert-bio h2,
.ccs-expert-content h2 {
	margin-top: 0;
	color: #333;
}

.ccs-expert-actions {
	margin-top: 30px;
	text-align: center;
}

.ccs-expert-unavailable {
	margin-top: 30px;
	padding: 20px;
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 4px;
	text-align: center;
	color: #856404;
}

/* Archive Page */
.ccs-experts-archive {
	max-width: 1200px;
	margin: 40px auto;
	padding: 20px;
}

.ccs-experts-archive h1 {
	margin-bottom: 30px;
	font-size: 36px;
	color: #333;
}

/* Chat Interface */
.ccs-chat-wrapper {
	max-width: 100%;
	margin: 20px auto;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	overflow: hidden;
	width: 100%;
	box-sizing: border-box;
}

.ccs-chat-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 20px;
	background: #2271b1;
	color: #fff;
	border-bottom: 2px solid #135e96;
}

.ccs-expert-info {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
}

.ccs-expert-avatar-small {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,0.3);
	object-fit: cover;
}

.ccs-expert-details {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ccs-expert-name {
	font-weight: 600;
	font-size: 16px;
}

.ccs-expert-status-badge {
	font-size: 12px;
	opacity: 0.9;
}

.ccs-session-info {
	display: flex;
	gap: 20px;
	font-size: 14px;
}

.ccs-time-display,
.ccs-credits-display,
.ccs-time-remaining-display {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ccs-time-label,
.ccs-credits-label,
.ccs-time-remaining-label {
	font-size: 11px;
	opacity: 0.8;
}

.ccs-time-value,
.ccs-credits-value,
.ccs-time-remaining-value {
	font-weight: 600;
	font-size: 16px;
}

.ccs-credits-used {
	font-size: 11px;
	opacity: 0.7;
	margin-left: 5px;
}

.ccs-time-remaining-value {
	color: #00a32a;
	transition: color 0.3s;
}

.ccs-credits-progress-bar-wrapper {
	margin-top: 10px;
}

.ccs-credits-progress-bar {
	width: 100%;
	height: 8px;
	background: #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
}

.ccs-credits-progress-fill {
	height: 100%;
	background: #00a32a;
	transition: width 0.3s, background 0.3s;
	border-radius: 4px;
}

.ccs-end-chat-btn {
	padding: 8px 16px;
	background: #d63638;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 600;
	transition: background 0.2s;
}

.ccs-end-chat-btn:hover {
	background: #b32d2e;
}

.ccs-messages-container {
	height: 400px;
	overflow-y: auto;
	padding: 20px;
	background: #f5f5f5;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.ccs-messages-loading,
.ccs-no-messages {
	text-align: center;
	color: #666;
	padding: 40px;
}

.ccs-message {
	display: flex;
	margin-bottom: 10px;
}

.ccs-message-user {
	justify-content: flex-end;
}

.ccs-message-expert {
	justify-content: flex-start;
}

.ccs-message-content {
	max-width: 70%;
	padding: 12px 16px;
	border-radius: 18px;
	position: relative;
}

.ccs-message-user .ccs-message-content {
	background: #2271b1;
	color: #fff;
	border-bottom-right-radius: 4px;
}

.ccs-message-expert .ccs-message-content {
	background: #e0e0e0;
	color: #333;
	border-bottom-left-radius: 4px;
}

.ccs-message-content p {
	margin: 0 0 5px;
	word-wrap: break-word;
	line-height: 1.4;
}

.ccs-message-time {
	font-size: 11px;
	opacity: 0.7;
	display: block;
	text-align: right;
}

.ccs-message-expert .ccs-message-time {
	text-align: left;
}

.ccs-chat-input-wrapper {
	padding: 20px;
	background: #fff;
	border-top: 1px solid #e0e0e0;
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

.ccs-chat-input {
	display: flex;
	gap: 10px;
	align-items: flex-end;
	position: relative;
	width: 100%;
}

.ccs-chat-input > div {
	display: flex;
	gap: 10px;
	align-items: flex-end;
	width: 100%;
	flex: 1;
}

.ccs-chat-input textarea {
	flex: 1;
	padding: 14px 20px;
	border: 1px solid #ddd;
	border-radius: 20px;
	resize: vertical;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.6;
	min-height: 70px;
	max-height: 200px;
	width: 100%;
	box-sizing: border-box;
}

.ccs-chat-input textarea:focus {
	outline: none;
	border-color: #2271b1;
}

.ccs-send-btn {
	padding: 12px 28px;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 20px;
	cursor: pointer;
	font-weight: 600;
	font-size: 15px;
	transition: background 0.2s;
	white-space: nowrap;
	flex-shrink: 0;
	align-self: flex-end;
	min-height: 48px;
}

.ccs-send-btn:hover:not(:disabled) {
	background: #135e96;
}

.ccs-send-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.ccs-chat-warning {
	margin-top: 10px;
	padding: 10px 15px;
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 4px;
	color: #856404;
	font-size: 13px;
}

.ccs-coach-selection {
	padding: 40px 20px;
	text-align: center;
}

.ccs-coach-selection h2 {
	margin-bottom: 30px;
	color: #333;
}

/* Responsive */
@media (max-width: 768px) {
	.ccs-coaches-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.ccs-expert-header {
		flex-direction: column;
		text-align: center;
	}

	.ccs-expert-avatar {
		margin: 0 auto;
	}

	.ccs-chat-header {
		flex-direction: column;
		gap: 15px;
		align-items: flex-start;
	}

	.ccs-session-info {
		width: 100%;
		justify-content: space-between;
	}

	.ccs-end-chat-btn {
		width: 100%;
	}

	.ccs-messages-container {
		height: 300px;
	}

	.ccs-message-content {
		max-width: 85%;
	}
}

/* Buy Credits Page */
.ccs-buy-credits {
	max-width: 1200px;
	margin: 40px auto;
	padding: 20px;
}

.ccs-current-balance {
	text-align: center;
	margin-bottom: 40px;
	padding: 30px;
	background: linear-gradient(135deg, #2271b1 0%, #135e96 100%);
	border-radius: 12px;
	color: #fff;
}

.ccs-current-balance h2 {
	margin: 0 0 15px;
	font-size: 24px;
	font-weight: 400;
}

.ccs-balance-display {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 10px;
}

.ccs-balance-amount {
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
}

.ccs-balance-label {
	font-size: 20px;
	opacity: 0.9;
}

.ccs-credits-packages {
	margin-bottom: 40px;
}

.ccs-credits-packages h2 {
	margin-bottom: 30px;
	color: #333;
	text-align: center;
}

.ccs-credits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 25px;
	margin-bottom: 40px;
}

.ccs-credit-package {
	background: #fff;
	border: 2px solid #e0e0e0;
	border-radius: 12px;
	padding: 30px 20px;
	text-align: center;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.ccs-credit-package:hover {
	border-color: #2271b1;
	box-shadow: 0 8px 20px rgba(34, 113, 177, 0.15);
	transform: translateY(-5px);
}

.ccs-package-header h3 {
	margin: 0 0 20px;
	font-size: 20px;
	color: #333;
}

.ccs-package-content {
	margin-bottom: 25px;
}

.ccs-package-credits {
	margin-bottom: 15px;
}

.ccs-credits-amount {
	display: block;
	font-size: 42px;
	font-weight: 700;
	color: #2271b1;
	line-height: 1;
	margin-bottom: 5px;
}

.ccs-credits-label {
	font-size: 14px;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.ccs-package-price {
	font-size: 28px;
	font-weight: 600;
	color: #333;
	margin-bottom: 10px;
}

.ccs-package-value {
	font-size: 13px;
	color: #666;
}

.ccs-package-action {
	margin-top: 20px;
}

.ccs-buy-btn {
	display: inline-block;
	padding: 12px 30px;
	background: #2271b1;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
	transition: background 0.2s;
	width: 100%;
}

.ccs-buy-btn:hover {
	background: #135e96;
	color: #fff;
}

.ccs-no-products {
	text-align: center;
	padding: 40px;
	background: #f9f9f9;
	border-radius: 8px;
	color: #666;
}

.ccs-transaction-history {
	margin-top: 40px;
	padding-top: 40px;
	border-top: 2px solid #e0e0e0;
}

.ccs-transaction-history h2 {
	margin-bottom: 20px;
	color: #333;
}

.ccs-transactions-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ccs-transactions-table thead {
	background: #f5f5f5;
}

.ccs-transactions-table th {
	padding: 12px 15px;
	text-align: left;
	font-weight: 600;
	color: #333;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ccs-transactions-table td {
	padding: 12px 15px;
	border-top: 1px solid #e0e0e0;
}

.ccs-transactions-table tbody tr:hover {
	background: #f9f9f9;
}

.ccs-transaction-type {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
}

.ccs-transaction-type.type-purchase {
	background: #00a32a;
	color: #fff;
}

.ccs-transaction-type.type-usage {
	background: #d63638;
	color: #fff;
}

.ccs-transaction-type.type-refund {
	background: #646970;
	color: #fff;
}

.ccs-transaction-type.type-manual {
	background: #2271b1;
	color: #fff;
}

.ccs-transactions-table .positive {
	color: #00a32a;
	font-weight: 600;
}

.ccs-transactions-table .negative {
	color: #d63638;
	font-weight: 600;
}

/* Emoji Picker */
.ccs-chat-input-row {
	display: flex;
	gap: 10px;
	align-items: flex-end;
	width: 100%;
}

.ccs-emoji-btn {
	background: none !important;
	border: none !important;
	font-size: 24px;
	cursor: pointer;
	padding: 8px 12px;
	border-radius: 4px;
	transition: background 0.2s;
	flex-shrink: 0;
	align-self: flex-end;
}

.ccs-emoji-btn:hover {
	background: #f0f0f0 !important;
}

.ccs-emoji-picker-container {
	position: absolute;
	bottom: 80px;
	left: 0;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 0;
	max-width: 450px;
	width: 450px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	z-index: 1000;
	height: 450px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.ccs-emoji-picker-content {
	display: flex;
	flex-direction: column;
	gap: 15px;
	width: 100%;
	padding: 15px;
	overflow-y: auto;
	overflow-x: hidden;
	flex: 1;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #ccc #f0f0f0;
}

.ccs-emoji-picker-content::-webkit-scrollbar {
	width: 8px;
}

.ccs-emoji-picker-content::-webkit-scrollbar-track {
	background: #f0f0f0;
	border-radius: 4px;
}

.ccs-emoji-picker-content::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 4px;
}

.ccs-emoji-picker-content::-webkit-scrollbar-thumb:hover {
	background: #999;
}

.ccs-emoji-category {
	margin-bottom: 15px;
	flex-shrink: 0;
	width: 100%;
}

.ccs-emoji-category:last-child {
	margin-bottom: 0;
}

/* Typing indicator */
.ccs-typing-indicator {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 15px;
	margin-top: 10px;
	color: #666;
	font-style: italic;
}

.ccs-typing-dots {
	display: flex;
	gap: 4px;
	align-items: center;
}

.ccs-typing-dots span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #666;
	display: inline-block;
	animation: ccs-typing-bounce 1.4s infinite ease-in-out both;
}

.ccs-typing-dots span:nth-child(1) {
	animation-delay: -0.32s;
}

.ccs-typing-dots span:nth-child(2) {
	animation-delay: -0.16s;
}

@keyframes ccs-typing-bounce {
	0%, 80%, 100% {
		transform: scale(0);
		opacity: 0.5;
	}
	40% {
		transform: scale(1);
		opacity: 1;
	}
}

.ccs-typing-text {
	font-size: 13px;
}

.ccs-emoji-item {
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	padding: 5px;
	border-radius: 4px;
	transition: background 0.2s;
}

.ccs-emoji-item:hover {
	background: #f0f0f0;
}

@media (max-width: 768px) {
	.ccs-credits-grid {
		grid-template-columns: 1fr;
	}

	.ccs-transactions-table {
		font-size: 14px;
	}

	.ccs-transactions-table th,
	.ccs-transactions-table td {
		padding: 8px 10px;
	}

	#ccs-emoji-picker {
		max-width: 250px;
		left: auto;
		right: 0;
	}

	.ccs-chat-input textarea {
		min-width: 200px;
		font-size: 14px;
		rows: 2;
	}
}

/* ============================================
   CUSTOM LOGIN PAGE STYLES
   ============================================ */

body.ccs-login-page {
	margin: 0;
	padding: 0;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.ccs-login-container {
	width: 100%;
	max-width: 480px;
	padding: 20px;
	position: relative;
	z-index: 10;
}

.ccs-login-wrapper {
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	animation: ccs-slideUp 0.5s ease-out;
}

@keyframes ccs-slideUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ccs-login-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 40px 30px;
	text-align: center;
	color: #fff;
}

.ccs-login-logo {
	margin: 0 0 10px;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.5px;
}

.ccs-login-tagline {
	margin: 0;
	font-size: 16px;
	opacity: 0.9;
	font-weight: 300;
}

.ccs-login-tabs {
	display: flex;
	border-bottom: 2px solid #f0f0f0;
	background: #fafafa;
}

.ccs-tab-btn {
	flex: 1;
	padding: 18px 20px;
	background: transparent;
	border: none;
	font-size: 16px;
	font-weight: 600;
	color: #666;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
}

.ccs-tab-btn:hover {
	color: #667eea;
	background: rgba(102, 126, 234, 0.05);
}

.ccs-tab-btn.active {
	color: #667eea;
	background: #fff;
}

.ccs-tab-btn.active::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ccs-tab-content {
	display: none;
	padding: 40px 30px;
}

.ccs-tab-content.active {
	display: block;
	animation: ccs-fadeIn 0.3s ease-out;
}

@keyframes ccs-fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.ccs-login-form,
.ccs-register-form {
	max-width: 100%;
}

.ccs-form-group {
	margin-bottom: 24px;
}

.ccs-form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
	font-size: 14px;
}

.ccs-required {
	color: #e74c3c;
}

.ccs-input,
.ccs-select,
.ccs-textarea {
	width: 100%;
	padding: 14px 16px;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	font-size: 15px;
	transition: all 0.3s ease;
	box-sizing: border-box;
	font-family: inherit;
	color: #333;
	background-color: #fff;
}

.ccs-select option {
	color: #333;
	background-color: #fff;
	padding: 10px;
}

.ccs-input:focus,
.ccs-select:focus,
.ccs-textarea:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.ccs-textarea {
	resize: vertical;
	min-height: 80px;
}

.ccs-form-hint {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: #999;
}

.ccs-form-group-checkbox {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.ccs-form-group-checkbox label {
	margin: 0;
	margin-left: 10px;
	font-weight: 400;
	cursor: pointer;
	display: flex;
	align-items: center;
}

.ccs-form-group-checkbox input[type="checkbox"] {
	width: 20px;
	height: 20px;
	cursor: pointer;
	accent-color: #667eea;
}

.ccs-btn-primary {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border: none;
	padding: 16px 32px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
	width: 100%;
}

.ccs-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.ccs-btn-primary:active {
	transform: translateY(0);
}

.ccs-btn-full {
	width: 100%;
}

.ccs-form-error {
	background: #fee;
	border: 2px solid #fcc;
	color: #c33;
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 14px;
}

.ccs-form-footer {
	margin-top: 24px;
	text-align: center;
}

.ccs-form-footer p {
	margin: 0;
	font-size: 13px;
	color: #999;
}

.ccs-link {
	color: #667eea;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.ccs-link:hover {
	color: #764ba2;
	text-decoration: underline;
}

/* Decoratieve elementen */
.ccs-login-decoration {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	z-index: 1;
	pointer-events: none;
}

.ccs-decoration-circle {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	animation: ccs-float 20s infinite ease-in-out;
}

.ccs-circle-1 {
	width: 300px;
	height: 300px;
	top: -150px;
	right: -150px;
	animation-delay: 0s;
}

.ccs-circle-2 {
	width: 200px;
	height: 200px;
	bottom: -100px;
	left: -100px;
	animation-delay: 5s;
}

.ccs-circle-3 {
	width: 150px;
	height: 150px;
	top: 50%;
	left: 10%;
	animation-delay: 10s;
}

@keyframes ccs-float {
	0%, 100% {
		transform: translate(0, 0) scale(1);
		opacity: 0.3;
	}
	50% {
		transform: translate(30px, -30px) scale(1.1);
		opacity: 0.5;
	}
}

/* Responsive */
@media (max-width: 600px) {
	.ccs-login-container {
		padding: 15px;
	}

	.ccs-login-header {
		padding: 30px 20px;
	}

	.ccs-login-logo {
		font-size: 28px;
	}

	.ccs-tab-content {
		padding: 30px 20px;
	}

	.ccs-input,
	.ccs-select,
	.ccs-textarea {
		padding: 12px 14px;
		font-size: 14px;
	}
}

/* ============================================
   MODAL STYLES (voor hulpvraag en afspraken)
   ============================================ */

.ccs-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 10000;
	align-items: center;
	justify-content: center;
	padding: 20px;
	overflow-y: auto;
}

.ccs-modal.active {
	display: flex;
}

.ccs-modal-content {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	max-width: 600px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	animation: ccs-modalSlideIn 0.3s ease-out;
}

.ccs-modal-large {
	max-width: 700px;
}

@keyframes ccs-modalSlideIn {
	from {
		opacity: 0;
		transform: translateY(-30px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.ccs-modal-header {
	padding: 24px 30px;
	border-bottom: 1px solid #e0e0e0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border-radius: 16px 16px 0 0;
}

.ccs-modal-header h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 600;
}

.ccs-modal-close {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	padding: 0;
}

.ccs-modal-close:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: rotate(90deg);
}

.ccs-modal-body {
	padding: 30px;
}

.ccs-modal-actions {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #e0e0e0;
}

.ccs-btn-secondary {
	background: #f0f0f0;
	color: #333;
	border: none;
	padding: 12px 24px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.ccs-btn-secondary:hover {
	background: #e0e0e0;
}

.ccs-btn-small {
	padding: 8px 16px;
	font-size: 13px;
}

/* Dashboard Styles */
.ccs-dashboard-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 20px;
}

.ccs-dashboard-header {
	margin-bottom: 40px;
	text-align: center;
}

.ccs-dashboard-header h1 {
	font-size: 36px;
	margin: 0 0 10px;
	color: #333;
}

.ccs-welcome-message {
	font-size: 18px;
	color: #666;
	margin: 0;
}

.ccs-dashboard-section {
	background: #fff;
	border-radius: 12px;
	padding: 30px;
	margin-bottom: 30px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ccs-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 2px solid #f0f0f0;
}

.ccs-section-header h2 {
	margin: 0;
	font-size: 24px;
	color: #333;
}

.ccs-online-count {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 600;
}

.ccs-credits-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.ccs-credits-card {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	padding: 24px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	gap: 20px;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.ccs-credits-icon {
	font-size: 48px;
	line-height: 1;
}

.ccs-credits-info {
	flex: 1;
}

.ccs-credits-label {
	display: block;
	font-size: 14px;
	opacity: 0.9;
	margin-bottom: 8px;
}

.ccs-credits-amount {
	display: block;
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
}

.ccs-credits-amount small {
	font-size: 16px;
	font-weight: 400;
	opacity: 0.8;
}

.ccs-transaction-history {
	margin-top: 30px;
}

.ccs-transactions-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 16px;
}

.ccs-transactions-table th {
	background: #f8f8f8;
	padding: 12px;
	text-align: left;
	font-weight: 600;
	color: #333;
	border-bottom: 2px solid #e0e0e0;
}

.ccs-transactions-table td {
	padding: 12px;
	border-bottom: 1px solid #f0f0f0;
}

.ccs-transaction-type {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}

.ccs-transaction-purchase {
	background: #d4edda;
	color: #155724;
}

.ccs-transaction-usage {
	background: #fff3cd;
	color: #856404;
}

.ccs-transaction-refund {
	background: #d1ecf1;
	color: #0c5460;
}

.ccs-transaction-bonus {
	background: #d4edda;
	color: #155724;
}

.ccs-positive {
	color: #27ae60;
	font-weight: 600;
}

.ccs-negative {
	color: #e74c3c;
	font-weight: 600;
}

.ccs-coaches-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
	margin-top: 20px;
}

.ccs-coach-card {
	background: #fff;
	border: 2px solid #f0f0f0;
	border-radius: 12px;
	padding: 24px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.ccs-coach-card:hover {
	border-color: #667eea;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
	transform: translateY(-4px);
}

.ccs-coach-avatar {
	position: relative;
	text-align: center;
	margin-bottom: 16px;
}

.ccs-coach-avatar img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #f0f0f0;
}

.ccs-online-badge {
	position: absolute;
	bottom: 5px;
	right: calc(50% - 50px);
	width: 16px;
	height: 16px;
	background: #27ae60;
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ccs-coach-info h3 {
	margin: 0 0 12px;
	font-size: 20px;
	color: #333;
	text-align: center;
}

.ccs-coach-specialties {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-bottom: 12px;
}

.ccs-specialty-tag {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 500;
}

.ccs-coach-bio {
	color: #666;
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 16px;
	text-align: center;
}

.ccs-coach-actions {
	display: flex;
	gap: 10px;
	flex-direction: column;
}

.ccs-appointments-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 20px;
}

.ccs-appointment-card {
	display: flex;
	background: #f8f8f8;
	border-radius: 12px;
	padding: 20px;
	gap: 20px;
	align-items: center;
	transition: all 0.3s ease;
}

.ccs-appointment-card:hover {
	background: #f0f0f0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ccs-appointment-date {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	padding: 16px;
	border-radius: 10px;
	text-align: center;
	min-width: 80px;
}

.ccs-date-day {
	display: block;
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
}

.ccs-date-month {
	display: block;
	font-size: 14px;
	text-transform: uppercase;
	margin-top: 4px;
	opacity: 0.9;
}

.ccs-appointment-details {
	flex: 1;
}

.ccs-appointment-details h3 {
	margin: 0 0 8px;
	font-size: 18px;
	color: #333;
}

.ccs-appointment-time {
	margin: 0 0 8px;
	color: #666;
	font-size: 14px;
}

.ccs-appointment-type {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	margin-right: 8px;
}

.ccs-type-chat {
	background: #d1ecf1;
	color: #0c5460;
}

.ccs-type-video {
	background: #d4edda;
	color: #155724;
}

.ccs-type-phone {
	background: #fff3cd;
	color: #856404;
}

.ccs-meeting-link {
	color: #667eea;
	text-decoration: none;
	font-weight: 500;
	display: inline-block;
	margin-top: 8px;
}

.ccs-meeting-link:hover {
	text-decoration: underline;
}

.ccs-appointment-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ccs-no-coaches,
.ccs-no-appointments {
	text-align: center;
	padding: 40px 20px;
	color: #999;
	font-size: 16px;
}

.ccs-active-session-info {
	background: #f8f8f8;
	padding: 20px;
	border-radius: 10px;
}

.ccs-session-coach {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ccs-session-coach img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 2px solid #667eea;
}

.ccs-session-coach div {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ccs-session-coach strong {
	font-size: 18px;
	color: #333;
}

.ccs-session-coach span {
	color: #666;
	font-size: 14px;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
	.ccs-dashboard-wrapper {
		padding: 20px 15px;
	}

	.ccs-dashboard-section {
		padding: 20px;
	}

	.ccs-credits-overview {
		grid-template-columns: 1fr;
	}

	.ccs-coaches-grid {
		grid-template-columns: 1fr;
	}

	.ccs-appointment-card {
		flex-direction: column;
		text-align: center;
	}

	.ccs-modal-content {
		margin: 20px;
		max-width: calc(100% - 40px);
	}

	.ccs-modal-body {
		padding: 20px;
	}
}