/* The Modal */
.wraiter-light-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content */
.wraiter-light-modal-content {
	position: relative;
	background-color: #fefefe;
	margin: 10% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 5px;
	padding-right: 10px;
	border-radius: 10px;
	line-height: 1.5;
	font-size: 1.2em;
}

/* Modal Header */
.wraiter-light-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem;
	border-bottom: 1px solid #e6e6e6;
}

/* Modal Body */
.wraiter-light-modal-body {
	position: relative;
	margin-top: 40px;
	padding-right: 10px;
}

/* Modal Footer */
.wraiter-light-modal-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 1rem;
	border-top: 1px solid #e6e6e6;
}

/* Close Button */
.wraiter-light-modal-close {
	color: #aaa;
	float: right;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
	text-shadow: 0 1px 0 #fff;
	opacity: .5;
}

.wraiter-light-modal-close:hover,
.wraiter-light-modal-close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

/* Button Styles */
.wraiter-light-btn {
	display: inline-block;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	user-select: none;
	border: 1px solid transparent;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: 0.25rem;
	transition: all 0.15s ease-in-out;
	cursor: pointer;
}

.wraiter-light-btn-secondary {
	color: #fff;
	background-color: #6c757d;
	border-color: #6c757d;
}

.wraiter-light-btn-primary {
	color: #fff;
	background-color: #007bff;
	border-color: #007bff;
}

/* Select Button */
.wraiter-light-modal-select-button {
	display: block;
	width: 50%;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #fff;
	background-color: #007bff;
	border: 1px solid #007bff;
	border-radius: 0.25rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	box-shadow: none;
	appearance: none;
	font-weight: bold;
	margin: 30px auto 0;
	cursor: pointer;
}

/* Select Button Style */
.wraiter-light-modal-select-button {
	display: block;
	width: 50%;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: bold;
	line-height: 1.5;
	color: #fff;
	background-color: #007bff;
	border: 1px solid #007bff;
	border-radius: 0.25rem;
	margin: 30px auto 0;
	cursor: pointer;
	transition: all 0.15s ease-in-out;
}

.wraiter-light-modal-select-button:hover {
	background-color: #0069d9;
	border-color: #0062cc;
}

.wraiter-light-modal-select-button:focus {
	outline: none;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.wraiter-light-modal-carousel-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #bbb;
	margin: 0 8px;
	cursor: pointer;
}

.wraiter-light-modal-carousel-dot.active {
	background-color: #555;
}

/* Styles for the carousel arrows */
/* Styles for the carousel arrows */
.wraiter-light-modal-prev-arrow,
.wraiter-light-modal-next-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.wraiter-light-modal-prev-arrow:hover,
.wraiter-light-modal-next-arrow:hover {
	background-color: #ccc;
	border-color: #999;
}

.wraiter-light-modal-prev-arrow {
	left: -15%;
}

.wraiter-light-modal-next-arrow {
	right: -15%;
}

.wraiter-light-modal-prev-arrow::before,
.wraiter-light-modal-next-arrow::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-top: 2px solid #333;
	border-left: 2px solid #333;
	transform: rotate(-45deg);
	margin: 10px;
}

.wraiter-light-modal-next-arrow::before {
	transform: rotate(135deg);
}

.wraiter-light-modal-carousel-dots {
	text-align: center;
}

span.wraiter-light-modal-slide-number {
	position: absolute;
	right: 0;
	bottom: 1px;
}

.wraiter-light-modal-content-text img {
	width: 256px;
}

.wraiter-light-modal-content-text.wraiter-light-images {
	text-align: center;
}

.wraiter-light-loader {
	position: fixed;
	z-index: 9999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	display: flex;
	animation-fill-mode: backwards;
	display: flex;
	justify-content: center;
	align-items: baseline;
	align-content: center;
	flex-wrap: wrap;
}

.wraiter-light-loading-message {
	color: #ffffff;
	font-size: 24px;
	text-align: center;
	margin-top: 20px;
}

.wraiter-light-loading-icon {
	border: 4px solid #f3f3f3;
	border-top: 4px solid #3498db;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	animation: spin 2s linear infinite;
	margin-right: 10px;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
