/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[7].use[3]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[13].oneOf[7].use[4]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[13].oneOf[7].use[5]!./src/app/components/ChatLauncher.module.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
.ChatLauncher_fab__kSJJZ {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: #F2D6BD;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 2147483646;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ChatLauncher_fab__kSJJZ img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.ChatLauncher_fab__kSJJZ:hover {
  background: rgb(235.2860759494, 192.8253164557, 154.9139240506);
  transform: scale(1.05);
  transition: 0.2s ease;
}
/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --background: #ffffff;
  --foreground: #171717;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

@media (prefers-color-scheme: dark) {
  html {
    color-scheme: dark;
  }
}

button{
  flex: 0 0 auto;
  white-space: nowrap;
  cursor: pointer;
}
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[13].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Geist","arguments":[{"variable":"--font-geist-sans","subsets":["latin"]}],"variableName":"geistSans"} ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/8d697b304b401681-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/ba015fad6dcf6784-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/4cf2300e9c8272f7-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Geist Fallback';src: local("Arial");ascent-override: 95.94%;descent-override: 28.16%;line-gap-override: 0.00%;size-adjust: 104.76%
}.__className_188709 {font-family: 'Geist', 'Geist Fallback';font-style: normal
}.__variable_188709 {--font-geist-sans: 'Geist', 'Geist Fallback'
}

/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[13].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Geist_Mono","arguments":[{"variable":"--font-geist-mono","subsets":["latin"]}],"variableName":"geistMono"} ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/9610d9e46709d722-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/747892c23ea88013-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/93f479601ee12b01-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Geist Mono Fallback';src: local("Arial");ascent-override: 74.67%;descent-override: 21.92%;line-gap-override: 0.00%;size-adjust: 134.59%
}.__className_9a8899 {font-family: 'Geist Mono', 'Geist Mono Fallback';font-style: normal
}.__variable_9a8899 {--font-geist-mono: 'Geist Mono', 'Geist Mono Fallback'
}

/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[7].use[3]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[13].oneOf[7].use[4]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[13].oneOf[7].use[5]!./src/app/components/ChatWidget.module.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
/* Accessibilité: utilitaire écran lecteur */
.ChatWidget_srOnly__JSjM0 {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/* Animation des trois points "typing" */
@keyframes ChatWidget_typing-bounce__Xpzae {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
.ChatWidget_typing__i4OLU {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 18px;
}

.ChatWidget_dot___MaGu {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #F2D6BD;
  box-shadow: 0 0 8px rgba(242, 214, 189, 0.5);
  animation: ChatWidget_typing-bounce__Xpzae 1.2s infinite ease-in-out;
}
.ChatWidget_dot___MaGu:nth-child(2) {
  animation-delay: 0.15s;
}
.ChatWidget_dot___MaGu:nth-child(3) {
  animation-delay: 0.3s;
}

/* (Optionnel) spinner sur le bouton Send pour cohérence */
@keyframes ChatWidget_spin__YWQtS {
  to {
    transform: rotate(360deg);
  }
}
.ChatWidget_sendBtn__e6JIp:disabled {
  position: relative;
}

.ChatWidget_sendBtn__e6JIp:disabled::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-top-color: #000;
  border-radius: 50%;
  animation: ChatWidget_spin__YWQtS 0.8s linear infinite;
}

/* Variante dorée du spinner */
.ChatWidget_sendBtn__e6JIp::after {
  border-color: rgba(242, 214, 189, 0.5);
  border-top-color: #F2D6BD;
}

.ChatWidget_container__8EAaz {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 420px;
  height: 560px;
  background: #fff;
  border: 1px solid #F2D6BD;
  border-radius: 20px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  z-index: 2147483647;
  overflow: hidden;
}
@media (max-width: 540px) {
  .ChatWidget_container__8EAaz {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    height: 60vh;
  }
}

.ChatWidget_header__oj4zM {
  height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid rgb(250.3924050633, 240.4683544304, 231.6075949367);
  background: linear-gradient(90deg, #F2D6BD 0%, #d9b48c 100%);
  color: #fff;
}
.ChatWidget_header__oj4zM .ChatWidget_title__ubVcP {
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
}
@media (max-width: 768px) {
  .ChatWidget_header__oj4zM .ChatWidget_title__ubVcP {
    font-size: 14.4px;
  }
}
@media (max-width: 425px) {
  .ChatWidget_header__oj4zM .ChatWidget_title__ubVcP {
    font-size: 12.8px;
  }
}
@media (max-width: 320px) {
  .ChatWidget_header__oj4zM .ChatWidget_title__ubVcP {
    font-size: 12px;
  }
}
.ChatWidget_header__oj4zM .ChatWidget_closeBtn__tbeDR {
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
  transition: 0.2s ease;
}
.ChatWidget_header__oj4zM .ChatWidget_closeBtn__tbeDR:hover {
  transform: scale(1.1);
}

.ChatWidget_messages__h6eEk {
  flex: 1 1;
  overflow-y: auto;
  padding: 14px;
  background: #fffaf5;
}

.ChatWidget_bubble__5oEMc {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  margin: 6px 0;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.35;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.ChatWidget_user__QHpVV {
  align-self: flex-end;
  margin-left: auto;
  background: #F2D6BD;
  color: #000;
  border-top-right-radius: 4px;
}

.ChatWidget_assistant__RwIi9 {
  align-self: flex-start;
  margin-right: auto;
  background: #fff;
  border: 1px solid #F2D6BD;
  color: #111827;
  border-top-left-radius: 4px;
}

.ChatWidget_attachment__fG_jn {
  margin-top: 6px;
}
.ChatWidget_attachment__fG_jn a {
  font-size: 13px;
  color: #d9b48c;
  text-decoration: underline;
}
.ChatWidget_attachment__fG_jn a:hover {
  color: rgb(204.3333333333, 155, 101.6666666667);
}

.ChatWidget_audio__UWqlf {
  margin-top: 8px;
}
.ChatWidget_audio__UWqlf audio {
  width: 100%;
}

.ChatWidget_inputWrap__iEFV1 {
  border-top: 1px solid rgb(252.0708860759, 245.7620253165, 240.1291139241);
  padding: 10px;
  display: flex;
  gap: 8px;
  background: #fff;
}

.ChatWidget_textarea__yH84O {
  flex: 1 1;
  resize: none;
  border-radius: 12px;
  border: 1px solid #F2D6BD;
  padding: 10px 12px;
  outline: none;
  font-size: 14px;
  color: #111827;
}
.ChatWidget_textarea__yH84O:focus {
  border-color: #d9b48c;
  box-shadow: 0 0 0 3px rgba(242, 214, 189, 0.25);
}
.ChatWidget_textarea__yH84O:disabled {
  background: #f9f9f9;
  color: #888;
}

.ChatWidget_sendBtn__e6JIp {
  border: none;
  background: #F2D6BD;
  color: #000;
  border-radius: 12px;
  padding: 0 18px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}
.ChatWidget_sendBtn__e6JIp:hover {
  background: #d9b48c;
  color: #fff;
}
.ChatWidget_sendBtn__e6JIp:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ChatWidget_error__dYfJ5 {
  padding: 6px 10px;
  color: red;
  font-size: 12px;
  border-top: 1px solid rgb(254.5886075949, 253.7025316456, 252.9113924051);
  background: #fff;
}
