* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    color: #000;
}

.container {
    display: flex;
    max-width: 1000px;
    margin: auto;
    height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-section img {
    width: 100%;
    max-width: 400px;
    height: auto;
    max-height: 80vh;
    border-radius: 10px;
    object-fit: cover;
}

@media screen and (min-width: 1200px) {
    .image-section img {
        max-width: 350px;
    }
}

.form-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.form-box, .signup-box {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.logo {
    font-family: 'Georgia', serif;
    font-size: 28px;
    margin-bottom: 50px;
    white-space: nowrap !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.logo i {
    font-size: 36px !important;
    color: #F29D35 !important;
    animation: bounce 2s infinite !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.logo span {
    white-space: nowrap;
}

form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: black;
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}


button {
    width: 100%;
    padding: 10px;
    background-color: #F29D35;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #c96a14;
}

.separator {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.separator div {
    flex: 1;
    height: 1px;
    background: #ccc;
}


.separator span {
    margin: 0 10px;
    font-size: 12px;
    color: #999;
}

.facebook-login {
    color: #0095f6;
    text-decoration: none;
    font-weight: bold;
    display: block;
    margin-top: 30px;
}

.forgot-password {
    color: #999;
    font-size: 12px;
    margin-top: 20px;
    display: block;
}

.signup-box {
    margin-top: 20px;
    text-align: center;
}

.signup-box p {
    margin-bottom: 5px;
}

.signup-box a {
    color: #0095f6;
    text-decoration: none;
}

/* --- Fenêtre d'accueil (présentation Basket Link) --- */
.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: welcomeModalFadeIn 0.25s ease-out;
}

.welcome-modal.is-hidden {
  display: none;
}

.welcome-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.welcome-modal-box {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(242, 157, 53, 0.2);
  max-width: 440px;
  width: 100%;
  padding: 28px 24px;
  border: 1px solid rgba(242, 157, 53, 0.3);
}

.welcome-modal-title {
  font-size: 1.25rem;
  color: #1a1a1a;
  margin-bottom: 14px;
  padding-right: 28px;
  font-weight: 700;
}

.welcome-modal-text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.55;
  margin-bottom: 12px;
}

.welcome-modal-text:last-of-type {
  margin-bottom: 20px;
}

.welcome-modal-link {
  color: #F29D35;
  font-weight: 600;
  text-decoration: underline;
}

.welcome-modal-link:hover {
  color: #c96a14;
}

.welcome-modal-btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background: #F29D35;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.welcome-modal-btn:hover {
  background: #c96a14;
}

@keyframes welcomeModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Responsive --- */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 10px;
    }

    .image-section {
        display: none;
    }

    .form-box, .signup-box {
        max-width: 100%;
    }
}

