/* ===== AGENTS PAGE SPECIFIC STYLES ===== */

/* Active nav link */
.nav-links a.active {
  color: var(--color-yellow);
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-yellow);
}

/* Agent Creator Section */
.agent-creator {
  padding: 100px 0;
  background: var(--color-dark);
}

.creator-header {
  text-align: center;
  margin-bottom: 60px;
}

.creator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .creator-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Creator Panel */
.creator-panel {
  background: var(--color-dark-2);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 32px;
}

.panel-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.panel-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Diminuir tamanhos gerais */
.panel-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-white);
}

.panel-subtitle {
  font-size: 12px;
  color: var(--color-gray);
  margin-bottom: 14px;
}

.panel-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.creator-panel {
  padding: 24px;
}

.creator-modal-header {
  padding: 24px 32px;
}

.creator-modal-header h2 {
  font-size: 24px;
}

.creator-modal-header p {
  font-size: 14px;
}

.creator-modal-body {
  padding: 24px 32px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group textarea,
.form-group select {
  padding: 10px 14px;
  font-size: 13px;
}

.form-group textarea {
  min-height: 70px;
}

.category-select {
  width: 100%;
  background: var(--color-dark);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--color-white);
  font-size: 13px;
  font-family: inherit;
}

.category-select:focus {
  outline: none;
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

/* Privacidade simplificada */
.privacy-simple {
  display: flex;
  gap: 12px;
}

.privacy-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--color-dark);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
}

.privacy-radio:hover {
  border-color: var(--color-yellow);
  background: rgba(255, 215, 0, 0.05);
}

.privacy-radio input[type="radio"] {
  margin: 0;
  cursor: pointer;
}

.privacy-radio input[type="radio"]:checked + span {
  color: var(--color-yellow);
  font-weight: 600;
}

.privacy-radio:has(input:checked) {
  border-color: var(--color-yellow);
  background: rgba(255, 215, 0, 0.1);
}

.privacy-radio span {
  font-size: 13px;
  color: var(--color-white);
}

/* Avatar Gallery */
.btn-select-avatar {
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-yellow);
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-select-avatar:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--color-yellow);
}

.btn-select-avatar svg {
  width: 14px;
  height: 14px;
}

.avatar-gallery-modal {
  max-width: 600px;
  padding: 24px;
}

.avatar-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
  padding: 8px;
}

.avatar-gallery-item {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  font-size: 32px;
  transition: all 0.2s;
}

.avatar-gallery-item:hover {
  border-color: var(--color-yellow);
  background: rgba(255, 215, 0, 0.1);
  transform: scale(1.1);
}

.avatar-gallery-item.selected {
  border-color: var(--color-yellow);
  background: rgba(255, 215, 0, 0.2);
}

/* Comandos melhorados */
.commands-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.command-group {
  display: flex;
  flex-direction: column;
}

.command-item {
  display: flex;
  align-items: flex-start;
  padding: 12px;
  background: var(--color-dark);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  gap: 12px;
}

.command-item:hover {
  border-color: var(--color-yellow);
  background: rgba(255, 215, 0, 0.05);
}

.command-item input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--color-yellow);
  flex-shrink: 0;
}

.command-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.command-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-white);
}

.command-triggers {
  font-size: 11px;
  color: var(--color-gray);
  font-style: italic;
}

.command-item:has(input:checked) {
  border-color: var(--color-yellow);
  background: rgba(255, 215, 0, 0.1);
}

.command-item:has(input:checked) .command-name {
  color: var(--color-yellow);
}

/* Preview do Agent Popup */
.agent-popup-preview {
  width: 100%;
  max-width: 380px;
  background: var(--color-dark-2);
  border: 2px solid var(--color-yellow);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 500px;
}

.agent-popup-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--color-dark);
  border-bottom: 1px solid var(--color-border);
}

.agent-popup-preview-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.agent-popup-preview-icon {
  font-size: 28px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark-2);
  border-radius: 8px;
}

.agent-popup-preview-info h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 2px 0;
  color: var(--color-white);
}

.agent-popup-preview-info p {
  font-size: 11px;
  color: var(--color-gray);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oktoseek-branding {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 6px;
  margin-left: 8px;
}

.oktoseek-logo-small {
  width: 16px;
  height: 16px;
}

.oktoseek-text {
  font-size: 9px;
  color: var(--color-yellow);
  font-weight: 600;
  white-space: nowrap;
}

.agent-popup-preview-chat {
  display: flex;
  flex-direction: column;
  height: 420px;
}

.agent-popup-preview-chat .chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  background: var(--color-dark);
  height: 340px;
}

.agent-popup-preview-chat .chat-input-wrapper {
  padding: 12px;
  background: var(--color-dark-2);
  border-top: 1px solid var(--color-border);
}

.agent-popup-preview-chat #chatInput {
  font-size: 12px;
  padding: 10px 12px;
}

.agent-popup-preview-chat .btn-send {
  padding: 10px 14px;
}

.agent-popup-preview-chat .message-content {
  font-size: 12px;
  padding: 10px 14px;
}

/* Diminuir outros elementos */
.btn-create,
.btn-preview {
  padding: 12px;
  font-size: 14px;
}

.btn-random-avatar {
  padding: 10px 14px;
  font-size: 12px;
}

.icon-selector-wrapper input {
  font-size: 20px;
  text-align: center;
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-gray-2);
}

.form-group input[type="text"],
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--color-dark);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--color-white);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Capabilities Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.command-item {
  display: flex;
  align-items: center;
  padding: 12px;
  background: var(--color-dark);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.command-item:hover {
  border-color: var(--color-yellow);
  background: rgba(255, 215, 0, 0.05);
}

.command-item input[type="checkbox"] {
  margin-right: 12px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--color-yellow);
}

.command-item input[type="checkbox"]:checked + span {
  color: var(--color-yellow);
  font-weight: 600;
}

.command-item:has(input:checked) {
  border-color: var(--color-yellow);
  background: rgba(255, 215, 0, 0.1);
}

.capability-item {
  display: flex;
  align-items: center;
  padding: 12px;
  background: var(--color-dark);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.capability-item:hover {
  border-color: var(--color-yellow);
  background: rgba(255, 215, 0, 0.05);
}

.capability-item input[type="checkbox"] {
  margin-right: 12px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--color-yellow);
}

.capability-item input[type="checkbox"]:checked + span {
  color: var(--color-yellow);
  font-weight: 600;
}

.capability-item:has(input:checked) {
  border-color: var(--color-yellow);
  background: rgba(255, 215, 0, 0.1);
}

/* Reaction Rules - New Explorer Style */
.rules-container {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 16px;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-dark);
  min-height: 400px;
}

.rules-sidebar {
  background: var(--color-dark-2);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.rules-sidebar-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-2);
}

.btn-add-rule-small {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-yellow);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-add-rule-small:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--color-yellow);
}

.rules-list-container {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}

.rules-empty-state {
  padding: 40px 20px;
  text-align: center;
  color: var(--color-gray);
}

.rules-empty-state p {
  margin: 8px 0;
  font-size: 13px;
}

.rules-empty-hint {
  font-size: 11px !important;
  opacity: 0.7;
}

.rule-list-item {
  padding: 10px 12px;
  margin-bottom: 4px;
  background: var(--color-dark);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rule-list-item:hover {
  background: var(--color-dark-2);
  border-color: var(--color-yellow);
}

.rule-list-item.active {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--color-yellow);
}

.rule-list-item-info {
  flex: 1;
  min-width: 0;
}

.rule-list-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rule-list-item-trigger {
  font-size: 11px;
  color: var(--color-gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rule-list-item-actions {
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.2s;
}

.rule-list-item:hover .rule-list-item-actions {
  opacity: 1;
}

.btn-rule-action {
  background: transparent;
  border: none;
  color: var(--color-gray);
  width: 20px;
  height: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-rule-action:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn-rule-delete:hover {
  color: #ff4444;
}

.rules-editor {
  padding: 20px;
  overflow-y: auto;
}

.rules-editor-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 300px;
  text-align: center;
  color: var(--color-gray);
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.rules-editor-empty h4 {
  font-size: 18px;
  color: var(--color-white);
  margin-bottom: 8px;
}

.rules-editor-empty p {
  font-size: 14px;
  margin-bottom: 24px;
}

.btn-add-rule-main {
  background: var(--color-yellow);
  color: var(--color-black);
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.btn-add-rule-main:hover {
  background: #FFA500;
  transform: translateY(-2px);
}

.rule-editor-form {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rule-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.rule-editor-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
}

.rule-editor-actions {
  display: flex;
  gap: 8px;
}

.btn-rule-save,
.btn-rule-cancel {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-rule-save {
  background: var(--color-yellow);
  color: var(--color-black);
}

.btn-rule-save:hover {
  background: #FFA500;
}

.btn-rule-cancel {
  background: transparent;
  color: var(--color-gray);
  border: 1px solid var(--color-border);
}

.btn-rule-cancel:hover {
  background: var(--color-dark-2);
  color: var(--color-white);
}

.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--color-gray);
  font-style: italic;
}

/* Buttons */
.btn-create,
.btn-preview {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 12px;
}

.btn-create {
  background: var(--color-yellow);
  color: var(--color-black);
}

.btn-create:hover {
  background: #FFA500;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.btn-preview {
  background: transparent;
  color: var(--color-yellow);
  border: 2px solid var(--color-yellow);
}

.btn-preview:hover {
  background: rgba(255, 215, 0, 0.1);
}

.btn-create-agent {
  background: var(--color-yellow);
  color: var(--color-black);
}

.btn-create-agent:hover {
  background: #FFA500;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

/* Preview Panel */
.preview-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.agent-preview-card {
  background: var(--color-dark-2);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 100px;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.preview-icon {
  font-size: 48px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark);
  border-radius: 12px;
}

.preview-info h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-white);
}

.preview-info p {
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.5;
}

.preview-capabilities,
.preview-rules {
  margin-bottom: 24px;
}

.preview-capabilities h5,
.preview-rules h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-gray-2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.capabilities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.capability-badge {
  background: rgba(255, 215, 0, 0.1);
  color: var(--color-yellow);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rule-preview {
  background: var(--color-dark);
  padding: 12px;
  border-radius: 8px;
  border-left: 3px solid var(--color-yellow);
}

.rule-preview strong {
  display: block;
  font-size: 13px;
  color: var(--color-white);
  margin-bottom: 4px;
}

.rule-preview p {
  font-size: 12px;
  color: var(--color-gray);
  margin: 0;
}

.rule-placeholder {
  color: var(--color-gray);
  font-style: italic;
  font-size: 14px;
}

/* Test Chat */
.test-chat {
  background: var(--color-dark-2);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
}

.chat-messages {
  background: var(--color-dark);
  border-radius: 8px;
  padding: 16px;
  height: 300px;
  overflow-y: auto;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-message {
  display: flex;
  gap: 12px;
}

.chat-message.user {
  justify-content: flex-end;
}

.chat-message.user .message-content {
  background: var(--color-yellow);
  color: var(--color-black);
}

.chat-message.bot .message-content {
  background: var(--color-dark-2);
  color: var(--color-white);
}

.message-content {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.chat-input-wrapper {
  display: flex;
  gap: 8px;
}

#chatInput {
  flex: 1;
  background: var(--color-dark);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--color-white);
  font-size: 14px;
}

#chatInput:focus {
  outline: none;
  border-color: var(--color-yellow);
}

.btn-send {
  background: var(--color-yellow);
  color: var(--color-black);
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.btn-send:hover {
  background: #FFA500;
  transform: translateY(-2px);
}

/* Agent Gallery */
.agent-gallery {
  padding: 100px 0;
  background: var(--color-black);
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.agent-card {
  background: var(--color-dark-2);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s;
  position: relative;
}

.agent-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-yellow);
  box-shadow: 0 12px 32px rgba(255, 215, 0, 0.1);
}

.agent-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.agent-card-icon {
  font-size: 40px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark);
  border-radius: 12px;
}

.agent-card-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-white);
}

.agent-card-info p {
  font-size: 13px;
  color: var(--color-gray);
  line-height: 1.4;
  margin: 0;
}

.agent-card-creator {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 10px;
  color: var(--color-gray);
  opacity: 0.7;
}

.agent-card-creator svg {
  width: 10px;
  height: 10px;
  stroke: var(--color-gray);
  opacity: 0.6;
}

.agent-card-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.agent-card-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.agent-stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-yellow);
  font-weight: 600;
}

.agent-stat-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-yellow);
  fill: none;
}

.agent-stat-item span {
  font-family: 'Courier New', monospace;
  font-size: 14px;
}

.agent-card-actions {
  display: flex;
  gap: 8px;
}

.btn-view,
.btn-share {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-view {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-yellow);
}

.btn-view:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--color-yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.btn-share {
  background: var(--color-yellow);
  color: var(--color-black);
}

.btn-share:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.btn-share svg {
  width: 16px;
  height: 16px;
}

/* Agent Card Menu */
.agent-card-menu {
  position: absolute;
  top: 16px;
  right: 16px;
}

.btn-agent-menu {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-gray);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-agent-menu:hover {
  background: var(--color-dark);
  border-color: var(--color-yellow);
  color: var(--color-yellow);
}

.agent-menu-dropdown {
  position: fixed;
  background: var(--color-dark-2);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  padding: 8px 0;
  z-index: 10001;
  min-width: 160px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.agent-menu-item {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--color-white);
  padding: 12px 16px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  transition: all 0.2s;
}

.agent-menu-item:hover {
  background: var(--color-dark);
  color: var(--color-yellow);
}

.agent-menu-item svg {
  width: 16px;
  height: 16px;
}

.agent-menu-delete {
  color: #ff4444;
  border-top: 1px solid var(--color-border);
}

.agent-menu-delete:hover {
  background: rgba(255, 68, 68, 0.1);
  color: #ff6666;
}

/* Icon Selector */
.icon-selector-wrapper {
  display: flex;
  gap: 8px;
}

.icon-selector-wrapper input {
  flex: 1;
}

.btn-random-avatar {
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-yellow);
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-random-avatar:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--color-yellow);
  transform: scale(1.05);
}

.btn-random-avatar svg {
  width: 18px;
  height: 18px;
}

.no-agents {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--color-gray);
}

/* Share Modal */
.share-modal-content {
  max-width: 600px;
  padding: 40px;
}

/* Custom Commands Help Section */
.custom-commands-help {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}

.command-help-text {
  font-size: 12px;
  color: var(--color-gray-2);
  margin-bottom: 8px;
}

.command-format-example {
  font-size: 11px;
  color: var(--color-gray);
}

.command-format-example strong {
  color: var(--color-yellow);
  display: block;
  margin-bottom: 6px;
}

.command-format-example code {
  background: var(--color-dark);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--color-yellow);
}

.command-examples {
  margin-top: 8px;
}

.command-example-item {
  margin-bottom: 6px;
  font-size: 11px;
}

.example-label {
  color: var(--color-gray);
  margin-right: 6px;
}

.command-example-item code {
  background: var(--color-dark);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  color: var(--color-white);
  font-family: 'Courier New', monospace;
}

/* Share Modal Widget Section */
.share-section {
  margin-bottom: 24px;
}

.share-section-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 8px;
}

.widget-help-text {
  font-size: 12px;
  color: var(--color-gray);
  margin-bottom: 8px;
}

.widget-code-input {
  width: 100%;
  background: var(--color-dark);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  padding: 12px;
  color: var(--color-white);
  font-size: 12px;
  font-family: 'Courier New', monospace;
  resize: vertical;
  min-height: 120px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.widget-code-input:focus {
  outline: none;
  border-color: var(--color-yellow);
}

.share-link-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.share-link-container textarea {
  flex: 1;
}

.share-link-container .btn-copy-link {
  width: 100%;
  justify-content: center;
}

.share-link-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 14px;
  padding: 12px 16px;
  font-family: 'Courier New', monospace;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-link-input:focus {
  outline: none;
}

.btn-copy-link {
  background: var(--color-yellow);
  color: var(--color-black);
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-copy-link:hover {
  background: #FFA500;
}

.btn-copy-link.copied {
  background: #4CAF50;
  color: var(--color-white);
}

.share-buttons {
  display: flex;
  gap: 12px;
  margin: 24px 0;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-share-social {
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.btn-share-social:hover {
  border-color: var(--color-yellow);
  color: var(--color-yellow);
  background: rgba(255, 215, 0, 0.05);
}

.share-modal-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--color-dark-2);
  border: 2px solid var(--color-yellow);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 10001;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon {
  font-size: 20px;
  color: var(--color-yellow);
  font-weight: 700;
}

.toast-message {
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
}

/* Creator Modal */
.creator-modal-content {
  max-width: 95%;
  width: 1400px;
  max-height: 95vh;
  overflow-y: auto;
  padding: 0;
}

.creator-modal-header {
  padding: 32px 40px;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.creator-modal-header h2 {
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--color-white);
}

.creator-modal-header p {
  color: var(--color-gray);
  font-size: 16px;
}

.creator-modal-body {
  padding: 32px 40px;
}

.creator-wrapper-modal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 1024px) {
  .creator-wrapper-modal {
    grid-template-columns: 1fr;
  }
}

/* Display Mode Options */
.display-mode-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.display-mode-option {
  cursor: pointer;
}

.display-mode-option input[type="radio"] {
  display: none;
}

.mode-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--color-dark);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  transition: all 0.3s;
}

.display-mode-option:hover .mode-card {
  border-color: var(--color-yellow);
  background: rgba(255, 215, 0, 0.05);
}

.display-mode-option input[type="radio"]:checked + .mode-card {
  border-color: var(--color-yellow);
  background: rgba(255, 215, 0, 0.1);
}

.mode-icon {
  font-size: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark-2);
  border-radius: 8px;
}

.mode-info strong {
  display: block;
  color: var(--color-white);
  font-size: 16px;
  margin-bottom: 4px;
}

.mode-info p {
  color: var(--color-gray);
  font-size: 13px;
  margin: 0;
}

/* Agent Popup Floating */
#agentPopupContainer {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.agent-popup {
  width: 380px;
  max-width: calc(100vw - 48px);
  background: var(--color-dark-2);
  border: 2px solid var(--color-yellow);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 600px;
}

.agent-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--color-dark);
  border-bottom: 1px solid var(--color-border);
}

.agent-popup-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.agent-popup-header .oktoseek-branding {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 6px;
  margin-left: 8px;
  margin-right: 8px;
}

.agent-popup-icon {
  font-size: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark-2);
  border-radius: 8px;
}

.agent-popup-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--color-white);
}

.agent-popup-info p {
  font-size: 12px;
  color: var(--color-gray);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-popup-close {
  background: transparent;
  border: none;
  color: var(--color-gray);
  font-size: 24px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s;
}

.agent-popup-close:hover {
  background: var(--color-dark-2);
  color: var(--color-white);
}

.agent-popup-chat {
  display: flex;
  flex-direction: column;
  height: 500px;
}

.agent-popup-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--color-dark);
}

.agent-popup-input-wrapper {
  display: flex;
  gap: 8px;
  padding: 16px;
  background: var(--color-dark-2);
  border-top: 1px solid var(--color-border);
}

.agent-popup-input-wrapper input {
  flex: 1;
  background: var(--color-dark);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--color-white);
  font-size: 14px;
}

.agent-popup-input-wrapper input:focus {
  outline: none;
  border-color: var(--color-yellow);
}

/* Agent View Page (Full Page) */
.agent-view-container {
  min-height: 100vh;
  background: var(--color-dark);
  padding-top: 80px;
}

.agent-view-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
  color: var(--color-gray);
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-yellow);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.agent-view-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

.agent-view-header {
  background: var(--color-dark-2);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
}

.agent-view-info {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.agent-view-icon {
  font-size: 64px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark);
  border-radius: 12px;
}

.agent-view-info h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--color-white);
}

.agent-view-info p {
  font-size: 16px;
  color: var(--color-gray);
  margin: 0;
}

.agent-view-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agent-view-chat {
  background: var(--color-dark-2);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 300px);
  min-height: 500px;
}

.agent-view-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--color-dark);
}

.agent-view-input-wrapper {
  display: flex;
  gap: 12px;
  padding: 20px;
  background: var(--color-dark-2);
  border-top: 1px solid var(--color-border);
}

.agent-view-input-wrapper input {
  flex: 1;
  background: var(--color-dark);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  padding: 16px 20px;
  color: var(--color-white);
  font-size: 16px;
}

.agent-view-input-wrapper input:focus {
  outline: none;
  border-color: var(--color-yellow);
}

.agent-view-error {
  text-align: center;
  padding: 60px 24px;
  color: var(--color-gray);
}

.agent-view-error h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--color-white);
}

.agent-view-error p {
  font-size: 18px;
  margin-bottom: 24px;
}

/* Back Button */
.agent-view-back-btn {
  position: fixed;
  top: 100px;
  left: 24px;
  background: var(--color-dark-2);
  border: 2px solid var(--color-border);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.agent-view-back-btn:hover {
  background: var(--color-dark);
  border-color: var(--color-yellow);
  color: var(--color-yellow);
  transform: translateX(-4px);
}

.agent-view-back-btn svg {
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .creator-wrapper {
    grid-template-columns: 1fr;
  }
  
  .agent-preview-card {
    position: static;
  }
  
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  
  .agents-grid {
    grid-template-columns: 1fr;
  }
  
  .share-link-container {
    flex-direction: column;
  }
  
  .btn-copy-link {
    width: 100%;
    justify-content: center;
  }
  
  .share-buttons {
    flex-direction: column;
  }
  
  .btn-share-social {
    width: 100%;
    justify-content: center;
  }
  
  .toast {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }
  
  .creator-modal-content {
    max-width: 100%;
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
  
  .creator-modal-header,
  .creator-modal-body {
    padding: 24px;
  }
  
  .agent-popup {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 16px;
  }
  
  .agent-view-wrapper {
    padding: 24px 16px;
  }
  
  .agent-view-info {
    flex-direction: column;
    text-align: center;
  }
  
  .agent-view-chat {
    height: calc(100vh - 250px);
  }
  
  .agent-view-back-btn {
    top: 80px;
    left: 16px;
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .agent-view-back-btn span {
    display: none;
  }
  
  .agent-view-back-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .rules-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .rules-sidebar {
    max-height: 200px;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
  
  .rules-editor {
    min-height: 300px;
  }
}

/* ============================================
   PRODUCT MANAGEMENT STYLES
   ============================================ */

/* Products Section */
.products-list-container {
  margin-top: 16px;
}

.products-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #888;
}

.products-empty-state p {
  margin: 8px 0;
}

.products-empty-hint {
  font-size: 14px;
  color: #666;
}

/* Product Item */
.product-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 12px;
  transition: all 0.2s;
}

.product-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 204, 0, 0.3);
}

.product-item-image {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-no-image {
  font-size: 32px;
  opacity: 0.5;
}

.product-item-info {
  flex: 1;
  min-width: 0;
}

.product-item-name {
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  margin-bottom: 4px;
}

.product-item-price {
  font-size: 18px;
  font-weight: 700;
  color: #ffcc00;
  margin-bottom: 6px;
}

.product-item-description {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.product-tag {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(255, 204, 0, 0.15);
  color: #ffcc00;
  border-radius: 4px;
  font-size: 12px;
}

.product-item-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-product-edit,
.btn-product-delete {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-product-edit:hover {
  background: rgba(255, 204, 0, 0.2);
  color: #ffcc00;
}

.btn-product-delete:hover {
  background: rgba(255, 0, 0, 0.2);
  color: #ff4444;
}

/* Add Product Button */
.btn-add-product {
  width: 100%;
  padding: 12px;
  background: rgba(255, 204, 0, 0.1);
  border: 1px solid rgba(255, 204, 0, 0.3);
  color: #ffcc00;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  transition: all 0.2s;
}

.btn-add-product:hover {
  background: rgba(255, 204, 0, 0.15);
  border-color: rgba(255, 204, 0, 0.5);
}

/* Product Modal */
.product-modal-content {
  max-width: 600px;
  width: 90%;
}

.form-group-row {
  display: flex;
  gap: 16px;
}

.form-group-row .form-group {
  flex: 1;
}

.modal-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: flex-end;
}

.btn-modal-secondary {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-modal-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-modal-primary {
  padding: 10px 20px;
  background: #ffcc00;
  border: none;
  color: #000;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-modal-primary:hover {
  background: #ffd633;
}

/* Agent Type Select */
.agent-type-select {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.agent-type-select:hover {
  border-color: rgba(255, 204, 0, 0.3);
}

.agent-type-select:focus {
  outline: none;
  border-color: #ffcc00;
}

/* Dark background for select options */
.agent-type-select option {
  background: var(--color-dark-2);
  color: var(--color-white);
  padding: 8px;
}

/* For all select elements */
select option {
  background: var(--color-dark-2) !important;
  color: var(--color-white) !important;
}

select {
  background-color: var(--color-dark) !important;
  color: var(--color-white) !important;
}

/* Shop Settings */
.shop-currency-select {
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
}

/* Product Card in Chat */
.agent-product-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 204, 0, 0.2);
  border-radius: 12px;
  padding: 16px;
  margin: 12px 0;
  max-width: 300px;
}

.agent-product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.agent-product-card h4 {
  margin: 0 0 8px 0;
  color: #fff;
  font-size: 18px;
}

.agent-product-card p {
  margin: 0 0 12px 0;
  color: #aaa;
  font-size: 14px;
  line-height: 1.5;
}

/* Rule Action Styles */
.rule-action,
.rule-product-select,
.rule-tag-select {
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.rule-action:hover,
.rule-product-select:hover,
.rule-tag-select:hover {
  border-color: rgba(255, 204, 0, 0.3);
}

.rule-action:focus,
.rule-product-select:focus,
.rule-tag-select:focus {
  outline: none;
  border-color: #ffcc00;
}

.form-warning {
  padding: 12px;
  background: rgba(255, 204, 0, 0.1);
  border: 1px solid rgba(255, 204, 0, 0.3);
  border-radius: 6px;
  color: #ffcc00;
  font-size: 14px;
}

.form-warning a {
  color: #ffcc00;
  text-decoration: underline;
  font-weight: 600;
}

.form-warning a:hover {
  color: #ffd633;
}

.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #888;
  font-style: italic;
}

.product-price {
  font-size: 24px;
  font-weight: 700;
  color: #ffcc00;
  margin-bottom: 12px;
}

.product-buttons {
  display: flex;
  gap: 8px;
}

.btn-product-view,
.btn-product-buy {
  flex: 1;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-size: 14px;
}

.btn-product-view {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-product-view:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-product-buy {
  background: #ffcc00;
  color: #000;
}

.btn-product-buy:hover {
  background: #ffd633;
}


