#chat-box {
  margin-top: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  max-width: 600px;
  background: #fafafa;
}
#chat-messages {
  height: 200px;
  overflow-y: auto;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}
#chat-input {
  width: 80%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
#send-btn {
  padding: 8px 12px;
  background: #e91e63;
  border: none;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}
.profils-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colonnes */
  gap: 20px;
  margin: 40px auto;
  max-width: 1200px;
}

.profil-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  text-align: center;
  padding: 15px;
  transition: transform 0.2s ease-in-out;
}

.profil-card:hover {
  transform: translateY(-5px);
}

.profil-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.btn-profil {
  display: inline-block;
  background: #ff4d6d;
  color: white;
  padding: 8px 14px;
  margin-top: 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-profil:hover {
  background: #d6336c;
}
/* ✅ Animation sticker confirmation */
.sticker-sent {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #4CAF50;
    color: white;
    font-size: 22px;
    padding: 10px 14px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    animation: popin 0.3s ease;
    z-index: 9999;
}

@keyframes popin {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

#chat-container {
    width: 400px;
    max-height: 500px;
    border: 1px solid #ccc;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

#chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background: #f4f6f9;
}

.message {
    margin: 5px 0;
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 80%;
}

.user.message {
    background: #007bff;
    color: #fff;
    align-self: flex-end;
}

.bot.message {
    background: #e4e6eb;
    color: #000;
    align-self: flex-start;
}

.date {
    font-size: 10px;
    opacity: 0.6;
    margin-right: 5px;
}

#chat-input-container {
    display: flex;
    border-top: 1px solid #ccc;
}

#chat-input {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 14px;
}

#send-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 0 15px;
    cursor: pointer;
}

#send-btn:hover {
    background: #0056b3;
}

.sticker-sent {
    position: fixed;
    bottom: 50px;
    right: 50px;
    font-size: 24px;
    color: green;
    animation: fadeOut 1.5s forwards;
}

@keyframes fadeOut {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(2); }
}
