:root {
  --wenjoy-orange: #F68409;
  --wenjoy-dark: #222;
  --wenjoy-light: #fafafa;
}
.chat-toggle {
  position: fixed; bottom: 25px; right: 25px; background-color: var(--wenjoy-orange); color: #fff; border: none; border-radius: 50%; width: 50px; height: 50px; font-size: 26px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.25); transition: all 0.3s ease; z-index: 999;
}
.chat-toggle:hover { transform: scale(1.05); }
.chat-options {
  position: fixed; bottom: 100px; right: 25px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; z-index: 999; pointer-events: none;
}
.chat-option {
  display: flex; align-items: center; background: #fff; border-radius: 50px; padding: 10px 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); font-size: 15px; font-weight: 500; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; opacity: 0; transform: translateY(15px);
}
.chat-options.active { pointer-events: auto; }
.chat-options.active .chat-option { opacity: 1; transform: translateY(0); }
.chat-options.active .chat-option:nth-child(1) { transition-delay: 0.1s; }
.chat-options.active .chat-option:nth-child(2) { transition-delay: 0.2s; }
.chat-option i { font-size: 20px; margin-right: 10px; }
.chat-option:hover { background-color: var(--wenjoy-orange); color: white; transform: translateX(-5px); }
.chat-option.whatsapp:hover { background-color: #25D366; }

.chat-box {
  display: none; position: fixed; bottom: 100px; right: 20px; width: 340px; max-width: 90%; height: 450px; background: #fff; border-radius: 15px; box-shadow: 0 8px 20px rgba(0,0,0,0.2); z-index: 9999; animation: fadeIn 0.4s ease; display: flex; flex-direction: column;
}
.chat-header {
  background-color: var(--wenjoy-orange); color: #fff; padding: 10px 15px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0;
}
.online-status { display: flex; align-items: center; }
.online-status span {
  width: 10px; height: 10px; border-radius: 50%; margin-right: 8px;
  background: #39FF14;
  box-shadow: 0 0 8px #39FF14, 0 0 12px rgba(57, 255, 20, 0.7);
}
.close-chat-btn { background: transparent; border: none; color: white; font-size: 22px; cursor: pointer; }

.chat-content-wrapper { position: relative; flex-grow: 1; display: flex; flex-direction: column; overflow: hidden; }
.chat-body { padding: 15px; overflow-y: auto; background: var(--wenjoy-light); flex-grow: 1; }
.chat-footer { display: flex; align-items: center; padding: 10px; border-top: 1px solid #eee; background: #fff; flex-shrink: 0; position: relative; }
.pre-chat-form, .confirmation-prompt, .feedback-form, .thank-you-message { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--wenjoy-light); z-index: 100; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px; }

.pre-chat-form img { width: 80px; margin-bottom: 15px; }
.chat-message, .chat-footer input { font-size: 15px; }
.chat-message { background: #e9ecef; border-radius: 12px; padding: 8px 12px; margin-bottom: 8px; width: fit-content; max-width: 85%; text-align: left; }
.chat-message.user { margin-left: auto; background-color: #D9FDD3; }
.chat-footer input { flex: 1; border-radius: 20px; border: 1px solid #ddd; padding: 8px 12px; outline: none; }
input#chatInput {
    width: 100%;
}
.smiley { font-size: 24px; cursor: pointer; margin-right: 8px; color: #6c757d; }
.emoji-picker { display: none; flex-wrap: wrap; justify-content: center; gap: 8px; background: #f9f9f9; padding: 10px; border-radius: 10px; position: absolute; bottom: 55px; left: 10px; width: calc(100% - 20px); box-shadow: 0 -4px 10px rgba(0,0,0,0.1); z-index: 1001; }
.emoji-picker span { font-size: 24px; cursor: pointer; transition: transform 0.2s; }
.emoji-picker span:hover { transform: scale(1.2); }
.quick-questions button { background: #f1f1f1; border: none; border-radius: 20px; padding: 8px 18px; margin: 4px; font-size: 13px; transition: all 0.2s ease; cursor: pointer; }
.quick-questions button:hover { background-color: var(--wenjoy-orange); color: white; }
.feedback-form p { font-weight: 500; }
.feedback-form .stars { margin-bottom: 15px; }
.feedback-form i { font-size: 30px; cursor: pointer; margin: 0 5px; color: #ccc; transition: all 0.2s; }
.feedback-form i:hover, .feedback-form i.active { color: gold; transform: scale(1.2); }
.feedback-emoji { font-size: 40px; height: 50px; transition: opacity 0.15s ease-in-out, transform 0.15s ease; }
.feedback-emoji.fading { opacity: 0; transform: scale(0.8); }

.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: white; font-size: 20px; text-decoration: none; transition: all 0.3s ease; }
.social-icon:hover { transform: translateY(-3px); filter: brightness(1.1); }
.social-icon[title="Instagram"] { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }
.social-icon[title="Facebook"] { background-color: #1877F2; }
.social-icon[title="TikTok"] { background-color: #000000; }
.social-icon[title="Pinterest"] { background-color: #E60023; }
.social-icon[title="YouTube"] { background-color: #FF0000; }
.closing-remark { color: #6c757d; font-style: italic; }

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