/* .modal-* (bootstrap) *******************************/

.modal {

	.modal-dialog {

		.modal-content {
			background-color: var(--color-background);
			border-radius: 10px;
			color: var(--color-text);
			overflow: hidden;

			.modal-header {
				align-items: flex-start;
				border: 0;
				gap: 10px;
				padding: 20px;

				h2 {
				}

				.btn-close {
					background-color: #fff;
				}
			}

			.modal-body {
				padding: 0 20px;

					ul {
						padding: 0;
						list-style-type: none;

						li {
							display: flex;
							gap: 5px;

							img {
								height: 20px;
								width: 20px;
							}

							p {
								align-items: center;
								display: flex;
								font-family: var(--font-default);
								font-size: 0.9rem;
							}
						}
					}
			}

			.modal-footer {
				border: 0;
				padding: 20px;
				padding-top: 0;

				.btn-close {
					background-color: #fff;
					padding: 8px;
				}
			}
		}

		&.modal-fullscreen {
			height: auto;

			.modal-content {
				border-radius: 0;
			}
		}
	}
}

.modal-backdrop {
	opacity: 0.6 !important;
}

/* .modal-loading *******************************/

.modal-loading {
	background-color: #fff;
	border-radius: 15px;
	display: none;
	padding: 40px 0px;
	text-align: center;
	width: 100%;

	.message {
		font-size: 0.9rem;
		font-weight: 300;

		h3 {
			font-size: 1.2rem;
			font-weight: 800;
			margin-bottom: 10px;
		}
	}

	img {
		height: 60px;
		width: auto;
	}

	.dots {
		align-items: center;
		gap: 10px;
		justify-content: center;
		width: 100%;

		.dot {
			animation: loading 1s linear forwards;
			animation-iteration-count: infinite;
			background-color: #ccc;
			border-radius: 20px;
			height: 20px;
			position: relative;
			width: 20px;
		}

		.dot2 {
			animation-delay: 250ms;
		}

		.dot3 {
			animation-delay: 500ms;
		}
	}
}

@keyframes loading {
	0% { top: 0; }
	25% { top: -5px; background-color: #999; }
	50% { top: 0; background-color: #666; }
	75% { top: 5px; background-color: #999; }
	100% { top: 0; background-color: #ccc; }
}

/* .modal-room *******************************/

.modal-room {

	.modal-header {
		align-items: flex-start;
	}

	.modal-body {

		img {
			border-radius: 10px;
		}
	}
}

/* .modal-flashover *******************************/

.modal-flashover {
	background-image: url('../../images/moblify/bgs/modals/flashover.webp');
	background-size: cover;

	.progress-bar {
		&.fear-factor { width: 20%; }
		&.success-rate { width: 51%; }
		&.family-friendliness { width: 85%; }
	}
}

/* .modal-saloon *******************************/

.modal-saloon {
	background-image: url('../../images/moblify/bgs/modals/saloon.webp');
	background-size: cover;

	.progress-bar {
		&.fear-factor { width: 30%; }
		&.success-rate { width: 43%; }
		&.family-friendliness { width: 95%; }
	}
}

/* .modal-taphophobia *******************************/

.modal-taphophobia {
	background-image: url('../../images/moblify/bgs/modals/taphophobia.webp');
	background-size: cover;

	.progress-bar {
		&.fear-factor { width: 30%; }
		&.success-rate { width: 61%; }
		&.family-friendliness { width: 70%; }
	}
}

/* .modal-ski *******************************/

.modal-ski {
	background-image: url('../../images/moblify/bgs/modals/ski.webp');

	.progress-bar {
		&.fear-factor { width: 10%; }
		&.success-rate { width: 91%; }
		&.family-friendliness { width: 90%; }
	}
}

/* .modal-compare *******************************/

.modal-compare {
	background-image: url('../../images/moblify/bgs/modals/compare.webp');
	background-position: center;
	background-size: cover;

	p {
		font-size: 1.2rem;
	}

	.panel {
		background-color: #000;
		border: 1px solid var(--color-brand-primary);

		.top {
			align-items: flex-start;
			display: flex;
			gap: 15px;
			justify-content: space-between;
			margin-bottom: 20px;

			.game {

				h3 {
    			text-decoration: underline;
  			  text-decoration-color: var(--color-brand-primary);
    			text-underline-offset: 5px;
			    text-decoration-thickness: 5px;
				}

				span {
					white-space: nowrap;

					button {
						color: #fff;
					}
				}				
			}

			img {
				height: 100px;
				width: 100px;
			}
		}

		.bottom {
			align-items: center;
			display: flex;
			justify-content: space-between;

			.features {
				align-items: flex-start;
				display: flex;
				flex-direction: column;
				font-family: var(--font-default);
				font-weight: 600;
				gap: 5px;

				.feature {
				  align-items: center;
					border-radius: 20px;
			  	display: flex;
					font-size: 1rem;
			  	gap: 10px;
					padding: 0;
					text-shadow: 2px 2px 4px #000;
					text-transform: uppercase;

					&.outdoors {
						color: var(--color-brand-pop);
					}

					img {
			  	 	height: 30px;
    				width: auto;
			  	}
				}
			}
		}
	}
}

/* .modal-experience *******************************/

.modal-experience {
	background-image: url('../../images/moblify/bgs/modals/experience.webp');
	background-position: center;
	background-size: cover;

	.modal-body {

		img {
			border-radius: 10px;
		}
	}
}
