body {
  font-family: -apple-system, BlinkMacSystemFont, "segoe ui", Verdana, Roboto, "helvetica neue", Arial, sans-serif, "apple color emoji"; 
  font-size: 14px; 
  margin: 0;
}

@font-face {
  font-family: 'fontello';
  src: url('./font/fontello.eot?78273339');
  src: url('./font/fontello.eot?78273339#iefix') format('embedded-opentype'),
       url('./font/fontello.woff?78273339') format('woff'),
       url('./font/fontello.ttf?78273339') format('truetype'),
       url('./font/fontello.svg?78273339#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}
.logo { height: 50px; width: auto; object-fit: contain; }
.separator { width: 2px; height: 50px; background-color: #ccc; display: inline-block; }
.company-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.icon
{
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  margin-left: .2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

iframe  {
  float:left; 
  height:22px; 
  width:100%;
}
.main{
  /* background: rgb(5, 20, 231); */
  background: #024e9f;
  color: #f2f2f2;
  max-width: 370px;
  height: 100%;
  border-radius:5px;
  padding: 10px;
  margin-top: 10%;
  margin-left:auto;
  margin-right:auto;
  transition: 0.3s;
  text-align:center;
  min-height:300px;
  animation: fadein 1s;
  -moz-animation: fadein 1s; /* Firefox */
  -webkit-animation: fadein 1s; /* Safari and Chrome */
  -o-animation: fadein 1s; /* Opera */
}

.box{
  margin-bottom:10px;
  text-align:center;
}

.brand{
  color:#ffffff;
  padding:0px;
  margin:10px;
  font-size:35px;
  border-bottom: solid 2px #fff;
}

/* Formulaire */
.login-section {
  background: white;
  /* width: 100%; */
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  text-align: left;
  /* margin-bottom: 20px; */
}

.username {
  background-color: #FDFBFB;
  /* border: none; */
  border: 1px solid #ddd;
  border-radius:3px;
  /* border-bottom: 1px solid #f2f2f2; */
  /* text-align:center; */
  /* margin-top: 10px; */
  font-size: 16px;
  color: #000000;
  outline: none;
  width: 100%;
  height: 35px;
  /* padding: 5px; */
}
.username:focus {
  border-color: #0F52BA;
} 

label {
  display: block;
  margin-bottom: 5px;
  /* margin-top: 5px; */
  font-size: 0.9rem; 
  font-weight: 600; 
  color: #444; }

.password {
  background-color: #FDFBFB;
  border: none;
  border-radius:0px 0px 3px 3px;
  border-top: 1px solid #f2f2f2;
  text-align:center;
  font-size: 16px;
  color: #000000;
  outline: none;
  width: 100%;
  /* height: 35px; */
}

.btn-connect {
    width: 100%;
    padding: 12px;
    background-color: #0F52BA;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 12px;
}
.btn-connect:hover { background-color: #024e9f; }

.button1 {
  background-color: #8fee0c;
  background-image: linear-gradient(#8fee0c, #e6e6e6, #8fee0c);
  border: none;
  border-radius:10px;
  color: #595959;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  width: 100%;
  /* height: 40px; */
  padding: 12px;
}
.button1:hover{
  font-weight:bold;
  box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.button2 {
  background-color: #d32f2f;
  background-image: linear-gradient(#d32f2f, #e6e6e6, #d32f2f);
  border: none;
  border-radius:10px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  width: 80%;
  height: 40px;
}
.button2:hover{
  font-weight:bold;
  box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.button3 {
  background-color: #39ffd4;
  background-image: linear-gradient(#39ffd4, #e6e6e6, #39ffd4);
  border: none;
  border-radius:10px;
  color: #595959;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  width: 80%;
  height: 40px;
}
.button3:hover{
  font-weight:bold;
  box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


.small-button {
  background-color: #d9d9d9;
  background-image: linear-gradient(#d9d9d9, #e6e6e6, #d9d9d9);
  border: none;
  border-radius:10px;
  color: #595959;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  height: 30px;
  width : 49%;
}

.notice{
  background-color:#fff8e1;
  border-radius:10px;
  padding:5px;
  margin-bottom:10px;
  font-size:14px;
  color: #000;
}
.table {
  width: 100%;
  border-collapse: collapse !important;
}
.table td,
.table th {
  padding: 5px;
  border: 1px solid #f2f2f2 !important;
  color:  #f3f4f5;
}

.table td, th, a{
  color: #f3f4f5;
  text-decoration: none;
}

.table2 {
  width: 100%;
  border-collapse: collapse !important;
  background-color: #fff;
  text-align:left;
}
.table2 td,
.table2 th {
  padding: 5px;
  border: 1px solid #000 !important;
}

.table2 td, th, a{
  color: #000;
  text-decoration: none;
}

.slider-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 10px;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    /* Très important pour cacher les images qui attendent sur les côtés */
    overflow: hidden; 
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; 
    left: 0;
    
    /* REMPLACEMENT ICI */
    transform: translateX(100%); /* L'image attend à droite */
    transition: transform 0.8s ease-in-out; /* On anime le transform */
}

/* L'image active revient au centre */
.slider-img.active {
    transform: translateX(0);
}

/* Optionnel : L'image qui sort part vers la gauche */
.slider-img.exit {
    transform: translateX(-100%);
}

.gift-text { font-size: 1rem; color: #fff; padding: 0 10px; }

.purchase-block {
    text-align: center;
    font-size: 0.95rem;
    margin-top: 15px;
    padding: 15px;
    background-color: #e9f2ff;
    border-radius: 8px;
    border: 1px dashed #b8daff;
    color: #595959;
}

.purchase-block a { color: #0F52BA; text-decoration: none; font-weight: bold; }

footer {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    font-size: 0.8rem;
    color: #1e1e1e;
}

@keyframes fadein {
  from {opacity:0;}
  to {opacity: 1;}
}
@-moz-keyframes fadein { /* Firefox */
  from {opacity:0;}
  to {opacity: 1;}
}
@-webkit-keyframes fadein { /* Safari and Chrome */
  from {opacity:0;}
  to {opacity: 1;}
}
@-o-keyframes fadein { /* Opera */
  from {opacity:0;}
  to {opacity: 1;}
}

/* @media */
@media screen and (max-width: 600px) {
  .main{
	width:90%;
    margin-top: 10%;
}}

/* @media */
@media screen and (min-width: 600px) {
  .main{
	margin-top: 2%;
}}
