/*
 * Shelyuu API by Code Sea Hub
 * https://shelyuu.com
 * 
 * @license Copyright 2025, Code Sea Hub. All rights reserved.
 * Subject to the terms at https://shelyuu.com/p/policy.
 * @author: Shel Cheong, shel.cheong@shelyuu.com
 */

/* =============================
*
*  Policies Acceptance Popup Bar
*
*  ============================= */
.popup-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
	color: white;
	padding: 1rem 1.5rem;
	box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
	transform: translateY(0);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1000;
	border-top: 3px solid #3498db;
}

.popup-bar.show {
	transform: translateY(0);
}

.popup-bar.hide {
	transform: translateY(100%);
}

.popup-content {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.popup-text {
	flex: 1;
	font-size: 0.95rem;
	line-height: 1.4;
}

.popup-text a {
	color: #3498db;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.popup-text a:hover {
	color: #5dade2;
	text-decoration: underline;
}

.popup-buttons {
	display: flex;
	gap: 0.75rem;
	flex-shrink: 0;
}

.popup-btn {
	padding: 0.6rem 1.2rem;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
	text-align: center;
}

.popup-btn-accept {
	background: #27ae60;
	color: white;
}

.popup-btn-accept:hover {
	background: #2ecc71;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.popup-btn-decline {
	background: transparent;
	color: #bdc3c7;
	border: 1px solid #7f8c8d;
}

.popup-btn-decline:hover {
	background: #7f8c8d;
	color: white;
	transform: translateY(-1px);
}

.popup-close-btn {
	background: none;
	border: none;
	color: #bdc3c7;
	font-size: 1.2rem;
	cursor: pointer;
	padding: 0.25rem;
	margin-left: 0.5rem;
	transition: color 0.3s ease;
}

.popup-close-btn:hover {
	color: white;
}

 @media (max-width: 768px) {
	.popup-content {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
		gap: 0.75rem;
	}

	.popup-text {
		margin-bottom: 0.5rem;
		font-size: 0.9rem;
	}

	.popup-buttons {
		justify-content: center;
		flex-wrap: wrap;
	}

	.popup-btn {
		flex: 1;
		min-width: 100px;
	}
}

	@media (max-width: 480px) {
	.popup-bar {
		padding: 1rem;
	}

	.popup-btn {
		padding: 0.5rem 1rem;
		font-size: 0.85rem;
	}
}