/**
 * TaBiAr Create Page Styles
 * Styles for the activity join/lobby page and activities list
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
	/* Join Page Colors */
	--join-primary: #2c3e50;
	--join-accent: #e67e22;
	--join-bg: #f4f6f9;
	--join-card-bg: #ffffff;
	--join-text-main: #333;
	--join-success: #27ae60;
	
	/* Project Theme Colors */
	--primary-purple: #9c27b0;
	--primary-purple-light: #ce93d8;
	--primary-purple-dark: #7b1fa2;
	--accent-orange: #ff9800;
	--accent-orange-light: #ffb74d;
	--accent-orange-dark: #f57c00;
	--bg-light: #f5f5f5;
	--text-dark: #212121;
	--text-secondary: #757575;
	--border-light: #e0e0e0;
}

/* ============================================
   JOIN/LOBBY PAGE STYLES (setup_session)
   ============================================ */

/* Page Wrapper */
.join-page-wrapper {
	background-color: var(--join-bg);
	min-height: calc(100vh - 100px);
	padding: 1.5rem;
}

/* Header */
.join-header {
	background: white;
	padding: 1rem 2rem;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
}

/* Lobby Music Mute Button */
.lobby-mute-btn {
	background: var(--join-primary);
	color: white;
	border: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	box-shadow: 0 4px 12px rgba(44, 62, 80, 0.25);
	flex-shrink: 0;
}

.lobby-mute-btn:hover {
	background: #34495e;
	transform: scale(1.08);
	box-shadow: 0 6px 16px rgba(44, 62, 80, 0.35);
}

.lobby-mute-btn:active {
	transform: scale(0.95);
}

.lobby-mute-btn i {
	font-size: 1.5rem;
}

.lobby-mute-btn.muted {
	background: #e74c3c;
	box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.lobby-mute-btn.muted:hover {
	background: #c0392b;
	box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4);
}

.join-header-content {
	text-align: center;
	flex: 1;
}

.join-activity-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--join-primary);
	margin-bottom: 0.25rem;
}

.join-activity-description {
	font-size: 0.95rem;
	color: #666;
	font-weight: 400;
	line-height: 1.4;
	max-width: 600px;
	margin: 0 auto;
}

/* Main Grid Layout */
.join-main-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 2rem;
	max-width: 1400px;
	margin: 0 auto;
}

/* Card Styles */
.join-card {
	background: var(--join-card-bg);
	border-radius: 20px;
	padding: 2.5rem;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
	min-height: 550px;
}

.instruction-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.lobby-card {
	display: flex;
	flex-direction: column;
}

/* Instructions */
.step-text {
	font-size: 1.6rem;
	margin-bottom: 0.5rem;
	color: #555;
	line-height: 1.4;
}

.url-highlight {
	font-weight: 700;
	color: var(--join-primary);
	direction: ltr;
	display: inline-block;
	text-decoration: underline;
}

/* PIN Display */
.pin-display {
	font-size: 4.5rem;
	font-weight: 900;
	letter-spacing: 5px;
	color: var(--join-primary);
	background: #ecf0f1;
	padding: 1rem 3.5rem;
	border-radius: 15px;
	margin: 1.5rem 0;
	border: 3px solid var(--join-accent);
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	direction: ltr;
    line-height: 1em;
}

/* QR Code Container */
.qr-container {
	margin: 1.5rem 0 1rem;
	padding: 10px;
	background: white;
	border: 1px solid #ddd;
	border-radius: 10px;
	display: inline-block;
}

.qr-container img {
	width: 140px;
	height: 140px;
	object-fit: contain;
}

/* Direct Link Box */
.direct-link-box {
	margin-top: 1.5rem;
	background: #f7f9f9;
	padding: 1rem;
	border-radius: 12px;
	border: 1px solid #ddd;
	width: 90%;
	max-width: 420px;
	text-align: right;
}

.copy-input-group {
	display: flex;
	gap: 10px;
	margin-top: 10px;
	direction: ltr;
}

.copy-input-group input {
	flex: 1;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-family: monospace;
	font-size: 0.85rem;
	background: white;
}

.btn-copy {
	background: var(--join-primary);
	color: white;
	border: none;
	padding: 0 15px;
	border-radius: 8px;
	cursor: pointer;
	transition: 0.2s;
	white-space: nowrap;
	display: flex;
	align-items: center;
}

.btn-copy:hover {
	background: #34495e;
}

/* Lobby Header */
.lobby-header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-bottom: 1.5rem;
	border-bottom: 2px solid var(--join-bg);
	padding-bottom: 1rem;
}

.lobby-header h2 {
	margin: 0 0 0.5rem 0;
	font-size: 1.4rem;
	color: var(--join-primary);
}

.count-badge {
	color: var(--join-primary);
	font-weight: 700;
	font-size: 1.1rem;
}

/* Participants Grid */
.participants-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-content: flex-start;
	flex: 1;
	overflow-y: auto;
	padding: 5px;
	max-height: 350px;
}

/* Participant Pills */
.participants-grid .oneParticipantName {
	background: #e8f6f3;
	color: var(--join-primary);
	padding: 10px 18px;
	border-radius: 20px;
	font-weight: bold;
	font-size: 1rem;
	border: 1px solid #d1f2eb;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: background 0.15s;
}

.participants-grid .oneParticipantName:hover {
	background: #ffcccb;
	text-decoration: line-through;
}

/* New participant animation */
.participants-grid .oneParticipantName.new-participant {
	animation: pillPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	background: #a9e0cf;
}

.participants-grid .oneParticipantName i {
	color: var(--join-success);
	font-size: 0.9em;
}

/* Participant Avatar */
.participants-grid .oneParticipantName .participant-avatar {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	object-fit: cover;
	vertical-align: middle;
}

/* Disconnected participant */
.participants-grid .oneParticipantName.pDisconnected {
	background: #ffeaa7;
	border-color: #fdcb6e;
}

.participants-grid .oneParticipantName.pDisconnected i {
	color: #e17055;
}

.participants-grid > div {
	margin: 0 !important;
}

/* Override the existing count display from server */
.participants-grid > div[style*="text-align:center"] {
	display: none;
}

/* Style for groups */
.participants-grid .answerFlexContainer {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
}

/* No participants message */
#noParsYet {
	width: 100%;
	text-align: center;
	color: #999;
	font-size: 1.1rem !important;
	padding: 2rem;
}

/* Pop-in Animation */
@keyframes pillPopIn {
	from { opacity: 0; transform: scale(0.9); }
	to { opacity: 1; transform: scale(1); }
}

/* Action Bar */
.action-bar {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding-top: 1.5rem;
}

/* Start Button */
.btn-start {
	background: var(--join-accent);
	color: white;
	font-size: 1.5rem;
	font-weight: 700;
	padding: 1rem 3.5rem;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	box-shadow: 0 8px 15px rgba(230, 126, 34, 0.4);
	transition: transform 0.2s, box-shadow 0.2s;
	display: flex;
	align-items: center;
	gap: 12px;
}

.btn-start:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 20px rgba(230, 126, 34, 0.6);
}

.btn-start:disabled {
	background: #bdc3c7;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

/* Distribute Button */
.btn-distribute {
	background: var(--join-primary);
	color: white;
	font-size: 1.1rem;
	font-weight: 600;
	padding: 0.8rem 2rem;
	border: none;
	border-radius: 30px;
	cursor: pointer;
	transition: 0.2s;
}

.btn-distribute:hover {
	background: #34495e;
}

.btn-distribute:disabled {
	background: #bdc3c7;
	cursor: not-allowed;
}

/* Responsive Design for Join Page */
@media (max-width: 950px) {
	.join-main-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	.instruction-card { order: 1; }
	.lobby-card { order: 2; min-height: 400px; }
	.pin-display { font-size: 3rem; padding: 0.8rem 1.5rem; }
	.step-text { font-size: 1.2rem; }
	.btn-start { font-size: 1.3rem; padding: 0.9rem 2.5rem; }
	.join-header { padding: 0.8rem 1rem; }
	.join-activity-title { font-size: 1.2rem; }
	.join-activity-description { font-size: 0.85rem; }
	.direct-link-box { width: 100%; max-width: none; }
	.join-card { padding: 1.5rem; }
	
	/* Mute button responsive */
	.lobby-mute-btn {
		width: 42px;
		height: 42px;
	}
	.lobby-mute-btn i {
		font-size: 1.3rem;
	}
}

/* ============================================
   ACTIVITIES LIST PAGE STYLES
   ============================================ */

/* Page Container */
.acts-page-container {
	background: var(--bg-light);
	height: calc(100vh - 200px);
	padding: 2rem;
}

#glist_container
{
	overflow-y:auto;
	height:calc(100vh - 350px);
}

/* Page Header */
.acts-page-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.acts-page-title {
	font-size: 2rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0;
	flex: 0 0 auto;
	margin-left: auto;
}

/* Create Button in Header */
.acts-create-btn {
	background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
	color: white;
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
	flex: 0 0 auto;
	max-width: 100%;
}

.acts-create-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.acts-create-btn i {
	font-size: 1.2rem;
}

/* Toggle and Search Wrapper */
.acts-toggle-search-wrapper {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

/* Toggle Buttons */
.acts-toggle-wrapper {
	display: flex;
	gap: 1rem;
}

/* Search Wrapper */
.acts-search-wrapper {
	position: relative;
	flex: 0 0 auto;
	min-width: 350px;
	max-width: 400px;
}

.acts-search-wrapper i {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-secondary);
	pointer-events: none;
	font-size: 1.2rem;
}

.acts-search-wrapper input {
	width: 100%;
	padding: 0.75rem 2.8rem 0.75rem 1rem;
	border: 1px solid var(--border-light);
	border-radius: 8px;
	font-size: 0.95rem;
	transition: all 0.3s ease;
}

.acts-search-wrapper input:focus {
	outline: none;
	border-color: var(--primary-purple);
	box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
}

.acts-toggle-btn {
	background: white;
	color: var(--text-dark);
	border: 2px solid var(--border-light);
	padding: 0.75rem 2rem;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.acts-toggle-btn:hover {
	border-color: var(--primary-purple);
	color: var(--primary-purple);
}

.acts-toggle-btn.active {
	background: var(--accent-orange);
	color: white;
	border-color: var(--accent-orange);
}

/* Main Layout */
.acts-main-layout {
	display: grid;
	grid-template-columns: 250px 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}

/* Sidebar */
.acts-sidebar {
	background: white;
	padding: 1.5rem;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	height: fit-content;
	position: sticky;
	top: 2rem;
}

.sidebar-heading {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0 0 1.5rem 0;
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--bg-light);
}

/* Filter Box */
.filter-box {
	margin-bottom: 1.5rem;
}

.filter-label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
}

.filter-label i {
	font-size: 1.1rem;
	color: var(--primary-purple);
}

/* Select Wrapper */
.select-wrapper {
	position: relative;
}

.select-wrapper i {
	position: absolute;
	left: 0.8rem;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: var(--text-secondary);
	font-size: 1.2rem;
}

.filter-select {
	width: 100%;
	padding: 0.7rem 2.5rem 0.7rem 1rem;
	border: 1px solid var(--border-light);
	border-radius: 8px;
	font-size: 0.9rem;
	background: white;
	cursor: pointer;
	transition: all 0.3s ease;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.filter-select:hover {
	border-color: var(--primary-purple-light);
}

.filter-select:focus {
	outline: none;
	border-color: var(--primary-purple);
	box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
}

/* Content Area */
.acts-content {
	min-height: 400px;
}

/* Cards Grid */
.acts-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
	width: 100%;
}

/* Activity Card */
.act-card {
	background: white;
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 0;
}

.act-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(156, 39, 176, 0.15);
}

/* Card Header */
.act-card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
}

.act-card-icon {
	width: 48px;
	height: 48px;
	object-fit: contain;
	flex-shrink: 0;
	margin-left: 0.5rem;
}

.act-badges {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	flex: 1;
}

.act-badge {
	background: var(--primary-purple);
	color: white;
	padding: 0.3rem 0.7rem;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	white-space: nowrap;
}

.act-badge.level {
	background: var(--accent-orange);
}

/* Card Title */
.act-card-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Card Actions */
.act-card-actions {
	display: flex;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--bg-light);
	flex-wrap: wrap;
}

.act-btn {
	flex: 1;
	min-width: fit-content;
	padding: 0.6rem 1rem;
	border: none;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	text-decoration: none;
	color: white;
}

.act-btn i {
	font-size: 1rem;
}

.act-btn-launch {
	background: var(--primary-purple);
}

.act-btn-launch:hover {
	background: var(--primary-purple-dark);
	transform: translateY(-2px);
}

.act-btn-edit {
	background: var(--accent-orange);
}

.act-btn-edit:hover {
	background: var(--accent-orange-dark);
	transform: translateY(-2px);
}

.act-btn-delete {
	background: #e74c3c;
	flex: 0;
	padding: 0.6rem;
}

.act-btn-delete:hover {
	background: #c0392b;
	transform: translateY(-2px);
}

.act-btn-assign {
	background: #3498db;
	flex: 0;
	padding: 0.6rem;
}

.act-btn-assign:hover {
	background: #2980b9;
	transform: translateY(-2px);
}


/* Empty State */
.acts-empty {
	text-align: center;
	padding: 4rem 2rem;
	color: var(--text-secondary);
}

.acts-empty i {
	font-size: 4rem;
	color: var(--border-light);
	margin-bottom: 1rem;
}

.acts-empty h3 {
	font-size: 1.5rem;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
}

/* ============================================
   FOLDER SYSTEM STYLES
   ============================================ */

/* Breadcrumb Navigation */
.breadcrumb-nav {
	background: white;
	padding: 1rem 1.5rem;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	font-size: 0.95rem;
}

.breadcrumb-item {
	color: var(--text-dark);
	font-weight: 600;
}

.breadcrumb-clickable {
	color: var(--primary-purple);
	cursor: pointer;
	transition: all 0.2s ease;
}

.breadcrumb-clickable:hover {
	color: var(--primary-purple-dark);
	text-decoration: underline;
}

.breadcrumb-current {
	color: var(--text-secondary);
}

.breadcrumb-nav i {
	font-size: 1.2rem;
	color: var(--text-secondary);
}

/* Folders Section */
.folders-section {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

/* Folder Card */
.folder-card {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
	transition: all 0.3s ease;
	cursor: pointer;
	display: flex;
	gap: 1rem;
	position: relative;
	overflow: hidden;
	min-height: 100px;
}

.folder-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
}

.folder-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
	pointer-events: none;
}

.folder-card-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 3rem;
}

.folder-card-icon i {
	font-size: 3rem;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.folder-card-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.3rem;
	z-index: 1;
}

.folder-card-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: white;
	margin: 0;
	line-height: 1.3;
	text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.folder-activity-count {
	font-size: 0.9rem;
	color: rgba(255,255,255,0.9);
	font-weight: 600;
}

/* Folder Actions */
.folder-actions {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	display: flex;
	gap: 0.4rem;
	opacity: 0;
	transition: opacity 0.2s ease;
	z-index: 2;
}

.folder-card:hover .folder-actions {
	opacity: 1;
}

.folder-btn {
	background: rgba(255,255,255,0.95);
	color: var(--text-dark);
	border: none;
	padding: 0.5rem;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.folder-btn:hover {
	background: white;
	transform: scale(1.05);
}

.folder-btn i {
	font-size: 1rem;
}

.folder-btn-rename:hover {
	color: var(--accent-orange);
}

.folder-btn-delete:hover {
	color: #e74c3c;
}

/* Activities Separator */
.activities-separator {
	width: 100%;
	text-align: center;
	margin: 2rem 0 1.5rem;
	position: relative;
}

.activities-separator span {
	background: var(--bg-light);
	padding: 0 1rem;
	color: var(--text-secondary);
	font-weight: 600;
	font-size: 0.9rem;
	position: relative;
	z-index: 1;
}

.activities-separator::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--border-light);
	z-index: 0;
}

/* Create Folder Button */
.create-folder-btn {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.create-folder-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.create-folder-btn i {
	font-size: 1.2rem;
}

/* Folder Dialogs */
#folder_dialog_backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	display: none;
}

.folder-dialog {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	z-index: 9999;
	min-width: 400px;
	max-width: 90vw;
	display: none;
}

.folder-dialog-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
}

.folder-dialog-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0;
}

.folder-dialog-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--text-secondary);
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s ease;
}

.folder-dialog-close:hover {
	background: var(--bg-light);
	color: var(--text-dark);
}

.folder-dialog-body {
	margin-bottom: 1.5rem;
}

.folder-form-group {
	margin-bottom: 1rem;
}

.folder-form-label {
	display: block;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
	font-size: 0.95rem;
}

.folder-form-input,
.folder-form-select {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid var(--border-light);
	border-radius: 8px;
	font-size: 1rem;
	transition: all 0.3s ease;
	font-family: inherit;
}

.folder-form-input:focus,
.folder-form-select:focus {
	outline: none;
	border-color: var(--primary-purple);
	box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
}

.folder-dialog-footer {
	display: flex;
	gap: 0.75rem;
	justify-content: flex-end;
}

.folder-dialog-btn {
	padding: 0.75rem 1.5rem;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.folder-dialog-btn-primary {
	background: var(--primary-purple);
	color: white;
}

.folder-dialog-btn-primary:hover {
	background: var(--primary-purple-dark);
}

.folder-dialog-btn-secondary {
	background: var(--bg-light);
	color: var(--text-dark);
}

.folder-dialog-btn-secondary:hover {
	background: var(--border-light);
}

/* Responsive Design for Activities List */
@media (max-width: 1024px) {
	.acts-main-layout {
		grid-template-columns: 1fr;
	}
	
	.acts-sidebar {
		position: static;
	}
	
	.acts-cards-grid {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	}
}

@media (max-width: 1024px) {
	.acts-main-layout {
		grid-template-columns: 1fr;
	}
	
	.acts-sidebar {
		position: static;
	}
	
	.acts-cards-grid {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	}
}

@media (max-width: 768px) {
	.acts-page-container {
		padding: 1rem;
	}
	
	.acts-page-header {
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
	}
	
	.acts-page-title {
		font-size: 1.5rem;
		text-align: center;
		margin-left: 0;
		order: 1;
	}
	
	.acts-create-btn {
		max-width: 100%;
		justify-content: center;
		order: 2;
	}
	
	.acts-toggle-search-wrapper {
		flex-direction: column;
		gap: 1rem;
	}
	
	.acts-toggle-wrapper {
		flex-direction: column;
		width: 100%;
	}
	
	.acts-toggle-btn {
		width: 100%;
	}
	
	.acts-search-wrapper {
		width: 100%;
		max-width: 100%;
	}
	
	.acts-cards-grid {
		grid-template-columns: 1fr;
	}
	
	/* Folder responsive styles */
	.folders-section {
		grid-template-columns: 1fr;
	}
	
	.folder-dialog {
		min-width: 300px;
		padding: 1.5rem;
	}
	
	.create-folder-btn {
		width: 100%;
		justify-content: center;
	}
	
	.breadcrumb-nav {
		font-size: 0.85rem;
		padding: 0.75rem 1rem;
	}
}
