/**
 * RadioInternet Créateur de vidéos promo — styles.
 * Charte « Affiche » du site : fond noir, néon rouge,
 * texte blanc, accents bleu électrique/cyan et doré.
 * Contrôles grands et tactiles (le titulaire travaille
 * à l’iPhone). Chargée seulement où l’outil paraît.
 */

.rint-cv {
	background: #0a0a0e;
	border: 1px solid #2a2a33;
	border-top: 3px solid #ff2040;
	border-radius: 14px;
	color: #f2f2f4;
	padding: 1.1rem;
	margin: 1rem 0;
	font-family: inherit;
}

.rint-cv-intro {
	font-size: 1.02rem;
	line-height: 1.5;
	margin: 0 0 1rem;
}

.rint-cv-alerte {
	background: #2a0d12;
	border: 1px solid #ff2040;
	border-radius: 10px;
	color: #ffd7dd;
	padding: 0.8rem 1rem;
	line-height: 1.5;
}

.rint-cv-grille {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.2rem;
}

@media (min-width: 900px) {
	.rint-cv-grille {
		grid-template-columns: minmax(320px, 460px) 1fr;
		align-items: start;
	}
}

.rint-cv-champ {
	display: block;
	margin: 0 0 0.95rem;
}

.rint-cv-champ > span {
	display: block;
	font-weight: 700;
	margin-bottom: 0.35rem;
	color: #ffffff;
}

.rint-cv-champ select,
.rint-cv-champ input[type="text"],
.rint-cv-champ textarea {
	width: 100%;
	box-sizing: border-box;
	background: #141419;
	border: 1px solid #3a3a46;
	border-radius: 9px;
	color: #ffffff;
	font-size: 1rem;
	padding: 0.65rem 0.7rem;
	font-family: inherit;
}

.rint-cv-champ textarea {
	line-height: 1.45;
	resize: vertical;
}

.rint-cv-champ input[type="range"] {
	width: 100%;
	box-sizing: border-box;
	accent-color: #ff2040;
	height: 2rem;
	cursor: pointer;
}

.rint-cv-aide {
	display: block;
	color: #9aa0ae;
	font-size: 0.86rem;
	font-weight: 400;
	line-height: 1.45;
	margin-top: 0.35rem;
}

.rint-cv-champ select:focus,
.rint-cv-champ input[type="text"]:focus {
	border-color: #22d3ee;
	outline: 2px solid rgba(34, 211, 238, 0.35);
}

.rint-cv-champ input[type="file"] {
	width: 100%;
	box-sizing: border-box;
	background: #141419;
	border: 1px dashed #3a3a46;
	border-radius: 9px;
	color: #cfd2dc;
	font-size: 0.95rem;
	padding: 0.6rem 0.7rem;
}

.rint-cv-case {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	background: #101016;
	border: 1px solid #26262f;
	border-radius: 9px;
	padding: 0.65rem 0.7rem;
}

.rint-cv-case input[type="checkbox"] {
	width: 1.35rem;
	height: 1.35rem;
	margin-top: 0.15rem;
	accent-color: #ff2040;
	flex: none;
}

.rint-cv-case > span {
	font-weight: 400;
	font-size: 0.94rem;
	line-height: 1.45;
	margin: 0;
}

.rint-cv-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin: 1.1rem 0 0.4rem;
}

.rint-cv-bouton {
	appearance: none;
	border: 1px solid #22d3ee;
	background: #0d2530;
	color: #aeeefc;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 700;
	padding: 0.75rem 1.25rem;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
}

.rint-cv-bouton:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.rint-cv-bouton-fabriquer {
	background: #ff2040;
	border-color: #ff2040;
	color: #ffffff;
	box-shadow: 0 0 18px rgba(255, 32, 64, 0.45);
}

.rint-cv-bouton-telecharger {
	background: #123a18;
	border-color: #ffd34d;
	color: #ffe9a8;
	margin-top: 0.7rem;
}

.rint-cv-progres {
	position: relative;
	background: #141419;
	border: 1px solid #3a3a46;
	border-radius: 999px;
	height: 1.6rem;
	overflow: hidden;
	margin-top: 0.8rem;
}

.rint-cv-progres-barre {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	background: linear-gradient(90deg, #b30f2c, #ff2040);
	transition: width 0.2s linear;
}

.rint-cv-progres span {
	position: relative;
	display: block;
	text-align: center;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.6rem;
	color: #ffffff;
}

.rint-cv-message {
	min-height: 1.4em;
	line-height: 1.5;
	color: #aeeefc;
	margin: 0.7rem 0 0;
}

.rint-cv-resultat video {
	width: 100%;
	max-height: 60vh;
	background: #000;
	border: 1px solid #3a3a46;
	border-radius: 10px;
	margin-top: 0.8rem;
}

.rint-cv-apercu {
	text-align: center;
}

.rint-cv-apercu canvas {
	width: auto;
	max-width: 100%;
	max-height: 70vh;
	aspect-ratio: auto;
	background: #000;
	border: 1px solid #2a2a33;
	border-radius: 12px;
	box-shadow: 0 0 26px rgba(255, 32, 64, 0.18);
}

.rint-cv-apercu-note {
	color: #9aa0ae;
	font-size: 0.88rem;
	line-height: 1.45;
	margin-top: 0.55rem;
}
