/**
 * FCT Order Extension - Frontend Styles
 * Styles for order details section
 */

/* Order Extension Section */
.fct-ext-order-section {
  margin: 24px 0;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.fct-ext-section-title {
  margin: 0 0 16px 0;
  padding: 0 0 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  border-bottom: 1px solid #e5e7eb;
}

.fct-ext-section-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Individual Items */
.fct-ext-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fct-ext-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fct-ext-label {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.fct-ext-item-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Activation Code */
.fct-ext-code-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 8px 12px;
}

.fct-ext-code {
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 14px;
  color: #374151;
  background: transparent;
  padding: 0;
  border: none;
  letter-spacing: 0.05em;
}

.fct-ext-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fct-ext-copy-btn:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #374151;
}

.fct-ext-copy-btn:active {
  background: #e5e7eb;
}

.fct-ext-copy-btn.copied {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.fct-ext-copy-btn svg {
  width: 16px;
  height: 16px;
}

/* Invoice Link */
.fct-ext-invoice-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #1e3a5f;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.fct-ext-invoice-link:hover {
  background: #2d4a6f;
  color: #ffffff;
  text-decoration: none;
}

.fct-ext-invoice-link:active {
  background: #153050;
}

.fct-ext-invoice-link svg {
  width: 16px;
  height: 16px;
}

/* Responsive */
@media (max-width: 640px) {
  .fct-ext-order-section {
    padding: 16px;
  }

  .fct-ext-code-container {
    flex-wrap: wrap;
  }

  .fct-ext-code {
    font-size: 13px;
    word-break: break-all;
  }
}
