/* Retirer toute trace du header */
#sr-chat-header {
    display: none !important;
}

/* Conteneur global du chat */
#sr-chat-container {
    background: rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(4px);
    padding: 15px;
    border-radius: 20px;
}

/* Crédits restants */
#sr-credits-area {
    font-weight: bold;
    color: #FFCC00;
    margin-bottom: 8px;
}

/* Zone du chat */
#sr-chat-window {
    height: 350px;
    overflow-y: auto;
    padding: 10px;
    background: transparent;
    color: white;
}

/* Bulles */
.sr-msg-ai,
.sr-msg-user {
    padding: 12px 16px;
    margin: 8px 0;
    max-width: 85%;
    border-radius: 12px;
    line-height: 1.5;
    color: white;
}

.sr-msg-ai {
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #FFCC00;
}    

.sr-msg-user {
    background: rgba(255, 204, 0, 0.15);
    border-right: 3px solid #FFCC00;
    text-align: right;
}

/* Bulle de rédaction */
.sr-typing {
    opacity: 0.8;
    font-style: italic;
}

/* Champ de saisie */
#sr-user-input {
    flex: 1;
    height: 55px;
    background: transparent;
    color: #fff;
    border: 1px solid #FFCC00;
    border-radius: 10px;
    padding: 10px 14px;
}

/* Le conteneur réel du champ + bouton */
#sr-input-area {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100% !important;
    gap: 10px;
}


#sr-user-input {
    flex-grow: 1 !important;
}


/* Bouton déjà OK mais pour rappel : */
#sr-send-btn {
    background: #FFCC00;
    color: #000;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 14px 26px !important;
    font-size: 18px;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Conteneur du CTA */
.locked-cta {
    text-align: center;
    margin-top: 15px;
    font-style: italic;
}

/* Bouton Acheter des crédits */
.buy-credits-btn {
    display: inline-flex;             /* Permet le centrage vertical */
    justify-content: center;          /* Centre horizontalement */
    align-items: center;              /* Centre verticalement */
    padding: 10px 20px;
    background: #FFCC00;
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none !important; /* Supprime soulignement */
    border: none;
    cursor: pointer;
    margin-top: 10px;
    font-size: 14px;
    transition: transform 0.15s ease, background 0.15s ease;
}

/* Effet hover */
.buy-credits-btn:hover {
    background: #e6b800;
    transform: translateY(-2px);
}

