:root {
	--edooly-my-archieves-primary-color: #D2691E;
	--edooly-my-archieves-secondary-color: #8B4513;
	--edooly-my-archieves-accent-color: #FFD700;
	--edooly-my-archieves-background-color: rgba(139, 69, 19, 0.7);
	--edooly-my-archieves-text-color: #fff;
	--edooly-my-archieves-shadow-color: rgba(0, 0, 0, 0.3);
	--edooly-my-archieves-card-bg: rgba(0, 0, 0, 0.3);
}

.edooly-my-archieves-container,
.edooly-my-archieves-container * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Nunito', sans-serif !important;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

img {
	user-drag: none;
	-webkit-user-drag: none;
	-moz-user-drag: none;
	-ms-user-drag: none;
	pointer-events: auto;
	-webkit-touch-callout: none;
}

.edooly-my-archieves-container {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	position: relative !important;
	box-sizing: border-box !important;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	padding-inline: 0;
	padding-left: 0;
	padding-right: 0;
	background: url('https://edooly.com/wp-content/uploads/2025/09/My-Archieves-Edooly.png') no-repeat center center fixed;
	background-size: cover;
	color: var(--edooly-my-archieves-text-color);
	overflow: hidden;
	margin: 0;
	z-index: auto !important;
}

.edooly-my-archieves-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 15px;
	background: var(--edooly-my-archieves-background-color);
	box-shadow: 0 4px 12px var(--edooly-my-archieves-shadow-color);
	z-index: 1000;
	height: 60px;
}

.edooly-my-archieves-back-button {
	background: var(--edooly-my-archieves-primary-color);
	border: none;
	border-radius: 50%;
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 8px var(--edooly-my-archieves-shadow-color);
}

.edooly-my-archieves-back-button:hover {
	background: var(--edooly-my-archieves-secondary-color);
	transform: scale(1.1);
}

.edooly-my-archieves-back-button svg {
	width: 18px;
	height: 18px;
	fill: var(--edooly-my-archieves-text-color);
}

.edooly-my-archieves-title-container {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.edooly-my-archieves-page-title {
	font-size: 1.4rem;
	font-weight: 700;
	text-shadow: 3px 3px 6px var(--edooly-my-archieves-shadow-color);
	color: var(--edooly-my-archieves-accent-color);
	display: flex;
	align-items: center;
	gap: 8px;
}

.edooly-my-archieves-trophy-icon {
	width: 24px;
	height: 24px;
}

.edooly-my-archieves-main-content {
	display: flex;
	flex: 1 1 auto;
	margin-top: 60px;
	min-height: 0;
	height: calc(100vh - 60px);
	height: calc(100svh - 60px);
}

.edooly-my-archieves-sidebar {
	width: 250px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 15px;
	padding: 20px;
	position: fixed;
	height: calc(100vh - 60px);
	height: calc(100svh - 60px);
	overflow-y: auto;
	z-index: 900;
}

.edooly-my-archieves-content-area {
	flex: 1 1 auto;
	margin-left: 250px;
	padding: 20px;
	padding-inline: 16px;
	overflow-y: auto;
	min-height: calc(100vh - 60px);
	min-height: calc(100svh - 60px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
}

.edooly-my-archieves-nav-tabs {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.edooly-my-archieves-tab {
	padding: 15px 20px;
	background: var(--edooly-my-archieves-background-color);
	border: 2px solid var(--edooly-my-archieves-secondary-color);
	border-radius: 10px;
	color: var(--edooly-my-archieves-text-color);
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 8px var(--edooly-my-archieves-shadow-color);
	display: flex;
	align-items: center;
	gap: 10px;
}

.edooly-my-archieves-tab:hover {
	background: rgba(160, 82, 45, 0.9);
	transform: translateY(-3px);
}

.edooly-my-archieves-tab.active {
	background: var(--edooly-my-archieves-primary-color);
	box-shadow: 0 0 15px rgba(210, 105, 30, 0.7);
}

.edooly-my-archieves-tab-icon {
	width: 24px;
	height: 24px;
}

.edooly-my-archieves-section {
	display: none;
	animation: edooly-my-archieves-fadeIn 0.8s ease-out forwards;
	flex: 0 0 auto;
	width: 100%;
	box-sizing: border-box;
	justify-content: center;
	align-items: center;
}

.edooly-my-archieves-section.active {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-top: 18px;
	gap: 16px;
	width: 100%;
	box-sizing: border-box;
}

@keyframes edooly-my-archieves-fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

.edooly-my-archieves-section-title {
	display: none;
}

.edooly-my-archieves-filter-container {
	width: 100%;
	max-width: 400px;
	margin: 0 auto 10px auto;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}
.edooly-my-archieves-filter-label {
	color: var(--edooly-my-archieves-accent-color);
	font-weight: 700;
	font-size: 1rem;
}
.edooly-my-archieves-filter-select {
	padding: 8px 12px;
	border-radius: 8px;
	border: 2px solid var(--edooly-my-archieves-secondary-color);
	background: var(--edooly-my-archieves-background-color);
	color: var(--edooly-my-archieves-text-color);
	font-size: 1rem;
	font-family: inherit;
}

.edooly-my-archieves-medals-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	justify-items: center;
	max-width: 600px;
	width: 100%;
	padding-inline: 16px;
	box-sizing: border-box;
	margin: 0 auto;
}

.edooly-my-archieves-medal-item {
	text-align: center;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.edooly-my-archieves-medal {
	width: 100%;
	max-width: 120px;
	height: auto;
	aspect-ratio: 1/1;
	border-radius: 50%;
	position: relative;
	transition: all 0.4s ease;
	cursor: pointer;
	box-shadow: 0 8px 15px var(--edooly-my-archieves-shadow-color);
	user-drag: none;
	-webkit-user-drag: none;
	pointer-events: auto;
}

.edooly-my-archieves-medal:hover {
	transform: scale(1.15) rotate(5deg);
	z-index: 10;
}

.edooly-my-archieves-medal.unlocked {
	animation: edooly-my-archieves-pulse 2s infinite;
}

.edooly-my-archieves-medal.locked {
	filter: grayscale(100%) brightness(30%);
}

@keyframes edooly-my-archieves-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
	70% { box-shadow: 0 0 0 15px rgba(255, 215, 0, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.edooly-my-archieves-medal-name {
	text-align: center;
	margin-top: 10px;
	font-weight: 700;
	text-shadow: 1px 1px 2px var(--edooly-my-archieves-shadow-color);
	font-size: 0.9rem;
	user-select: none;
}

.edooly-my-archieves-carousel-container {
	position: relative;
	margin-bottom: 20px;
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
}

.edooly-my-archieves-carousel {
	display: flex;
	overflow: visible;
	border-radius: 10px;
	box-shadow: 0 10px 20px var(--edooly-my-archieves-shadow-color);
	width: 100%;
	justify-content: center;
	align-items: center;
	position: relative;
	min-height: 220px;
	pointer-events: none;
}

.edooly-my-archieves-carousel-slide {
	display: none;
	width: 100%;
	justify-content: center;
	align-items: center;
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
	transition: opacity 0.6s cubic-bezier(0.4,0.2,0.2,1), transform 0.6s cubic-bezier(0.4,0.2,0.2,1);
	transform: translateX(0);
	pointer-events: none;
}

.edooly-my-archieves-carousel-slide.active {
	display: flex;
	opacity: 1;
	position: relative;
	pointer-events: auto;
	transform: translateX(0);
}

.edooly-my-archieves-carousel-slide.from-right {
	transform: translateX(80px);
	opacity: 0;
}
.edooly-my-archieves-carousel-slide.from-left {
	transform: translateX(-80px);
	opacity: 0;
}

.edooly-my-archieves-carousel-content {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	justify-items: center;
}

.edooly-my-archieves-background-item {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px var(--edooly-my-archieves-shadow-color);
	transition: all 0.3s ease;
	height: 200px;
	user-drag: none;
	-webkit-user-drag: none;
	pointer-events: auto;
}

.edooly-my-archieves-background-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px var(--edooly-my-archieves-shadow-color);
}

.edooly-my-archieves-background-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
	user-drag: none;
	-webkit-user-drag: none;
	pointer-events: auto;
	border-radius: 10px;
}

.edooly-my-archieves-background-item:hover .edooly-my-archieves-background-img {
	transform: scale(1.05);
}

.edooly-my-archieves-background-name {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
	padding: 10px;
	font-weight: 700;
	text-align: center;
	font-size: 0.9rem;
	user-select: none;
}

.edooly-my-archieves-carousel-controls {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
}

.edooly-my-archieves-carousel-btn {
	background: var(--edooly-my-archieves-background-color);
	border: 2px solid var(--edooly-my-archieves-secondary-color);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	color: var(--edooly-my-archieves-text-color);
	font-weight: 700;
}

.edooly-my-archieves-carousel-btn:hover {
	background: var(--edooly-my-archieves-primary-color);
}

.edooly-my-archieves-carousel-indicators {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 15px;
}

.edooly-my-archieves-carousel-indicator {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--edooly-my-archieves-background-color);
	cursor: pointer;
	transition: all 0.3s ease;
}

.edooly-my-archieves-carousel-indicator.active {
	background: var(--edooly-my-archieves-accent-color);
	transform: scale(1.2);
}

.edooly-my-archieves-profile-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--edooly-my-archieves-background-color);
	border-radius: 20px;
	padding: 30px;
	max-width: 600px;
	margin: 0 auto;
	box-shadow: 0 10px 30px var(--edooly-my-archieves-shadow-color);
}

.edooly-my-archieves-avatar {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 5px solid var(--edooly-my-archieves-primary-color);
	margin-bottom: 20px;
	background: linear-gradient(45deg, var(--edooly-my-archieves-secondary-color), var(--edooly-my-archieves-primary-color));
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 50px;
	color: var(--edooly-my-archieves-accent-color);
}

.edooly-my-archieves-user-name {
	font-size: 1.8rem;
	margin-bottom: 10px;
	color: var(--edooly-my-archieves-accent-color);
	text-shadow: 2px 2px 4px var(--edooly-my-archieves-shadow-color);
	text-align: center;
}

.edooly-my-archieves-user-level {
	font-size: 1.1rem;
	margin-bottom: 20px;
	background: var(--edooly-my-archieves-card-bg);
	padding: 5px 15px;
	border-radius: 20px;
	text-align: center;
}

.edooly-my-archieves-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	width: 100%;
	margin-top: 20px;
}

.edooly-my-archieves-stat {
	background: var(--edooly-my-archieves-card-bg);
	padding: 15px;
	border-radius: 10px;
	text-align: center;
}

.edooly-my-archieves-stat-value {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--edooly-my-archieves-accent-color);
	margin-bottom: 5px;
}

.edooly-my-archieves-stat-label {
	font-size: 0.9rem;
	opacity: 0.8;
}

.edooly-my-archieves-mobile-footer {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--edooly-my-archieves-background-color);
	padding: 15px;
	box-shadow: 0 -5px 15px var(--edooly-my-archieves-shadow-color);
	z-index: 100;
}

.edooly-my-archieves-mobile-nav {
	display: flex;
	justify-content: space-around;
}

.edooly-my-archieves-mobile-tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	color: var(--edooly-my-archieves-text-color);
	text-decoration: none;
	font-size: 0.8rem;
	opacity: 0.7;
	transition: all 0.3s ease;
}

.edooly-my-archieves-mobile-tab.active {
	opacity: 1;
	color: var(--edooly-my-archieves-accent-color);
}

.edooly-my-archieves-mobile-tab-icon {
	width: 24px;
	height: 24px;
}

.edooly-my-archieves-profile-mobile {
	display: none;
}

@media (max-width: 1024px) {
	.edooly-my-archieves-sidebar {
		width: 220px;
	}
	.edooly-my-archieves-content-area {
		margin-left: 220px;
	}
	.edooly-my-archieves-carousel-content {
		grid-template-columns: repeat(2, 1fr);
	}
	.edooly-my-archieves-background-item {
		height: 150px;
	}
}

@media (max-width: 780px) {
	.edooly-my-archieves-sidebar {
		display: none;
	}
	.edooly-my-archieves-content-area {
		margin-left: 0;
		padding-bottom: 80px;
	}
	.edooly-my-archieves-mobile-footer {
		display: block;
	}
	.edooly-my-archieves-page-title {
		font-size: 1.4rem;
	}
	.edooly-my-archieves-section-title {
		font-size: 1.6rem;
	}
	.edooly-my-archieves-medals-container {
		grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
		gap: 12px;
		padding-inline: 12px;
		width: 100%;
		box-sizing: border-box;
	}
	.edooly-my-archieves-medal {
		max-width: 92px;
	}
	.edooly-my-archieves-carousel-content {
		grid-template-columns: repeat(2, 1fr);
	}
	.edooly-my-archieves-carousel-controls {
		display: none;
	}
	.edooly-my-archieves-profile-container {
		display: none;
	}
	.edooly-my-archieves-profile-mobile {
		display: block;
	}
	.edooly-my-archieves-profile-mobile-container {
		display: flex;
		flex-direction: column;
		background: var(--edooly-my-archieves-background-color);
		border-radius: 20px;
		padding: 20px;
		box-shadow: 0 10px 30px var(--edooly-my-archieves-shadow-color);
	}
	.edooly-my-archieves-profile-mobile-header {
		display: flex;
		align-items: center;
		gap: 15px;
		margin-bottom: 20px;
	}
	.edooly-my-archieves-profile-mobile-avatar {
		width: 80px;
		height: 80px;
		border-radius: 50%;
		border: 3px solid var(--edooly-my-archieves-primary-color);
		background: linear-gradient(45deg, var(--edooly-my-archieves-secondary-color), var(--edooly-my-archieves-primary-color));
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 35px;
		color: var(--edooly-my-archieves-accent-color);
	}
	.edooly-my-archieves-profile-mobile-info {
		flex: 1;
	}
	.edooly-my-archieves-profile-mobile-name {
		font-size: 1.4rem;
		font-weight: 700;
		color: var(--edooly-my-archieves-accent-color);
		margin-bottom: 5px;
	}
	.edooly-my-archieves-profile-mobile-level {
		font-size: 1rem;
		background: var(--edooly-my-archieves-card-bg);
		padding: 5px 10px;
		border-radius: 15px;
		display: inline-block;
	}
	.edooly-my-archieves-profile-mobile-stats {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.edooly-my-archieves-profile-mobile-stat {
		background: var(--edooly-my-archieves-card-bg);
		padding: 12px;
		border-radius: 10px;
		text-align: center;
	}
	.edooly-my-archieves-profile-mobile-stat-value {
		font-size: 1.4rem;
		font-weight: 700;
		color: var(--edooly-my-archieves-accent-color);
		margin-bottom: 5px;
	}
	.edooly-my-archieves-profile-mobile-stat-label {
		font-size: 0.8rem;
		opacity: 0.8;
	}
	.edooly-my-archieves-profile-mobile-details {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
		margin-top: 15px;
	}
	.edooly-my-archieves-profile-mobile-detail {
		background: var(--edooly-my-archieves-card-bg);
		padding: 10px;
		border-radius: 8px;
		text-align: center;
		font-size: 0.9rem;
	}
	.edooly-my-archieves-profile-mobile-progress {
		margin-top: 15px;
	}
	.edooly-my-archieves-profile-mobile-progress-bar {
		height: 10px;
		background: var(--edooly-my-archieves-card-bg);
		border-radius: 5px;
		overflow: hidden;
		margin-bottom: 5px;
	}
	.edooly-my-archieves-profile-mobile-progress-fill {
		height: 100%;
		background: var(--edooly-my-archieves-accent-color);
		width: 78%;
		border-radius: 5px;
	}
	.edooly-my-archieves-profile-mobile-progress-text {
		font-size: 0.8rem;
		text-align: center;
	}
	.edooly-my-archieves-carousel {
		touch-action: pan-x;
		user-select: none;
	}
}

.edooly-my-archieves-background-item.selectable-background {
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	font-family: 'Nunito', sans-serif !important;
}

.edooly-my-archieves-background-item.selectable-background:hover {
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 10px 25px var(--edooly-my-archieves-shadow-color);
}

.edooly-my-archieves-background-item.selected {
	border: 3px solid var(--edooly-my-archieves-accent-color);
	transform: scale(1.05);
	box-shadow: 0 0 20px var(--edooly-my-archieves-accent-color);
}

.edooly-my-archieves-background-item.active-background {
	border: 3px solid #4CAF50;
	animation: edooly-background-pulse 2s infinite;
}

@keyframes edooly-background-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
	}
	70% {
		box-shadow: 0 0 0 15px rgba(76, 175, 80, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
	}
}

.edooly-my-archieves-active-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #4CAF50;
	color: white;
	padding: 6px 12px;
	border-radius: 15px;
	font-size: 0.75rem;
	font-weight: 700;
	z-index: 10;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	font-family: 'Nunito', sans-serif !important;
}

.edooly-archieves-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	width: 100svw;
	height: 100svh;
	background: rgba(0, 0, 0, 0.85);
	z-index: 2000;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	backdrop-filter: blur(5px);
	font-family: 'Nunito', sans-serif !important;
}

.edooly-archieves-modal.active {
	display: flex;
}

.edooly-archieves-modal-content {
	background: linear-gradient(135deg, var(--edooly-my-archieves-background-color), rgba(139, 69, 19, 0.9));
	border-radius: 20px;
	padding: 35px;
	max-width: 550px;
	width: 100%;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
	border: 3px solid var(--edooly-my-archieves-primary-color);
	animation: edooly-modal-appear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	position: relative;
	overflow: hidden;
	font-family: 'Nunito', sans-serif !important;
}

.edooly-archieves-modal-content::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--edooly-my-archieves-primary-color), var(--edooly-my-archieves-accent-color), var(--edooly-my-archieves-primary-color));
}

@keyframes edooly-modal-appear {
	from {
		opacity: 0;
		transform: scale(0.8) translateY(20px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.edooly-archieves-success-content {
	text-align: center;
	max-width: 450px;
	font-family: 'Nunito', sans-serif !important;
}

.edooly-archieves-modal-header {
	margin-bottom: 25px;
	text-align: center;
	position: relative;
	font-family: 'Nunito', sans-serif !important;
}

.edooly-archieves-modal-header h3 {
	color: var(--edooly-my-archieves-accent-color);
	font-size: 1.6rem;
	margin: 0;
	font-weight: 800;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	font-family: 'Nunito', sans-serif !important;
}

.edooly-archieves-modal-body {
	margin-bottom: 30px;
	font-family: 'Nunito', sans-serif !important;
}

.edooly-archieves-modal-body h3 {
	color: var(--edooly-my-archieves-text-color);
	margin-bottom: 12px;
	font-size: 1.4rem;
	font-weight: 700;
	font-family: 'Nunito', sans-serif !important;
}

.edooly-archieves-modal-body p {
	color: var(--edooly-my-archieves-text-color);
	opacity: 0.9;
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
	font-family: 'Nunito', sans-serif !important;
}

.edooly-archieves-bg-comparison {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	margin: 25px 0;
	font-family: 'Nunito', sans-serif !important;
}

.edooly-archieves-bg-preview {
	flex: 1;
	text-align: center;
	font-family: 'Nunito', sans-serif !important;
}

.edooly-archieves-bg-arrow {
	color: var(--edooly-my-archieves-accent-color);
	font-size: 2rem;
	font-weight: bold;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	font-family: 'Nunito', sans-serif !important;
	align-self: center;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 140px;
}

.edooly-archieves-modal-footer {
	display: flex;
	gap: 15px;
	justify-content: space-between;
	margin-top: 25px;
	padding-top: 20px;
	border-top: 2px solid rgba(210, 105, 30, 0.3);
	font-family: 'Nunito', sans-serif !important;
}

.edooly-archieves-modal-btn {
	padding: 14px 30px;
	border: none;
	border-radius: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	font-size: 1rem;
	min-width: 140px;
	position: relative;
	overflow: hidden;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-family: 'Nunito', sans-serif !important;
}

.edooly-archieves-modal-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}

.edooly-archieves-modal-btn:hover::before {
	left: 100%;
}

.edooly-archieves-modal-btn-confirm,
.edooly-archieves-modal-btn-primary {
	background: linear-gradient(135deg, var(--edooly-my-archieves-accent-color), #FFC400);
	color: #8B4513;
	box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
	order: 1;
	font-family: 'Nunito', sans-serif !important;
}

.edooly-archieves-modal-btn-confirm:hover,
.edooly-archieves-modal-btn-primary:hover {
	background: linear-gradient(135deg, #FFC400, var(--edooly-my-archieves-accent-color));
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

.edooly-archieves-modal-btn-cancel,
.edooly-archieves-modal-btn-secondary {
	background: linear-gradient(135deg, var(--edooly-my-archieves-primary-color), #A0522D);
	color: var(--edooly-my-archieves-text-color);
	box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4);
	order: 2;
	font-family: 'Nunito', sans-serif !important;
}

.edooly-archieves-modal-btn-cancel:hover,
.edooly-archieves-modal-btn-secondary:hover {
	background: linear-gradient(135deg, #A0522D, var(--edooly-my-archieves-primary-color));
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(139, 69, 19, 0.6);
}

.edooly-archieves-success-icon {
	width: 350px;
	height: 350px;
	margin: 0 auto 25px;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 1024px) {
	.edooly-archieves-modal {
		padding: 0;
		align-items: flex-end;
		background: rgba(0, 0, 0, 0.9);
		font-family: 'Nunito', sans-serif !important;
	}
	.edooly-archieves-modal-content {
		margin: 0;
		border-radius: 25px 25px 0 0;
		max-width: 100%;
		padding: 25px 20px;
		animation: edooly-modal-slide-up 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
		box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
		font-family: 'Nunito', sans-serif !important;
	}
	@keyframes edooly-modal-slide-up {
		from {
			opacity: 0;
			transform: translateY(100%);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
	.edooly-archieves-modal-header h3 {
		font-size: 1.4rem;
		font-family: 'Nunito', sans-serif !important;
	}
	.edooly-archieves-modal-body h3 {
		font-size: 1.2rem;
		font-family: 'Nunito', sans-serif !important;
	}
	.edooly-archieves-modal-body p {
		font-family: 'Nunito', sans-serif !important;
	}
	.edooly-archieves-bg-comparison {
		flex-direction: row;
		gap: 15px;
		margin: 20px 0;
		font-family: 'Nunito', sans-serif !important;
	}
	.edooly-archieves-preview-img {
		height: 100px;
		border-radius: 20px;
	}
	.edooly-archieves-bg-arrow {
		font-size: 1.5rem;
		transform: none;
		font-family: 'Nunito', sans-serif !important;
		height: 100px;
		align-items: center;
		justify-content: center;
	}
	.edooly-archieves-modal-footer {
		flex-direction: row;
		gap: 12px;
		padding: 20px 0 0 0;
		margin-top: 20px;
		position: relative;
		font-family: 'Nunito', sans-serif !important;
	}
	.edooly-archieves-modal-footer::before {
		content: '';
		position: absolute;
		top: 0;
		left: -20px;
		right: -20px;
		height: 2px;
		background: linear-gradient(90deg, transparent, var(--edooly-my-archieves-primary-color), transparent);
	}
	.edooly-archieves-modal-btn {
		flex: 1;
		min-width: auto;
		padding: 12px 20px;
		font-size: 0.9rem;
		font-family: 'Nunito', sans-serif !important;
	}
	.edooly-archieves-success-content {
		max-width: 100%;
		font-family: 'Nunito', sans-serif !important;
	}
	.edooly-archieves-success-icon {
		width: 150px;
		height: 150px;
		margin-bottom: 20px;
	}
	.edooly-archieves-success-icon svg {
		width: 35px;
		height: 35px;
	}
}

@media (max-width: 768px) and (min-width: 481px) {
	.edooly-archieves-modal-content {
		padding: 30px 25px;
		font-family: 'Nunito', sans-serif !important;
	}
	.edooly-archieves-preview-img {
		height: 120px;
	}
	.edooly-archieves-bg-arrow {
		height: 120px;
	}
}

@media (max-width: 480px) {
	.edooly-archieves-modal-content {
		padding: 20px 15px;
		font-family: 'Nunito', sans-serif !important;
	}
	.edooly-archieves-modal-header h3 {
		font-size: 1.3rem;
		font-family: 'Nunito', sans-serif !important;
	}
	.edooly-archieves-bg-comparison {
		gap: 10px;
		font-family: 'Nunito', sans-serif !important;
	}
	.edooly-archieves-preview-img {
		height: 90px;
		border-radius: 20px;
	}
	.edooly-archieves-bg-arrow {
		font-size: 1.3rem;
		font-family: 'Nunito', sans-serif !important;
		height: 90px;
	}
	.edooly-archieves-modal-btn {
		padding: 10px 15px;
		font-size: 0.85rem;
		font-family: 'Nunito', sans-serif !important;
	}
}

.edooly-archieves-preview-container {
	width: 100%;
	max-width: 220px;
	border-radius: 20px;
	overflow: hidden;
	border: 3px solid var(--edooly-my-archieves-primary-color);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
	margin: 0 auto;
	display: block;
	position: relative;
}

.edooly-archieves-preview-img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}

.edooly-archieves-preview-img:hover {
	transform: scale(1.02);
}

.edooly-archieves-bg-label {
	color: var(--edooly-my-archieves-text-color);
	font-weight: 700;
	margin-bottom: 12px;
	font-size: 1rem;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	font-family: 'Nunito', sans-serif !important;
	text-align: center;
	position: relative;
	z-index: 10;
}

/* Panel derecho de filtros */
.edooly-achieve-right-modal-panel {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 999;
	display: flex;
	flex-direction: column;
	gap: 0;
	pointer-events: none;
}
.edooly-achieve-right-modal-panel.active {
	pointer-events: all;
}

.edooly-achieve-right-modal-toggle {
	width: 35px;
	height: 110px;
	background: var(--edooly-my-archieves-primary-color);
	border-radius: 15px 0 0 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: -2px 2px 8px var(--edooly-my-archieves-shadow-color);
	position: relative;
	z-index: 999;
	animation: edooly-achieve-right-modal-slideInControls 0.4s cubic-bezier(0.68,-0.55,0.265,1.55) forwards;
	border: 2px solid var(--edooly-my-archieves-secondary-color);
	border-right: none;
}
.edooly-achieve-right-modal-toggle:active {
	filter: brightness(0.92);
	transform: scale(0.96);
}
.edooly-achieve-right-modal-toggle svg {
	width: 20px;
	height: 20px;
	transition: transform 0.3s cubic-bezier(0.68,-0.55,0.265,1.55);
}
.edooly-achieve-right-modal-toggle:active svg {
	transform: scale(1.2);
}

@keyframes edooly-achieve-right-modal-slideInControls {
	from { right: -60px; opacity: 0.6;}
	to { right: 0; opacity: 1;}
}
@keyframes edooly-achieve-right-modal-slideOutControls {
	from { right: 0; opacity: 1;}
	to { right: -60px; opacity: 0.2;}
}

.edooly-achieve-right-modal-toggle.slide-out {
	animation: edooly-achieve-right-modal-slideOutControls 0.4s cubic-bezier(0.68,-0.55,0.265,1.55) forwards;
}
.edooly-achieve-right-modal-toggle.slide-in {
	animation: edooly-achieve-right-modal-slideInControls 0.4s cubic-bezier(0.68,-0.55,0.265,1.55) forwards;
}

/* Modal de filtros */
.edooly-achieve-right-modal-overlay {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background-color: rgba(0,0,0,0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 2000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
	backdrop-filter: blur(6px);
}
.edooly-achieve-right-modal-overlay.active {
	pointer-events: all;
	opacity: 1;
}

.edooly-achieve-right-modal-content {
	background: linear-gradient(135deg, var(--edooly-my-archieves-background-color), rgba(139,69,19,0.95));
	color: var(--edooly-my-archieves-text-color);
	border-radius: 16px;
	padding: 24px;
	width: 100%;
	max-width: 520px;
	max-height: calc(80vh - 40px); /* limita altura para que no sea muy alargado */
	overflow-y: auto;
	text-align: center;
	font-size: 1rem;
	position: relative;
	box-shadow: 0 15px 35px rgba(0,0,0,0.5);
	border: 3px solid var(--edooly-my-archieves-primary-color);
	transform: translateY(0);
	transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1), opacity 0.35s;
}

/* Mobile & tablet: convertir en bottom-sheet que ocupa todo el ancho y queda pegado abajo */
@media (max-width: 480px) {
	.edooly-achieve-right-modal-overlay {
		align-items: flex-end;
		background-color: rgba(0,0,0,0.85);
	}
	.edooly-achieve-right-modal-content {
		border-radius: 20px 20px 0 0;
		width: 100%;
		max-width: 100%;
		padding: 18px;
		max-height: 60vh;
		box-shadow: 0 -12px 30px rgba(0,0,0,0.6);
		transform: translateY(100%); /* empieza fuera de pantalla */
		will-change: transform;
	}
	/* cuando el overlay está activo, desliza hacia arriba como bottom-sheet */
	.edooly-achieve-right-modal-overlay.active .edooly-achieve-right-modal-content {
		transform: translateY(0);
	}
}

/* pequeñas mejoras visuales y de accesibilidad */
.edooly-achieve-right-modal-close-btn {
	z-index: 5;
}


.edooly-achieve-right-modal-close-btn {
	position: absolute;
	top: 15px;
	right: 15px;
	background: transparent;
	border: none;
	color: var(--edooly-my-archieves-text-color);
	font-size: 1.8rem;
	cursor: pointer;
	opacity: 0.75;
	transition: opacity 0.2s;
	border-radius: 50%;
	padding: 3px 8px;
	font-family: 'Nunito', sans-serif !important;
}
.edooly-achieve-right-modal-close-btn:hover {
	opacity: 1;
	background: rgba(255,255,255,0.1);
}

/* Opciones de filtro */
.edooly-achieve-filter-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 20px 0;
}

.edooly-achieve-filter-option {
	padding: 12px 20px;
	background: var(--edooly-my-archieves-card-bg);
	border: 2px solid var(--edooly-my-archieves-secondary-color);
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 600;
	text-align: center;
}

.edooly-achieve-filter-option:hover {
	background: var(--edooly-my-archieves-primary-color);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px var(--edooly-my-archieves-shadow-color);
}

.edooly-achieve-filter-option.active {
	background: var(--edooly-my-archieves-primary-color);
	border-color: var(--edooly-my-archieves-accent-color);
	box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

@media (max-width: 480px) {
	.edooly-achieve-right-modal-toggle {
		width: 25px;
		height: 80px;
	}
	.edooly-achieve-right-modal-content {
		min-width: 280px;
		font-size: 0.9rem;
		padding: 25px 20px;
	}
}