@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root
{
  --vc-primary: #4361ee;
  --vc-primary-dark: #3a56d4;
  --vc-secondary: #3f37c9;
  --vc-accent: #4895ef;
  --vc-light: #f8f9fa;
  --vc-dark: #212529;
  --vc-success: #4cc9f0;
  --vc-danger: #f72585;
  --vc-warning: #f8961e;
  --vc-info: #560bad;
  --vc-border-radius: 12px;
  --vc-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --vc-transition: all 0.3s ease;
}

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

body
{
  font-family: 'Inter', sans-serif;
  background-color: #f5f7fb;
  color: var(--vc-dark);
  line-height: 1.6;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  padding-top: 60px;
}

.vc-container,
.container
{
  width: 100%;
  max-width: 800px;
  height: 73vh;
  background-color: white;
  border-radius: var(--vc-border-radius);
  box-shadow: var(--vc-box-shadow);
  display: flex;
  flex-direction: column;
  /* overflow: hidden; */
}

.vc-header
{
  background-color: var(--vc-primary);
  color: white;
  padding: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 1.2rem;
}

.vc-chat-container
{
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.vc-message
{
  max-width: 80%;
  padding: 12px 16px;
  border-radius: var(--vc-border-radius);
  position: relative;
  line-height: 1.5;
  animation: vc-fadeIn 0.3s ease;
}

@keyframes vc-fadeIn
{
  from
  {
    opacity: 0;
    transform: translateY(10px);
  }

  to
  {
    opacity: 1;
    transform: translateY(0);
  }
}

.vc-message-user
{
  align-self: flex-end;
  background-color: var(--vc-primary);
  color: white;
  border-bottom-right-radius: 4px;
}

.vc-message-bot
{
  align-self: flex-start;
  background-color: #f0f2f5;
  color: var(--vc-dark);
  border-bottom-left-radius: 4px;
}

.vc-message-sender
{
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.8rem;
}

.vc-message-user .vc-message-sender
{
  color: rgba(255, 255, 255, 0.8);
  text-align: end;
}

.vc-message-bot .vc-message-sender
{
  color: var(--vc-primary-dark);
  text-align: start;
  display: flex;
}

.vc-message-bot .vc-message-sender i {
  cursor: pointer;
  margin-left: auto;
}

.vc-message-content
{
  word-wrap: break-word;
}

.vc-status
{
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
  color: #666;
  order: 99999;
}

.vc-controls
{
  padding: 15px 20px;
  background-color: white;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.vc-btn
{
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  background-color: var(--vc-primary);
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: var(--vc-transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.vc-btn:hover
{
  background-color: var(--vc-primary-dark);
  transform: translateY(-2px);
}

.vc-btn:active
{
  transform: translateY(0);
}

.vc-btn-icon
{
  width: 16px;
  height: 16px;
}

.vc-error
{
  color: var(--vc-danger);
  background-color: rgba(247, 37, 133, 0.1);
  padding: 10px;
  border-radius: var(--vc-border-radius);
  margin: 10px 0;
  text-align: center;
}

.vc-pulse
{
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--vc-accent);
  box-shadow: 0 0 0 0 rgba(72, 149, 239, 0.7);
  transform: scale(1);
  animation: vc-pulse 2s infinite;
  margin-right: 8px;
}

.disabled {
  background: #ccc !important;
  animation: none !important;
}

@keyframes vc-pulse
{
  0%
  {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(72, 149, 239, 0.7);
  }

  70%
  {
    transform: scale(1.2);
    box-shadow: 0 0 0 10px rgba(72, 149, 239, 0);
  }

  100%
  {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(72, 149, 239, 0);
  }
}

@media (max-width: 600px)
{
  .vc-container
  {
    height: 100vh;
    border-radius: 0;
  }

  .vc-message
  {
    max-width: 90%;
  }
}

.vcs-container
{
  font-family: Arial, sans-serif;
  max-width: 500px;
  margin: 20px auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: white;
  text-align: center;
}

.vcs-title
{
  color: #333;
  margin-top: 0;
  margin-bottom: 15px;
}

.vcs-status
{
  margin-bottom: 20px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 4px;
  text-align: center;
  min-height: 20px;
}

.vcs-options-container
{
  margin-bottom: 20px;
  text-align: right;
  direction: rtl;
}

.vcs-option
{
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #eee;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: all 0.3s;
}

.vcs-option.selected
{
  background-color: #e8f0fe;
  border-color: #4285f4;
  color: #4285f4;
  font-weight: bold;
}

.vcs-option-number
{
  margin-left: 10px;
  color: #666;
  min-width: 25px;
}

.vcs-option-text
{
  flex-grow: 1;
}

.vcs-voice-button
{
  background-color: #4285f4;
  color: white;
  border: none;
  padding: 12px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vcs-voice-button:hover
{
  background-color: #3367d6;
}

.vcs-voice-button .mic-icon
{
  margin-left: 8px;
}