﻿@font-face {
	font-family: '3 of 9 Barcode';
	src: url('../../fonts/3OF9_NEW.TTF') format('truetype')
}

:root {
	--primary-brand-color: #BC75D1; /* SCROLL */
	--primary-brand-color-values: 188,117,209;
	--primary-brand-color-dark: #893EB7; /* ALTITUDE */
	--primary-brand-color-dark-values: 137,62,183;
	--secondary-brand-color: #637FC4; /* cercle bleu autourt du PLAY */
	--start-gradient-color: #3F47A3;
	--via-gradient-color: #E65031;
	--end-gradient-color: #F7E137;
}


body {
	background-image: url(img/background.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	height: 100vh;
}

.featureEnabled {text-shadow: #0F0 1px 0 5px;}
.featureDisabled {color: #ccc}

.text-gradient {
	background: -webkit-linear-gradient(-25deg, var(--start-gradient-color), var(--via-gradient-color), var(--end-gradient-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.card.selected {box-shadow: #9d27bb 0px 0px 12px 2px}

.lighterText {
	color: var(--bs-gray-600)
}

.circle {
	position: absolute;
	border-radius: 50%;
	background: linear-gradient(120deg, #ba75d1, #637fc4);
}



/* Pour l'effet carte bancaire */
#creditcard textarea:focus,
#creditcard input:focus { outline: none; }

.circles {
	position: absolute;
	height: 270px;
	width: 450px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: -1;
}

.circle-1 {
	height: 300px;
	width: 300px;
	top: 100px;
	left: -50px;
	opacity: 0.8;
}

.circle-2 {
	height: 240px;
	width: 240px;
	bottom: 40px;
	right: -100px;
	opacity: 0.8;
}

#creditcard .logo {
	height: 80px;
	width: 100px;
	margin-bottom: 20px;
}

#creditcard.card {
	font-family: "Space Mono", monospace;
	display: flex;
	flex-direction: column;
	height: 280px;
	width: 420px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(35px);
	border: 2px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 80px rgba(0, 0, 0, 0.25);
	padding: 20px 30px 30px 30px;
	overflow: hidden;
}


#creditcard input.card-number {
	font-size: 30px;
	font-family: "Space Mono", monospace;
	width: 100%;
	height: 50px;
	margin-bottom: 40px;
}


#creditcard input.card-number::placeholder {
	color: #cccaca;
	font-size: 30px;
	font-family: "Space Mono", monospace;
}

#creditcard input::placeholder {
	color: #cccaca;
	font-family: "Space Mono", monospace;
}

#creditcard .expiration-date {
	font-family: "Space Mono", monospace;
	padding: 0px 0px 0px 0px;
	margin-right: 60px;
	width: 80px;
	position: relative;
	display: inline-block;
	overflow: hidden;
}


#creditcard .ccv {
	font-family: "Space Mono", monospace;
	padding: 0px 0px 0px 0px;
	margin-right: 0px;
	width: 60px;
	position: relative;
	display: inline-block;
	overflow: hidden;
}

#creditcard input {
	font-family: "Space Mono", monospace;
	border: none;
	font-size: 16px;
	height: 26px;
	color: #ffffff;
	background: 0;
	padding: 0;
	width: 0;
	border-bottom: 1px solid white;
	color: white;
}

#creditcard label {
	color: white;
	font-size: 12px;
	font-weight: normal;
	font-family: "Space Mono", monospace;
	pointer-events: none;
	display: block;
	padding-bottom: 2px;
}

.container2 {
	display: flex;
}

#creditcard input.card-number + .invalid-feedback {
	margin-top: -2.5em;
	margin-bottom: 0.90rem;
}






.cond-icon-touch {
	position: absolute;
	top: 2px;
	left: 5px;
	display: block;
	width: 34px;
	height: 34px;
	/*background-image: url(../../../lib/weather-svg/00.svg); /* //www.wunderground.com/static/i/c/v4/unknown.svg);*/
	background-repeat: no-repeat;
	background-size: 34px 34px
}





/* meteo stuff */
.gradient1 {
	background: -webkit-linear-gradient(45deg, #09009f, #00ff95 80%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.gradient-thermometer {
	background: -webkit-linear-gradient(90deg, #0000ff, #ff0000 80%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	padding:5px 0px;
}


/* pack date */
#carouselDates div.owl-stage-outer {
	/*background: linear-gradient(90deg, rgba(0,0,0,0.38887392241379315) 0%, rgba(3,15,15,0) 8%, rgba(2,11,12,0) 92%, rgba(0,0,0,0.49806932471264365) 100%);*/
	/*background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(3,15,15,0.331402658045977) 8%, rgba(2,11,12,0.33) 92%, rgba(0,0,0,0) 100%);*/
	background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(var(--primary-brand-color-values), 0.33) 8%, rgba(var(--primary-brand-color-values),0.33) 92%, rgba(0,0,0,0) 100%);
}

.owl-carousel .item {
	background-color: #f5f5f5;
	color: #333;
	border-radius: 12px;
	padding: 10px 15px;
	margin: 5px;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
	border: 1px var(--primary-brand-color) solid;
}
.owl-carousel .item.selected {
	background-color: var(--primary-brand-color-dark);
	color: #fff;
	font-weight: bold;
	border: 2px solid var(--primary-brand-color);
}





.form-switch.withtext .form-check-input:checked::before {
	content: 'OUI';
	color:inherit !important;
}
.form-switch.withtext .form-check-input:not(:checked)::before {
	content: 'NON';
	color:white !important;
}



.form-switch.withtext .form-check-input /*:focus*/ {
	border-color: rgba(var(--primary-brand-color-values), 1);
	outline: 0;
	box-shadow: 0 0 0 0 rgba(var(--primary-brand-color-values), 0);
	background-color: white;
	/*background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(0,0,0,0.25)'/></svg>");*/
	background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(188,117,209,1)'/></svg>");
}

.form-switch.withtext .form-check-input:not(:checked) {
	background-color: var(--bs-danger); /*#30D158;*/
	border-color: var(--bs-danger);
	border: none;
	background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(255,255,255,1.0)'/></svg>");
}

/*.form-switch.withtext .form-check-input:focus {
	border-color: #c49fdb;
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgb(var(--bs-danger) / 25%);
}*/




.logo-container img {
	max-height: 125px;
	height: auto;
	margin-right: 15px
}

/*@media (max-width: 600px) {
	.logo-container img {
		max-height: 60px;
		
	}
}*/


@media (max-width: 800px) {
	.logo-container img {
		max-height: 60px;
	}
}

.loading-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.4);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.loading-modal {
	background: #fff;
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.25);
	text-align: center;
	min-width: 300px;
}

.spinner {
	width: 40px;
	height: 40px;
	border: 4px solid #ccc;
	border-top: 4px solid #007bff;
	border-radius: 50%;
	animation: spin 0.7s linear infinite;
	margin: auto;
}

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

	100% {
		transform: rotate(360deg);
	}
}


/* ============================================================
   NV+Claude 2026-04-28 — Alignement Samsung : fondations visuelles communes
   Phase 1 : typographie, boutons, cards
   ============================================================ */

/* Typographie : priorité Segoe UI (alignement Samsung), fallbacks système */
body {
	font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	font-weight: 300;
	letter-spacing: 0.04em;
}

/* Cards uniformisées : mêmes coins arrondis et shadow que Samsung */
.card {
	border-radius: 16px !important;
	border: none;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.card-header, .card-footer {
	border-radius: 16px 16px 0 0 !important;
}
.card-footer {
	border-radius: 0 0 16px 16px !important;
}

/* Card d'action : gros boutons cliquables style Samsung */
.card-action {
	cursor: pointer;
	transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	user-select: none;
}
.card-action:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(137, 62, 183, 0.22);
}
.card-action:active {
	transform: translateY(-1px);
}

/* Boutons primaires avec shadow de marque */
.btn-primary {
	box-shadow: 0 4px 10px rgba(137, 62, 183, 0.30);
}
.btn-primary:hover, .btn-primary:focus {
	box-shadow: 0 6px 16px rgba(137, 62, 183, 0.45);
}

/* Boutons lg : coins arrondis et espacement alignés Samsung */
.btn-lg {
	border-radius: 12px;
	padding: 0.75rem 2rem;
	letter-spacing: 0.05em;
}

/* Spinner : couleur de marque (remplace le bleu générique Bootstrap) */
.spinner {
	border-top-color: var(--primary-brand-color-dark) !important;
}


/* ============================================================
   NV+Claude 2026-04-28 — Alignement Samsung : cartes d'identification
   Portées depuis Hospitality-SelfService-Samsung/Content/themes/zap/styles.css
   Adaptées pour portail captif (mobile-first, hauteurs réduites)
   ============================================================ */

/* Titre de section identification */
.identification-title {
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Grille des cartes d'identification */
.identification-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.25rem;
	margin: 0 auto;
}

@media (min-width: 992px) {
	.identification-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 576px) {
	.identification-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}

/* Carte individuelle */
.identification-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 220px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
}

.identification-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 28px rgba(137, 62, 183, 0.18) !important;
	text-decoration: none;
	color: inherit;
}

/* Corps : centrage du visuel */
.identification-card .card-body {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

/* Footer : label */
.identification-card .card-footer {
	background-color: #f8f9fa;
	border-top: 2px solid #dee2e6;
	padding: 1rem 1.25rem;
	font-weight: 600;
	font-size: 1rem;
	text-align: center;
	color: #495057;
	border-radius: 0 0 16px 16px !important;
}

/* Simulation du bracelet patient */
#samplebarcode {
	width: 100%;
	padding: 0.75rem;
	font-size: 0.8rem;
	line-height: 1.4;
}

/* Points animés pour le code d'activation */
.activation-code {
	display: flex;
	gap: 0.6rem;
	justify-content: center;
	align-items: center;
	font-size: 2.5rem;
	letter-spacing: 0.4rem;
}

.activation-code-cursor {
	animation: blink 1s infinite;
}

@keyframes blink {
	0%, 50% { opacity: 1; }
	51%, 100% { opacity: 0; }
}



/* ============================================
   STYLES POUR LE CODE D'ACTIVATION
   ============================================ */

/* Affichage visuel des chiffres masqués */
.activation-code-display {
	display: flex;
	gap: 20px;
	justify-content: center;
	align-items: center;
	padding: 30px 20px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: 20px;
	border: 3px solid #dee2e6;
	box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

.code-digit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 90px;
	font-size: 4rem;
	color: #dee2e6;
	background-color: white;
	border: 3px solid #dee2e6;
	border-radius: 15px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.code-digit.active {
	border-color: var(--bs-primary);
	box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

.code-digit.filled {
	color: var(--bs-primary);
	border-color: var(--bs-primary);
	background-color: #e7f3ff;
	transform: scale(1.05);
	box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2);
}

/* Input caché mais accessible au clavier virtuel */
.activation-input {
	position: absolute;
	opacity: 0;
	/*pointer-events: none;*/
	height: 1px;
	width: 1px;
}