/* Simulator results */

.simulation-results-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, 200px);
	justify-content: space-around;
	margin-bottom: 30px;
}

/* Cards main */
section#simulator {
	background-color: #efefef;
}

.card:not(:last-child) {
	margin-bottom: 100px;
}
.card > .card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.card > .card-header > h3 {
	margin: 0;
	color: #777;
}

/* Search bar */
.search-bar {
	display: flex;
	justify-content: center;
	padding: 20px 0 40px 0;
}

.search-bar > .input {
	width: 40%;
	position: relative;
}

.search-bar > .input > i {
	position: absolute;
	font-size: large;
	padding-top: 12px;
	padding-left: 10px;
}
.search-bar > .input > input[type=text] {
	border: 1px solid grey;
	width: 100%;
	padding: 10px 10px 10px 35px;
}

.search-bar > button[type=submit] {
	margin-left: -3px;
}

.search-bar > button[type=submit] i.fa {
	display: none;
}

/* Selected channels cards */
#selected-channels {
	display: grid;
	grid-template-columns: repeat(auto-fit, 228px);
	justify-content: center;
	gap: 25px;
	margin-top: 10px;
}

#selected-channels .no-channel {
	font-size: larger;
	font-weight: 600;
	width: max-content;
	color: #bbb;
	position: relative;
}

#selected-channels .no-channel > i {
	rotate: 180deg;
	font-size: xxx-large;
	top: -31px;
	position: absolute;
}

#selected-channels .no-channel > span {
	padding-left: 35px;
	font-style: italic;
}

.channel {
	display: flex;
	flex-direction: column;
	gap: 5px;
	position: relative;
	border: 1px solid #ccc;
	border-radius: 2px;
	box-shadow: #ccc 0 12px 20px;
	min-height: 138px;
	background-color: white;
}

.channel > .remove-channel {
	position: absolute;
	right: 10px;
	top: 5px;
	font-size: small;
	color: rgb(206, 50, 50, 0.5);
}

.channel > .remove-channel:hover {
	color: rgb(206, 50, 50, 1);
}

.channel > .header {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 5px;
	border-bottom: 1px solid #ddd;
	padding: 10px;
	background-color: rgb(206, 50, 50, 0.1);
}
.channel > .header > .logo > img {
	height: 40px;
	width: 40px;
	border-radius: 50%;
}

.channel > .header > .title {
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
}

.channel > .content {
	padding: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.channel > .content > i.not-found {
	margin-top: 12px;
	color: #aaa;
}

.channel > .content > dl {
	margin-bottom: 5px;
}

.channel > .content > dl > dt {
	font-weight: normal;
	font-size: small;
	color: rgb(206, 50, 50, 0.8);
}

.channel > .content > dl > dd {
	font-weight: 700;
	font-size: large;
}

/* Channel skel loader */
.channel.skeleton > .header {
	background-color: transparent;
	border-bottom: none;
}

.channel.skeleton > .header > .logo {
	background-color: #aaa;
	height: 40px;
	width: 40px;
	border-radius: 50%;
}

.channel.skeleton > .header > .title {
	background-color: #aaa;
	height: 20px;
	width: 100px;
	border-radius: 2px;
}

.channel.skeleton > .content {
	display: block;
	height: 100%;
}

.channel.skeleton > .content > .data {
	height: 100%;
	width: 100%;
	background-color: #aaa;
	border-radius: 2px;
}

/* Simulation result */
.simulation-result ul {
	list-style: none;
	margin-top: 20px;
	padding: 0;
}

.simulation-result ul > li {
	display: flex;
	gap: 5px;
	align-items: center;
	color: rgb(206, 50, 50, 0.8);
}

.simulation-result ul > li:not(:last-child) {
	margin-bottom: 10px;
}

.simulation-result ul > li span {
	font-weight: 700;
	font-size: large;
	color: #333;
}

ul.skeleton {
	list-style: none;
	padding: 0;
}

ul.skeleton li:not(:last-child) {
	margin-bottom: 10px;
}

ul.skeleton li {
	background-color: #aaa;
	height: 20px;
	width: 100px;
	border-radius: 2px;
}

.skeleton :where(div, span).line {
	display: inline-block;
	background-color: #aaa;
	height: 20px;
	width: 100px;
	border-radius: 2px;
}

.skeleton :where(div, span).line.small {
	height: 15px;
	width: 50px;
}

.skeleton :where(div, span).line.medium {
	width: 50px;
}

.skeleton :where(div, span).line.longer {
	width: 150px;
}

.simulation-results-container :where(.estimated-earnings, .repartition) {
	border: 1px solid #ddd;
	padding: 0px 10px;
	box-shadow: #ccc 0 12px 20px;
}

.simulation-results-container :where(.estimated-earnings, .repartition) > h3 {
	color: #777;
	margin-top: 10px;
}

/* Kpi display */
.kpi-wrapper {
	color: rgb(206, 50, 50, 0.8);
}

.kpi-wrapper .kpi {
	font-weight: 700;
	color: #575757;
}

/* Utils */

.animate-pulse {
	animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
}

@keyframes pulse {
	50% {
		 opacity: .5;
	}
}

@keyframes pulse {
	50% {
		 opacity: .5;
	}
}

.flex-row {
	display: flex;
	flex-direction: row;
}

.gap-5 {
	gap: 5px;
}

.align-center {
	align-items: center;
}

.font-large {
	font-size: large;
}

.font-x-large {
	font-size: x-large;
}

.font-700 {
	font-weight: 700;
}

.link-default {
	color: #337ab7;
}

.wizdeo-commission {
	margin-bottom: 50px;
}

.text-primary-08 {
	color: rgb(206, 50, 50, 0.8);
}

.cursor-pointer {
	cursor: pointer;
}

.slider-handle {
    background-color: rgb(206, 50, 50, 0.8);
    background-image: -webkit-linear-gradient(top, #ce3232cc 0%, #ce3232 100%);
    background-image: -o-linear-gradient(top, #ce3232cc 0%, #ce3232 100%);
    background-image: linear-gradient(to bottom, #ce3232cc 0%, #ce3232 100%);
}

.slider-selection.tick-slider-selection {
    background-image: -webkit-linear-gradient(top, #ce8c8c 0%, #ce7878 100%);
    background-image: -o-linear-gradient(top, #ce8c8c 0%, #ce7878 100%);
    background-image: linear-gradient(to bottom, #ce8c8c 0%, #ce7878 100%);
}

.slider-tick.in-selection {
    background-image: -webkit-linear-gradient(top, #ce8c8c 0%, #ce7878 100%);
    background-image: -o-linear-gradient(top, #ce8c8c 0%, #ce7878 100%);
    background-image: linear-gradient(to bottom, #ce8c8c 0%, #ce7878 100%);
    opacity: 1;
}

/* For small screens */
@media (max-width: 740px) {
	.search-bar > .input {
		width: 100%;
	}

	.search-bar > button[type=submit] i.fa {
		display: inline;
	}

	.search-bar > button[type=submit] span.label {
		display: none;
	}

	#selected-channels {
		grid-template-columns: 1fr;
	}

	.channel > .content {
		justify-content: space-evenly;
	}
}
