@media screen 
and (min-device-width: 1200px) 
and (-webkit-min-device-pixel-ratio: 1) { 
}
@media 
(max-device-width: 1280px) 
and (orientation: landscape)
and (-webkit-min-device-pixel-ratio: 2) { 
}
@media print {
	html{
		background-color: white;
		color: black;
	}
	.no_print{
		display: none;
	}
}

html {
    width: 100%;
    max-width: 100vw; /* Force à ne jamais dépasser la largeur de la vue */
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Coupe ce qui dépasse visuellement */
}

body {
    width: 100%;
    margin: 0;
}


/*html{
	margin-left: 5px;
	margin-right: 5px;	
	width: 1200px;
	max-width: 100%;
	margin: auto;
}
body {
	width: 100%;
	margin: auto;
}*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
input[type="text"], input[type="date"], input[type="password"], input[type="number"], input[type="email"], input[type="tel"], input[type="submit"], input[type="search"]{
	border-radius: 6px;
}
input[type="number"]{
	width: 30px;
}
input[type="text"] {
/*	width: 100%;*/
padding: 0 5px 0 5px;
}

form{
	margin-bottom: 0;
}
input[type="submit"], button[type="submit"]{
	display: inline-block;
	border: 2px outset;
	border-radius: 6px;
	padding:5px 10px;
	cursor: pointer;
}


/* S'applique uniquement au survol des boutons ACTIFS */
input[type="submit"]:not(:disabled):hover, 
button[type="submit"]:not(:disabled):hover, 
.btn-nav:not(:disabled):hover, 
#form_profil:not(:disabled):hover {
    background-color: #6e4874; /* Votre couleur violette */
    color: white;
    cursor: pointer;
    border-color: #333;
}
/* Style visuel pour les boutons bloqués */
input:disabled, button:disabled, .btn-nav:disabled {
    background-color: #eceeef !important;
    color: #818a91 !important;
    border-color: #d1d7dc !important;
    opacity: 0.6;
    cursor: not-allowed !important;
    pointer-events: none; /* Empêche techniquement toute interaction */
}



input[type="email"], input[type="password"],input[type="date"], input[type="text"]{
	margin-top: 5px;
}

input[type="checkbox"], input[type="submit"]{cursor: pointer;}
input#submit_modif{margin-left: 3px;margin-top: 2px;}

h3{color: #7b1c8d;}


#bienvenue{
	margin: auto;
	text-align: center;
	margin-bottom: 10px;
}
.incorrect{
	border: 2px solid red;
	margin: auto;
	color: red;
	font-weight: bold;
	background-color:yellow;
	text-align: center;
	margin-bottom: 5px;
}
#container-top{
	position: sticky;
	top: 0;
/*	border: 2px red solid;*/
/*	margin-right: 30px;*/
background-color: white;
}
.grid-container {
	display: grid;
	grid-template-columns: .7fr 1.4fr 3.5fr .85fr 3.85fr 1.1fr .75fr ;	
	grid-gap: 2px;
	background-color: black;
/*	padding: 1px;*/
/*	margin: 20px 20px 0px 20px;*/
border: 3px solid black;
}
.grid-container > div {
	background-color: #b481bd;
	text-align: center;
	padding: 20px 0;
	font-size: 20px;
	font-weight: bold;
}


.discontinue{
	background-color: pink;
}


.grid-container-prise-inventaire {
	display: grid;
	grid-template-columns: 75px 85px auto 200px 110px 585px;
	grid-gap: 2px;
	background-color: black;
/*	padding: 1px;*/
/*	margin: 20px 20px 0px 20px;*/
border: 3px solid black;
}
.grid-container-prise-inventaire > div {
	background-color: #b481bd;
	text-align: center;
	padding: 20px 0;
	font-size: 20px;
	font-weight: bold;
}

.grid-container-ventes {
	display: grid;
	grid-template-columns: 75px 85px auto 110px 75px 175px;
	grid-gap: 2px;
	background-color: black;
/*	padding: 1px;*/
/*	margin: 20px 20px 0px 20px;*/
border: 2px solid ;
}
.grid-container-ventes > div {
	background-color: #b481bd;
	text-align: center;
	padding: 10px;
	font-size: 20px;
	font-weight: bold;
	border: 1px solid;
}

.grid-container-depot {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 2px;
	background-color: black;
/*	padding: 1px;*/
/*	margin: 20px 20px 0px 20px;*/
border: 2px solid ;
}
.grid-container-depot > div {
	background-color: #b481bd;
	text-align: center;
	padding: 10px;
	font-size: 20px;
	font-weight: bold;
	border: 1px solid;
}

#banniere{
	position: sticky;
	top: 0;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 3fr 1fr 1fr 1fr;
	grid-column-gap: 10px;
	background-color: white;
	margin-top:10px;
	margin-bottom:10px;
}

#sticky2{
	position: sticky;
	top: 40px;
/*	border: 1px solid;*/

}
#banniere_bas{
	background-color: lavender;
	margin:0;
	padding: 20px;
	border-radius: 20px;
	border: 2px solid;
	text-align: left;
}
.inside_banniere{
	place-self: center;
}
#boite_source{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	margin-top: 20px;
}
#boite_doit_etre_connecte{
	border: 5px ridge;
	width: 600px;
	margin: auto;
	margin-top:50px;
	padding: 20px;
	font-size:25px;
}

.boite_form{
	margin: 20px 0 20px 20px;
	background-color:#f1efef;
	padding: 20px;
	border-radius: 20px;
}
.boite_form h1{margin-top: 0;}
.submit_page{
	margin-bottom: 20px;
}
.margin_right{
	margin-right: 20px;
}
.red{
	color: red;
	font-weight: bold;
	border-color: red;
}
.green{
	color: green;
	font-weight: bold;
	border-color: green;
}
.boite{
	border: 3px solid;
	border-radius: 20px;
	background-color: lightgrey;
	padding: 20px;
	margin-bottom: 20px;
}
#message{
	width: 30%;
	font-weight: bold;
	border: 3px ridge;
	border-radius: 10px;
	text-align: center;
	padding: 5px;
	margin-bottom: 20px;
	position: fixed;
	top : 200px;
	left : 600px;
}
.sucess{background-color: green;}
.failure{background-color: red;}
#language_form{
	position: absolute;
	right:60px;
	top: 10px;
}

.satsang_celeb, .satsang_special{
	font-weight: bold;
}
.satsang_famille{
	font-weight: bold;
	color: purple;
}
.shree_guru_gita{
	font-weight: bold;
	color: orangered;
}
#boite_lang{
	text-align: left;
	margin-left: 30px;
}

.boite_titre{
	border-style: solid;
	border-width: 2px 0px 2px 2px;
	text-align: center;
	padding: 5px 0;
	/*line-height: 30px;*/
	/*align-self: center;*/
	/*height: 40px;*/
	/*display: inline-block;*/
}
.case_droite{
	border-right: 2px solid;
	/*background-color: yellow;*/
}
#inscrit{
	margin-top: 18px;
	margin-bottom: 6px;
	border-bottom: 2px solid;
	font-weight: bold;
	font-size: large;
	color:royalblue;
}
.inscription_accepte{
	border: 2px solid green;
	color: green;
}
.deja_inscrit{
	border: 2px solid red;
	color: red;
}
.hide{
	position :fixed;
	top: 90px;
	left: 200px;
	border-radius: 6px;
	width: 300px;
	text-align: center;
	background-color: yellow;
	padding: 5px;
	font-size:x-large;
	font-weight: bold;

/*	transition-property: opacity;
	transition-duration:5s;*/

	-webkit-animation: HideMe 2s forwards; 
	animation: HideMe 2s forwards;
}
@keyframes HideMe {
	0%   {opacity: 1;}
	99.99%  {opacity: 1;}
	100% {opacity: 0;}
}
@-webkit-keyframes HideMe {
	0%   {opacity: 1;}
	99.99%  {opacity: 1;}
	100% {opacity: 0;}
}
.yva{
	width: 320px;
	display: inline-block;
}

#bloc_recherche{
/*	border: 1px solid red;*/
display: grid;
grid-template-columns: .5fr .3fr .3fr .3fr 1.1fr;
grid-column-gap:2px;
background-color: white;
margin-top: 3px;
padding-bottom: 3px;
}
#bloc_recherche > div{
/*	border: 1px solid green;*/
}


.btn-nav, #form_profil, .inside_banniere input[type="submit"], .inside_banniere button {
	display: inline-block;
	text-decoration: none;
	appearance: none;
	background-color: #efefef; /* Gris clair standard des boutons */
	color: black;
	padding: 4px 12px;
	border: 1px solid #767676; /* Bordure grise standard */
	border-radius: 2px;
	font-size: 13.3px; /* Taille standard des inputs */
	font-family: Arial;
	cursor: pointer;
	vertical-align: middle;
	text-align: center;
	box-sizing: border-box;
}

.btn-nav:hover, input[type="submit"]:hover, #form_profil:hover {
	background-color:#ceb4d3 ; /* Gris plus foncé */
	border-color: #333;        /* Bordure plus sombre */
	color: #000;               /* Texte bien noir */
}
.item-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #925fb9; 
    border: 1px solid #767676; 
    border-radius: 10px; 
    padding: 0; /* On enlève le padding ici */
    height: 60px;
    transition: background 0.3s;
}

.item-grid a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white; /* Texte en blanc sur fond violet c'est plus lisible */
    font-weight: bold;
}

.item-grid:hover {
    background-color: #7a4da3; /* Un peu plus foncé au survol */
}
