body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('../ImagesN/logback_11.png') no-repeat center center fixed;
    background-size: cover;
}

.banner {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.banner h1 {
    margin: 0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Orbitron', sans-serif;
}
/* Mise en avant du S et R en orange */
.banner .orange {
    color: #FF8C00;
}
/*
.login-btn {
    background: #FFD700;
    color: black;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}
*/

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
}

.lang {
  color: #ffcc00;
  font-weight: bold;
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.lang:hover {
  background-color: rgba(255, 204, 0, 0.2);
}

.lang.active {
  background-color: #ffcc00;
  color: black;
}

.login-btn {
  font-family: 'Raleway', sans-serif;
  background-color: #FFD700;
  color: black;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  animation: pulseZoom 2s infinite ease-in-out;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.login-btn:hover {
  transform: scale(1.1);
}

@keyframes pulseZoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.container {
    display: flex;
    justify-content: flex-start; /* Aligner à gauche */
    align-items: center;
    height: 80vh;
    padding: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.90);
    padding: 25px;
    border-radius: 15px;
    width: 35%;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}
.info-card p {
    text-align: left;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

#flash-info {
    position: fixed;
    top: 100px;
    left: 20px;
    background: rgba(220, 53, 69, 0.95); /* rouge bootstrap */
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
}


.start-btn {
    display: inline-block;
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    padding: 12px 20px;
    margin-top: 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease-in-out, transform 0.2s;
}

.start-btn:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
    transform: scale(1.05);
}

.footer-banner {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.footer-banner .logo {
    height: 80px;
    margin-right: 20px;
}

.footer-banner p {
    flex: 1;
    text-align: center;
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

@keyframes rotate-pause {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(360deg);
    }
    50%, 100% {
        transform: rotate(360deg);
    }
}

.crazy-animation {
    display: inline-block;
    font-weight: bold;
    color: #FFD700;
    animation: rotate-pause 4s infinite;
    transition: color 0.5s ease;
}

/* Style des modales */
.modal {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    margin: auto;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    animation: rotateInModal 0.4s ease-out;
    animation: rotateInModal 0.6s ease-out;
    transform-origin: top center; /* important pour l'axe de rotation */
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomInModal {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateInModal {
    from {
        opacity: 0;
        transform: rotateX(-30deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotateX(0deg) scale(1);
    }
}

.modal h2 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #333;
    font-weight: bold;
    border-bottom: 2px solid #28a745;
    padding-bottom: 5px;
    display: inline-block;
}

.modal label {
    display: block;
    text-align: left;
    margin-top: 12px;
    font-weight: bold;
    color: #555;
}

.modal input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: border 0.3s;
}

.modal input:focus {
    border-color: #28a745;
    outline: none;
    box-shadow: 0px 0px 5px rgba(40, 167, 69, 0.5);
}

.submit-btn {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    border: none;
    padding: 12px 18px;
    margin-top: 15px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s;
    width: 100%;
    font-size: 16px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
    transform: scale(1.05);
}

.modal a.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.modal a.close-modal:hover {
    color: #d9534f;
}