/* Ahsan Events Pro - Frontend Styles */

.ahsan-events-container {
	width: 100%;
	padding: 20px 0;
	margin: 20px 0;
}

.ahsan-event-card {
	display: flex;
	align-items: center;
	background-color: #000000;
	border-bottom: 1px solid #333;
	padding: 25px 20px;
	gap: 30px;
	transition: background-color 0.3s ease;
}

.ahsan-event-card:last-child {
	border-bottom: 1px solid #333;
}

.ahsan-event-card:hover {
	background-color: #0a0a0a;
}

.ahsan-event-date {
	color: #FFD700;
	font-weight: 700;
	font-size: 20px;
	letter-spacing: 0.5px;
	min-width: 180px;
	flex: 0 0 180px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	text-transform: uppercase;
	text-shadow: 0 2px 4px rgba(255, 215, 0, 0.2);
}

.ahsan-event-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
	justify-content: center;
}

.ahsan-event-location {
	color: #FFFFFF;
	font-weight: 600;
	font-size: 17px;
	margin: 0;
	padding: 0;
	line-height: 1.4;
}

.ahsan-event-description {
	color: #FFFFFF;
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	opacity: 0.9;
}

.ahsan-events-empty {
	background-color: #000000;
	color: #FFFFFF;
	padding: 50px 30px;
	text-align: center;
	border: 1px solid #333;
	border-radius: 4px;
	font-size: 16px;
}

.ahsan-events-empty p {
	margin: 0;
	opacity: 0.8;
}

/* Tablet Responsiveness (768px and below) */
@media (max-width: 768px) {
	.ahsan-event-card {
		flex-direction: column;
		align-items: flex-start;
		padding: 20px 15px;
		gap: 12px;
	}

	.ahsan-event-date {
		min-width: auto;
		flex: 1;
		font-size: 18px;
	}

	.ahsan-event-location {
		font-size: 16px;
	}

	.ahsan-event-description {
		font-size: 14px;
	}
}

/* Mobile Responsiveness (480px and below) */
@media (max-width: 480px) {
	.ahsan-events-container {
		padding: 10px 0;
		margin: 15px 0;
	}

	.ahsan-event-card {
		padding: 15px 12px;
		gap: 8px;
	}

	.ahsan-event-date {
		font-size: 16px;
		min-width: auto;
	}

	.ahsan-event-location {
		font-size: 15px;
	}

	.ahsan-event-description {
		font-size: 13px;
	}

	.ahsan-events-empty {
		padding: 35px 20px;
		font-size: 14px;
	}
}

/* ============================================================
   POSTER EVENTS GRID - MODERN CARD DESIGN
   ============================================================ */

.ahsan-poster-events-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	width: 100%;
	padding: 15px 0;
	margin: 15px 0;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.ahsan-poster-event-card {
	background: #ffffff;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.ahsan-poster-event-card:hover {
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.ahsan-poster-event-image {
	width: 100%;
	height: 380px;
	background: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 2px solid #eeeeee;
	box-sizing: border-box;
	flex-shrink: 0;
}

.ahsan-poster-event-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ahsan-poster-event-info {
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	background: #000000;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.ahsan-poster-event-date {
	color: #ffffff;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	line-height: 1.3;
	padding: 10px 12px 5px 12px;
}

.ahsan-poster-event-title {
	color: #FFD700;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: -0.3px;
	padding: 5px 12px 8px 12px;
	border-bottom: 1px solid #333333;
}

.ahsan-poster-event-location {
	color: #ffffff;
	font-weight: 400;
	font-size: 11px;
	line-height: 1.3;
	letter-spacing: 0.2px;
	padding: 8px 12px 0 12px;
	flex: 1;
}

.ahsan-book-now-poster {
	background: #FFD700 !important;
	color: #000000 !important;
	box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2) !important;
	width: auto;
	margin: 10px 12px 12px 12px !important;
	font-size: 12px;
	font-weight: 700;
	padding: 10px 15px !important;
	border: 2px solid #FFD700 !important;
	border-radius: 4px;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.ahsan-book-now-poster:hover {
	background: #000000 !important;
	color: #FFFFFF !important;
	border: 2px solid #FFD700 !important;
	box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4) !important;
	transform: translateY(-1px);
}

/* Responsive: Tablet (1024px and below) */
@media (max-width: 1024px) {
	.ahsan-poster-events-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 18px;
	}

	.ahsan-poster-event-image {
		height: 320px;
	}

	.ahsan-poster-event-info {
		padding: 0;
	}

	.ahsan-poster-event-title {
		font-size: 12px;
	}

	.ahsan-poster-event-location {
		font-size: 10px;
	}

	.ahsan-poster-event-date {
		font-size: 9px;
	}

	.ahsan-book-now-poster {
		margin: 8px 10px 10px 10px !important;
		padding: 8px 12px !important;
		font-size: 11px;
	}
}

/* Responsive: Tablet (768px and below) */
@media (max-width: 768px) {
	.ahsan-poster-events-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
		padding: 12px 0;
		margin: 12px 0;
	}

	.ahsan-poster-event-image {
		height: 300px;
	}

	.ahsan-poster-event-info {
		padding: 0;
	}

	.ahsan-poster-event-title {
		font-size: 12px;
		padding: 4px 10px 6px 10px;
		border-bottom: 1px solid #333333;
	}

	.ahsan-poster-event-location {
		font-size: 10px;
		padding: 6px 10px 0 10px;
	}

	.ahsan-poster-event-date {
		font-size: 9px;
		padding: 8px 10px 3px 10px;
	}

	.ahsan-book-now-poster {
		margin: 8px 10px 10px 10px !important;
		padding: 8px 12px !important;
		font-size: 11px;
	}
}

/* Responsive: Mobile (480px and below) */
@media (max-width: 480px) {
	.ahsan-poster-events-grid {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 10px 0;
		margin: 10px 0;
	}

	.ahsan-poster-event-image {
		height: 350px;
	}

	.ahsan-poster-event-info {
		padding: 0;
	}

	.ahsan-poster-event-title {
		font-size: 14px;
		padding: 6px 12px 8px 12px;
		border-bottom: 1px solid #333333;
	}

	.ahsan-poster-event-location {
		font-size: 11px;
		padding: 8px 12px 0 12px;
	}

	.ahsan-poster-event-date {
		font-size: 10px;
		padding: 10px 12px 4px 12px;
	}

	.ahsan-book-now-poster {
		margin: 10px 12px 12px 12px !important;
		padding: 10px 15px !important;
		font-size: 12px;
	}

	.ahsan-poster-events-empty {
		padding: 40px 15px;
		font-size: 14px;
	}
}

/* ============================================================
   BOOKING MODAL & BUTTONS
   ============================================================ */

.ahsan-event-actions {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.ahsan-book-now-btn {
	background: #FFD700;
	color: #000000;
	border: none;
	padding: 10px 20px;
	border-radius: 4px;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}

.ahsan-book-now-btn:hover {
	background: #FFE94D;
	box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
	transform: translateY(-2px);
}

.ahsan-book-now-btn:active {
	transform: translateY(0);
}

.ahsan-book-now-poster {
	background: #2271b1 !important;
	color: #ffffff !important;
	box-shadow: 0 2px 8px rgba(34, 113, 177, 0.2) !important;
	width: 100%;
	margin-top: 8px;
	font-size: 12px;
	padding: 8px 15px;
}

.ahsan-book-now-poster:hover {
	background: #1d5a96 !important;
	box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3) !important;
}

/* Modal Styles */
.ahsan-booking-modal {
	display: none;
	position: fixed;
	z-index: 99999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.ahsan-booking-modal-content {
	background: #ffffff;
	margin: 5% auto;
	padding: 40px;
	border-radius: 8px;
	width: 90%;
	max-width: 500px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	animation: slideDown 0.3s ease;
}

@keyframes slideDown {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.ahsan-booking-modal-close {
	color: #999;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	transition: color 0.3s ease;
}

.ahsan-booking-modal-close:hover {
	color: #000;
}

.ahsan-booking-modal-content h2 {
	color: #1a1a1a;
	margin-bottom: 25px;
	font-size: 24px;
	text-align: center;
}

.ahsan-booking-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.ahsan-form-group {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.ahsan-form-group label {
	font-weight: 600;
	color: #1a1a1a;
	font-size: 14px;
}

.ahsan-form-group label .required {
	color: #d63638;
	margin-left: 3px;
}

.ahsan-form-group input {
	padding: 12px 14px;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	font-size: 14px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	transition: all 0.3s ease;
}

.ahsan-form-group input:focus {
	outline: none;
	border-color: #2271b1;
	box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
	background: #ffffff;
}

.ahsan-booking-submit-btn {
	background: linear-gradient(135deg, #2271b1 0%, #1d5a96 100%);
	color: #ffffff;
	border: none;
	padding: 14px 20px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 10px;
	box-shadow: 0 4px 15px rgba(34, 113, 177, 0.3);
}

.ahsan-booking-submit-btn:hover {
	background: linear-gradient(135deg, #2d7fbf 0%, #2366a5 100%);
	box-shadow: 0 6px 20px rgba(34, 113, 177, 0.4);
	transform: translateY(-2px);
}

.ahsan-booking-submit-btn:active {
	transform: translateY(0);
}

.ahsan-booking-message {
	padding: 14px 16px;
	border-radius: 6px;
	font-weight: 500;
	font-size: 14px;
	margin-top: 15px;
	text-align: center;
	border-left: 4px solid;
	display: none !important;
}

.ahsan-booking-message.success {
	background: #f0f6f0;
	color: #155724;
	border-left-color: #46b450;
}

.ahsan-booking-message.error {
	background: #fcf0f1;
	color: #721c24;
	border-left-color: #dc3545;
}

/* Success Popup Overlay */
#ahsan-success-popup {
	display: none;
	position: fixed;
	z-index: 999999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	animation: fadeIn 0.3s ease;
	justify-content: center;
	align-items: center;
}

#ahsan-success-popup.show {
	display: flex;
}

.ahsan-success-popup-content {
	background: #ffffff;
	padding: 50px 40px;
	border-radius: 12px;
	text-align: center;
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
	max-width: 400px;
	width: 90%;
	animation: popIn 0.5s ease;
}

@keyframes popIn {
	0% {
		transform: scale(0.8);
		opacity: 0;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.ahsan-success-popup-icon {
	font-size: 60px;
	color: #46b450;
	margin-bottom: 20px;
	animation: bounce 0.6s ease;
}

@keyframes bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-20px); }
}

.ahsan-success-popup-content h3 {
	color: #1a1a1a;
	font-size: 24px;
	font-weight: 700;
	margin: 15px 0;
	letter-spacing: -0.5px;
}

.ahsan-success-popup-content p {
	color: #666666;
	font-size: 14px;
	line-height: 1.6;
	margin: 10px 0 25px 0;
}

.ahsan-success-popup-btn {
	background: linear-gradient(135deg, #46b450 0%, #359635 100%);
	color: #ffffff;
	border: none;
	padding: 12px 30px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ahsan-success-popup-btn:hover {
	background: linear-gradient(135deg, #52c054 0%, #3fa240 100%);
	box-shadow: 0 6px 18px rgba(70, 180, 80, 0.3);
	transform: translateY(-2px);
}

/* Responsive Modal */
@media (max-width: 600px) {
	.ahsan-booking-modal-content {
		width: 95%;
		padding: 30px 20px;
		margin: 20% auto;
	}

	.ahsan-booking-modal-content h2 {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.ahsan-booking-form {
		gap: 12px;
	}

	.ahsan-form-group input {
		padding: 11px 12px;
		font-size: 13px;
	}

	.ahsan-booking-submit-btn {
		padding: 12px 16px;
		font-size: 13px;
	}
}
