.voconix-demo-title{
	color: #051937;
	font-weight: bold;
	font-size: 40px;
	margin: 0px;
	margin-bottom: 10px;
}

.voconix-demo-subtitle{
	color: #051937;
	font-weight: 200;
	font-size: 25px;
	margin: 0px;
	line-height: 30px;
}

#voconix-lang-buttons{
	margin-top: 50px;
}

.voconix-btn-on{
	appearance: none;
	background-color: #051937;
	border: 1px solid #051937;
	color: white;
	font-weight: bold;
	font-size: 16px;
	padding: 10px 15px 10px 15px;
	margin-right: 20px;
	border-radius: 5px;
	cursor: pointer;
}

.voconix-btn-off{
	appearance: none;
	border: 1px solid #051937;
	color: #051937;
	background-color: white;
	font-weight: bold;
	font-size: 16px;
	padding: 10px 15px 10px 15px;
	margin-right: 20px;
	border-radius: 5px;
	cursor: pointer;
}

.voconix-textarea-container{
	background-color: #d8d9dd;
	padding: 20px;
	border-radius: 5px;
	margin-top: 20px;
}

.voconix-textarea-container textarea{
	border: none;
	background: transparent;
	width: 100%;
	height: 80px;
	outline: none;
	color: #051937;
	font-size: 17px;
	resize: none;
}

.voconix-textarea-container textarea::placeholder{
	color: #051937;
}

.voconix-voice-select-wrapper {
	position: relative;
	display: inline-block;
	width: 150px; 
}

.voconix-voice-select-wrapper select {
	appearance: none;
	width: 100%;
	padding: 10px 40px 10px 40px;
	border: 1px solid #ccc;
	border-radius: 10px;
	background-color: #051937;
	color: white;
	font-size: 16px;
	outline: none;
}

.voconix-voice-select-wrapper .icon-left,
.voconix-voice-select-wrapper .icon-right {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none; /* permet de cliquer sur le select sans bloquer */
}

.voconix-voice-select-wrapper .icon-left {
	left: 10px;
}

.voconix-voice-select-wrapper .icon-right {
	right: 10px;
}

.voconix-voice-select-wrapper .icon-left svg,
.voconix-voice-select-wrapper .icon-right svg {
	width: 16px;
	height: 16px;
	fill:white;
}


.voconix-music-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-top: 20px;
}

.voconix-music-card {
	background-size: cover;
	background-position: center;
	border-radius: 12px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	position: relative;
	overflow: hidden;
	aspect-ratio: 1/1;
}

.voconix-music-card-info {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.5);
	color: white;
	text-align: center;
	font-size: 14px;
	line-height: 1.4;
	padding: 12px;
	border-radius: 12px;
	transition: padding-bottom 250ms;
	padding-bottom: 0px;	
}

.voconix-music-card-info strong {
	display: block;
	font-size: 16px;
	font-weight: 600;
}

.voconix-music-card-info small {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	opacity: 0.85;
}

.voconix-music-card:hover .voconix-music-card-cta,
.voconix-music-card.selected .voconix-music-card-cta{
	bottom: 0;
	opacity: 1;
	transition: opacity 500ms, bottom 250ms;
}

.voconix-music-card:hover .voconix-music-card-info,
.voconix-music-card.selected .voconix-music-card-info{
	padding-bottom: 40px;
}

.voconix-music-card-cta{
	position: absolute;
	bottom: -60px;
	opacity: 0;
	left: 0;
	right: 0;
	padding-top: 5px;
	padding-bottom: 5px;
	background-color: #d4a418;
	color: #051937;
	font-size: 12px;
	text-align: center;
	cursor: pointer;
}

.voconix-music-card-cta svg{
	width: 10px;
	margin-left: 5px;
}

#voconix-build-error{
	margin-top: 40px;
}

.voconix-error{
	text-align: center;
	font-size: 18px;
	color: #ce3b3b;
	position: relative;
	z-index: 1;
	height: 30px;	
}

.voconix-error span{
	position: absolute;
	bottom: -40px;
	left: 0px;
	right: 0px;
	text-align: center;
	transition: all 250ms;
	opacity: 0;	
}

.voconix-error span.show{
	opacity: 1;	
	bottom: 0px;
}

.voconix-demo-play-now-btn{
	width: 100%;
	background-color: #051937;	
	font-size: 22px;
	font-weight: bold;
	text-align: center;
	padding: 20px 0px;
	color: white;
	border-radius: 10px;
	transition:  all 250ms;
	margin-top: 5px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 500ms;
	z-index: 2;
}

.voconix-demo-play-now-btn.ready,
.voconix-demo-play-now-btn.ready:hover {
	background-color: #009c34;
	color: white;
}


.voconix-demo-play-now-btn svg{
	color: inherit;
	height: 30px;
	margin-right: 20px;
}

.voconix-demo-play-now-btn:hover,
.voconix-demo-play-now-btn.loading{
	background-color: #d4a418;	
	color: #051937;	
}

.voconix-spinner {
	width: 24px;
	height: 24px;
	vertical-align: middle;
	animation: spin 1s linear infinite;
	color: white;
}

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