/* Chat Widget Styles */
.chat-widget__button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #F7A614;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(247, 166, 20, 0.25);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.chat-widget__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(247, 166, 20, 0.3);
}

.chat-widget__button i {
  font-size: 20px;
}

.chat-widget__window {
  position: fixed;
  bottom: 90px;
  left: 20px;
  width: 320px;
  height: 480px;
  background: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  overflow: hidden;
  display: none;
}

.chat-widget__header {
  background: #F7A614;
  color: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-widget__header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.chat-widget__header button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 4px;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.chat-widget__header button:hover {
  transform: scale(1.1);
}

.back-button {
  margin-right: 8px;
}

.chat-widget__content {
  padding: 20px;
  height: calc(100% - 64px);
  overflow-y: auto;
  background: #1a1a1a;
  color: #fff;
}

.chat-view {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: calc(100% - 64px);
}

.chat-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.user-message,
.agent-message,
.system-message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.user-message {
  background-color: #F7A614;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.agent-message {
  background-color: #333;
  color: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.system-message {
  background-color: #242424;
  color: #888;
  align-self: center;
  font-size: 14px;
  text-align: center;
  border-radius: 8px;
  width: 90%;
}

.chat-input {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  background: #1a1a1a;
  border-top: 1px solid rgba(247, 166, 20, 0.1);
}

.chat-input textarea {
  flex-grow: 1;
  padding: 10px 16px;
  border: 1px solid rgba(247, 166, 20, 0.2);
  border-radius: 20px;
  resize: none;
  height: 56px;
  line-height: 1.4;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s ease;
  background: rgba(247, 166, 20, 0.05);
  color: #fff;
}

.chat-input textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.chat-input textarea:focus {
  outline: none;
  border-color: #F7A614;
  background: rgba(247, 166, 20, 0.1);
  box-shadow: 0 0 0 1px rgba(247, 166, 20, 0.1);
}

.chat-input button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #F7A614;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(247, 166, 20, 0.2);
}

.chat-input button:hover {
  transform: scale(1.05);
  background-color: #F7A614;
  box-shadow: 0 4px 12px rgba(247, 166, 20, 0.3);
}

.chat-input button:active {
  transform: scale(0.95);
  box-shadow: 0 1px 3px rgba(247, 166, 20, 0.2);
}

.chat-widget__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.chat-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #242424;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.chat-option:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.chat-option i {
  font-size: 20px;
  color: #F7A614;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #fff;
  font-size: 14px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #333;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
  background: #2a2a2a;
  color: #fff;
}

.form-group input::placeholder,
.form-group select::placeholder {
  color: #888;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #F7A614;
  background: #333;
  box-shadow: 0 0 0 3px rgba(247, 166, 20, 0.15);
}

.submit-button {
  width: 100%;
  padding: 12px;
  background-color: #F7A614;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.submit-button:hover {
  background-color: #e59912;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(247, 166, 20, 0.25);
}

.submit-button:active {
  transform: translateY(0);
  box-shadow: none;
}

@media (max-width: 768px) {
  .chat-widget__window {
    width: calc(100% - 40px);
    bottom: 80px;
    height: calc(100vh - 120px);
    max-height: 600px;
  }
  
  .chat-widget__button {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .chat-widget__button:hover {
    transform: translateX(-50%) translateY(-2px);
  }
} 