:root {
    --bg-overlay: rgba(0, 0, 0, 0.492);
    --bg-modal: rgba(0, 0, 0, 0.7);
    --border-modal: rgba(152, 152, 152, 0.5);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: ease-in-out 0.3s;
    z-index: 1000;
  }
  
.modal__close {
	display: flex;
	justify-content: center;
	width: 100%;
	padding-top: 30px;
}

.modal__close h2 {
	margin: 0;
	color: white;
}

.modal__close img {
	width: 40px;
	height: 40px;
	opacity: 0.25;
}

.modal__close img:hover {
	cursor: pointer;
	transform: scale(1.1);
	transition: ease-in-out 0.2s;
}

.modal__close-button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100px;
	height: 40px;
	background-color: var(--border-modal);
	border-radius: 5px;
	font-size: 20px;
	color: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	border: none;
	outline: none;
}

.modal__close-button:hover {
	background-color: rgba(255, 255, 255, 0.2);
	color: white;
	transform: scale(1.05);
}

.modal__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: auto;
	width: auto;
	padding: 50px;
	margin-left: 16px;
	margin-right: 16px;
	background-color: var(--bg-modal);
	border-radius: 20px;
	border: 1px solid var(--border-modal);
	overflow: hidden;
	box-shadow: 0px 0px 15px rgba(117, 117, 117, 0.2);
	position: relative;
}

.modal__header h2 {
	margin: 0;
	color: white;
	padding-bottom: 20px;
	font-size: 20px;
}

.modal__body {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	flex: 1;
	width: 100%;
	color: white;
	/* overflow: hidden; */
}

.modal__body-data {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
}

.modal__body-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-bottom: 15px;
}

.modal__body-container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	padding: 0px 0px 25px 0px;
	overflow: hidden;
}

.modal__body p {
	font-size: 20px;
	font-weight: 400;
	text-align: center;
	margin: 0;
	padding-bottom: 10px;
	color: rgb(172, 170, 170);
}

.modal__footer {
	display: flex;
	justify-content: center;
	width: 100%;
}

.modal__footer p {
	font-size: 20px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.577);
	margin: 0;
}

.modal__footer img {
	object-fit: fill;
	width: 50px;
	height: 50px;
	border-radius: 70%;
	opacity: 0.25;
	transition: ease-in-out 0.25s;
}

.modal__footer img:hover {
	cursor: pointer;
	transform: scale(1.1);
	opacity: 0.65;
}

/* Error count styling for validation overlay */
.error-count {
	color: rgba(252, 53, 53, 0.776);
}