/* ========================================
   VENDOR DASHBOARD STYLES
   ======================================== */

/* ========================================
   1. UTILITY CLASSES
   ======================================== */

.hidden {
  display: none !important;
}

.show {
  display: block !important;
}

.required {
  color: #d63638;
  margin-left: 3px;
  position: absolute;
}

/* ========================================
   2. GENERAL LAYOUT & DASHBOARD
   ======================================== */

.vendor-dashboard-content {
  min-height: 65vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.vendor-dashboard {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.vendor-product-filters {
  padding: 1em 0;
}

.category-filter {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  min-width: 200px;
}

.page-template-vendor-dashboard .is-product-collection-layout-list img {
	width: 96px;
	height: 96px;
}

/* Vendor Details Grid */
.vendor-details-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  background-color: #f7f7f7;
  border-radius: 4px;
  padding: 16px 32px;
}

.vendor-details-grid .detail-label {
  text-align: right;
  font-weight: 500;
  align-content: center;
}

.vendor-details-grid .detail-value {
  padding: 0.75rem;
}

.vendor-details-grid .logo-thumbnail {
  max-height: 48px;
  display: flex;
}

.vendor-details-grid .logo-thumbnail img {
  max-height: 100%;
}

.vendor-details-grid .not-set {
  color: #d63638;
}

.forminator-info-message-changes-prompt {
  font-size: 0.9em;
}

/* ========================================
   3. PRODUCT FORM CONTAINER & SECTIONS
   ======================================== */

.vendor-dashboard-form {
  width: 100%;
  max-width: 1340px;
  margin: 2em auto;
  padding: 30px 0;
  background: #fff;
  flex: 1;
}

.vendor-dashboard-form.show-success {
  display: flex;
  flex-direction: column;
}

.vendor-dashboard-form h1 {
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 8px;
  position: sticky;
  top: 0;
  background-color: white;
  padding: 16px 8px;
  margin: 0 -8px 32px;
  z-index: 2;
}

.product-form-container {
  margin: 0 auto;
}

.product-form-container .product-section:not(#variations-section) select {
  max-width: max-content;
  width: 100%;
}

.product-section {
  margin-bottom: 10px;
  padding: 20px;
  background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
  border-radius: 4px;
  border: 1px solid #ebebeb;
}

.product-section h3 {
  margin-top: 0;
  color: #333;
  font-size: 1.5rem;
}

/* h3 WITH a following .description */
.product-section h3:has(+ .description) {
  margin-bottom: 0px;
}

/* h3 WITHOUT a following .description */
.product-section h3:not(:has(+ .description)) {
  margin-bottom: 18px;
}

.category-selection {
  position: sticky;
  top: 64px;
  z-index: 2;
}

/* Product details container animations */
#product-details-container {
  transition: opacity 0.3s ease-out;
  opacity: 1;
}

#product-details-container.fade-in {
  opacity: 0;
}

/* ========================================
   4. PRODUCT TYPE TOGGLE
   ======================================== */

.product-type-toggle {
  padding-bottom: 1em;
  border-bottom: 1px solid #ddd;
}

.toggle-container {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 15px;
  margin-bottom: 4px;
}

.toggle-label-left,
.toggle-label-right {
  font-weight: 500;
  color: #666;
  transition: color 0.3s;
}

.toggle-label-left.active,
.toggle-label-right.active {
  color: #021a4f;
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

.toggle-slider {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  background-color: #ccc;
  border-radius: 24px;
  transition: 0.3s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #021a4f;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.toggle-description {
  text-align: start;
  line-height: 1.2;
}

.description-text {
  font-size: 14px;
}

.toggle-description .description-text::before,
.description::before {
  content: "ⓘ";
  margin-right: 4px;
  color: #021a4f;
}

/* Product Type Badge */
.product-type {
  background: linear-gradient(135deg, #021a4f 0%, #0d3a75 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(2, 26, 79, 0.4);
}

/* ========================================
   5. FORM ELEMENTS
   ======================================== */

.form-row:not(:last-of-type) {
  margin-bottom: 1.5em;
}

.form-row label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: 600;
  color: #333;
}

.form-row input[type="text"],
.form-row input[type="number"],
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.form-row input[type="text"]:focus,
.form-row input[type="number"]:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: #0073aa;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 115, 170, 0.2);
}

.form-row input[type="file"] {
  padding: 10px 0;
}

.form-row button[type="submit"] {
  background-color: #021a4f;
  color: white;
  padding: 12px 24px;
  border: 1px solid #021a4f;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}

.form-row button[type="submit"]:hover {
  background: white;
  color: #021a4f;
}

.form-row button[type="submit"]:is(:disabled):hover {
  background-color: #021a4f !important;
  color: white !important;
  cursor: not-allowed;
}

.description {
  color: #666;
  margin-top: 5px;
  font-size: small;
  line-height: 1.2;
}

/* Format info message (blue info icon like description) */
.format-info {
  color: #666;
  margin-top: 0;
  font-size: small;
  line-height: 1.2;
}

.format-info::before {
  content: "ⓘ";
  margin-right: 4px;
  color: #021a4f;
}

/* Title examples styling */
#title-examples {
  margin-bottom: 1em;
  padding: 0 8px;
  background: #f9f9f9;
  border-left: 3px solid #021a4f;
  border-radius: 0 4px 4px 0;
}

.title-example {
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.title-example-correct {
  color: #155724;
}

.title-example-incorrect {
  color: #721c24;
}

.title-example-correct::before {
  content: "✓";
  color: #28a745;
  font-weight: bold;
  flex-shrink: 0;
}

.title-example-incorrect::before {
  content: "✗";
  color: #dc3545;
  font-weight: bold;
  flex-shrink: 0;
}

.title-example-text {
  line-height: 1.3;
}

/* Format examples styling */
.format-examples {
  margin-bottom: 1em;
  padding: 0 8px;
  background: #f9f9f9;
  border-left: 3px solid #021a4f;
  border-radius: 0 4px 4px 0;
}

.format-example {
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.format-example-correct {
  color: #155724;
}

.format-example-incorrect {
  color: #721c24;
}

.format-example-correct::before {
  content: "✓";
  color: #28a745;
  font-weight: bold;
  flex-shrink: 0;
}

.format-example-incorrect::before {
  content: "✗";
  color: #dc3545;
  font-weight: bold;
  flex-shrink: 0;
}

.format-example-text {
  line-height: 1.3;
}

/* ========================================
   6. ATTRIBUTES & VARIATIONS
   ======================================== */

/* Attributes table */
.attributes-table {
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 15px;
  background: white;
}

.attribute-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  gap: 8px;
}

.attribute-row:last-child {
  border-bottom: none;
}

/* Special input types for attributes */
.numeric-group {
  display: flex;
  gap: 5px;
}

.numeric-group input {
  flex: 3;
}

.numeric-group select {
  flex: 2;
}

.select-or-custom-container {
  display: flex;
  flex-direction: column;
}

.numeric-custom-input {
  display: flex;
  gap: 5px;
  margin-top: 5px;
}

.custom-number-input {
  flex: 3;
}

.custom-unit-select {
  flex: 2;
}

.custom-input {
  margin-top: 5px;
}

/* Variations table */
.create-variations-table-container {
  overflow-x: auto;
  margin-bottom: 15px;
  contain: inline-size; /* Prevent table from expanding form width */
}

.create-variations-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.create-variations-table th {
  background: #f5f5f5;
  padding: 12px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  position: relative;
}

.create-variations-table td {
  padding: 8px;
  vertical-align: middle;
}

.create-variations-table input[type="text"],
.create-variations-table input[type="number"],
.create-variations-table select {
  padding: 4px;
  font-size: 12px;
}

.variation-price {
  max-width: 104px;
}

.variation-stock {
  max-width: 56px;
}

.variation-row:hover {
  filter: brightness(96%);
}

/* Variation controls */
.variations-controls {
  margin-top: 15px;
}

#add-variation {
  background: #021a4f;
  color: white;
  border: 1px solid #021a4f;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

#add-variation:hover {
  background: white;
  border-color: #021a4f;
  color: #021a4f;
}

/* Action buttons in variations table */
.action-column {
  text-align: center;
  padding: 0 12px 0 0 !important;
  white-space: nowrap;
}

.copy-variation {
  background: #6c757d;
  color: white;
  border: none;
  border-radius: 4px;
  width: 30px;
  height: 30px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  margin-right: 5px;
}

.copy-variation:hover {
  background: #5a6268;
}

.remove-variation {
  background: #d63638;
  color: white;
  border: none;
  border-radius: 4px;
  width: 30px;
  height: 30px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.remove-variation:hover {
  background: #b32d2e;
}

/* ========================================
   7. DUPLICATE DETECTION & WARNINGS
   ======================================== */

/* Duplicate group colors */
.duplicate-group-1 {
  background: #fff3cd;
  border-left: 3px solid #ffc107;
}

.duplicate-group-2 {
  background: #ffe6cc;
  border-left: 3px solid #ff9800;
}

.duplicate-group-3 {
  background: #ffe0cc;
  border-left: 3px solid #ff6f00;
}

.duplicate-group-4 {
  background: #ffd6cc;
  border-left: 3px solid #ff5722;
}

/* Duplicate warning area - only shows when there are actual errors */
.duplicate-warning {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
  padding: 8px 12px;
  margin: 10px 0 15px 0;
  font-size: 14px;
  color: #856404;
  display: flex;
  align-items: center;
}

/* Hide duplicate warning completely when no errors */
.duplicate-warning.hidden {
  display: none !important;
}

/* Error state icon */
.duplicate-warning::before {
  content: "⚠️";
  margin-right: 6px;
  color: #ff6f00;
}

/* ========================================
   8. PREFLIGHT VALIDATION SYSTEM
   ======================================== */

/* Hide publish button when no category selected or title invalid */
.product-form:not(.category-selected)
  .form-row:has(button[name="create_product"]),
.product-form:not(.title-valid) .form-row:has(button[name="create_product"]) {
  display: none;
}

/* Pre-flight status area - always reserves space, shows hints/loading/errors */
.preflight-status-container {
  border: none;
  border-radius: 4px;
  background: transparent;
  padding: 12px;
  margin: 15px 0;
  font-size: 14px;
  min-height: 44px;
  display: flex;
  align-items: start;
  color: #666;
  flex-direction: column;
}

/* Hide elements when needed - but maintain space to prevent layout shifts */
.preflight-status-container.hidden {
  display: flex !important;
  visibility: hidden;
  /* Override the global .hidden class and maintain layout space */
}

/* Error state - only state that gets background and border */
.preflight-status-container.warning {
  border: 1px solid #ffc107;
  background: #fff3cd;
  color: #856404;
}

/* Success and loading states - no background or border, just text color changes */
.preflight-status-container.success {
  color: #021a4f;
  font-weight: 600;
}

.preflight-status-container.loading {
  color: #021a4f;
}

/* Individual status lines within the container */
.preflight-status-line {
  display: flex;
  align-items: center;
  margin: 4px 0;
  line-height: 1.4;
  flex: 1; /* Take full width within flex container */
}

.preflight-status-line:first-child {
  margin-top: 0;
}

.preflight-status-line:last-child {
  margin-bottom: 0;
}

.preflight-status-line.success {
  color: #021a4f;
  font-weight: 600;
}

.preflight-status-line.warning {
  color: #856404;
}

.preflight-status-line::before {
  margin-right: 8px;
  font-size: 16px;
}

.preflight-status-line.success::before {
  content: "✓";
  color: #021a4f;
}

.preflight-status-line.warning::before {
  content: "⚠️";
}

.preflight-status-loading {
  color: #021a4f;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.preflight-status-loading::after {
  content: "•••";
  margin-left: 8px;
  background: linear-gradient(
    90deg,
    rgba(2, 26, 79, 0.3) 0%,
    rgba(2, 26, 79, 1) 25%,
    rgba(13, 58, 117, 1) 50%,
    rgba(2, 26, 79, 1) 75%,
    rgba(2, 26, 79, 0.3) 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: loadingWave 2.5s linear infinite;
  font-weight: 600;
  letter-spacing: 2px;
}

/* ========================================
   9. IMAGE UPLOAD & PREVIEW
   ======================================== */

.sortable-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.sortable-preview:not(:empty) {
  margin-top: 15px;
}

.image-preview-item {
  display: inline-block;
  position: relative;
  cursor: move;
  background: white;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.image-preview-item img {
  display: block;
  object-fit: cover;
}

.drag-handle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: transparent;
  cursor: move;
  z-index: 0;
}

.remove-image {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
  padding: 0;
  z-index: 1;
}

.remove-image:hover {
  background: #cc0000;
}

/* ========================================
   10. LOADING ANIMATIONS & STATES
   ======================================== */

/* Loading wave animation keyframes */
@keyframes loadingWave {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Spinner animation keyframes */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Form loading states */
.vendor-dashboard-form.loading .description-text {
  opacity: 0;
}

.vendor-dashboard-form.loading .category-loading-label::after {
  content: "•••";
  background: linear-gradient(
    90deg,
    rgba(2, 26, 79, 0.3) 0%,
    rgba(2, 26, 79, 1) 25%,
    rgba(13, 58, 117, 1) 50%,
    rgba(2, 26, 79, 1) 75%,
    rgba(2, 26, 79, 0.3) 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: loadingWave 2.5s linear infinite;
  font-weight: 600;
  letter-spacing: 2px;
  margin-left: 10px;
}

.category-loading-label.ajax-loading::after {
  content: " •••";
  background: linear-gradient(
    90deg,
    rgba(2, 26, 79, 0.3) 0%,
    rgba(2, 26, 79, 1) 25%,
    rgba(13, 58, 117, 1) 50%,
    rgba(2, 26, 79, 1) 75%,
    rgba(2, 26, 79, 0.3) 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: loadingWave 2.5s linear infinite;
  font-weight: 600;
  letter-spacing: 2px;
}

.vendor-dashboard-form.loading .product-section {
  box-shadow: none;
}

/* Product type badge loading animation */
.vendor-dashboard-form.loading .product-type {
  color: transparent;
  position: relative;
}

.vendor-dashboard-form.loading .product-type::after {
  content: "•••";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 1) 25%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 1) 75%,
    rgba(255, 255, 255, 0.3) 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: loadingWave 2.5s linear infinite;
  font-weight: 600;
  letter-spacing: 2px;
  width: 100%;
  text-align: center;
}

/* Form area loading overlay */
.vendor-dashboard-form.loading .product-form {
  position: relative;
}

.vendor-dashboard-form.loading .product-form-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 10;
}

.vendor-dashboard-form.loading .product-form-container::before {
  content: "•••";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    90deg,
    rgba(102, 126, 234, 0.3) 0%,
    rgba(2, 26, 79, 1) 25%,
    rgba(13, 58, 117, 1) 50%,
    rgba(2, 26, 79, 1) 75%,
    rgba(102, 126, 234, 0.3) 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: loadingWave 2.5s linear infinite;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 4px;
  z-index: 11;
}

/* ========================================
   11. LOADING OVERLAY (FORM SUBMISSION)
   ======================================== */

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.loading-content {
  text-align: center;
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 90%;
  margin: 0 20px;
}

.loading-content p {
  margin: 20px 0 0 0;
  color: #333;
  line-height: 1.5;
  font-size: 16px;
}

.loading-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  font-size: 24px;
  font-weight: 600;
  color: #021a4f;
}

.loading-dots::after {
  content: "•••";
  background: linear-gradient(
    90deg,
    rgba(2, 26, 79, 0.3) 0%,
    rgba(2, 26, 79, 1) 25%,
    rgba(13, 58, 117, 1) 50%,
    rgba(2, 26, 79, 1) 75%,
    rgba(2, 26, 79, 0.3) 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: loadingWave 2.5s linear infinite;
  letter-spacing: 4px;
}

/* Legacy spinner (kept for compatibility) */
.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #021a4f;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

/* ========================================
   14. PRODUCT TYPE MODAL
   ======================================== */

.learn-more-link {
  color: #021a4f;
  text-decoration: none;
  font-weight: 600;
}

.learn-more-link:hover {
  text-decoration: underline;
}

.product-type-modal {
  border: none;
  border-radius: 8px;
  padding: 0;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-type-modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.modal-content {
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, #021a4f 0%, #0d3a75 100%);
  color: white;
  padding: 20px 24px;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.modal-body {
  padding: 24px;
  line-height: 1.6;
  color: #333;
}

.modal-body h4 {
  color: #021a4f;
  margin: 20px 0 10px 0;
  font-size: 1.1rem;
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-body p {
  margin: 0 0 16px 0;
}

.modal-body ul {
  margin: 0 0 16px 20px;
  padding: 0;
}

.modal-body li {
  margin-bottom: 8px;
}

.modal-footer {
  background: #f8f9fa;
  padding: 16px 24px;
  text-align: right;
  border-top: 1px solid #e9ecef;
}

.modal-footer .button {
  background: #021a4f;
  color: white;
  border: 1px solid #021a4f;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.modal-footer .button:hover {
  background: white;
  color: #021a4f;
}

/* ========================================
   12. SUCCESS MESSAGES
   ======================================== */

.success-message {
  background: #f8f9fa;
  border: 2px solid #021a4f;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
  text-align: center;
}

.success-message h3 {
  color: #021a4f;
  margin: 0 0 12px 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.success-message p {
  color: #333;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.success-actions .button {
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
  font-size: 14px;
}

.success-actions .create-another {
  background: #021a4f;
  color: white;
  border-color: #021a4f;
}

.success-actions .create-another:hover {
  background: white;
  color: #021a4f;
}

.success-actions .view-product {
  background: white;
  color: #021a4f;
  border-color: #021a4f;
}

.success-actions .view-product:hover {
  background: #021a4f;
  color: white;
}

.success-actions .dashboard-link {
  background: #6c757d;
  color: white;
  border-color: #6c757d;
}

.success-actions .dashboard-link:hover {
  background: white;
  color: #6c757d;
  border-color: #6c757d;
}

/* ========================================
   13. RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 599px) {
  .vendor-details-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 12px 16px;
  }

  .vendor-details-grid .detail-label {
    text-align: left;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9em;
  }

  .vendor-details-grid .detail-value {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e5e5;
  }

  .vendor-details-grid .detail-value:last-child {
    border-bottom: none;
  }
  .success-actions {
    flex-direction: column;
  }

  .success-actions .button {
    margin-bottom: 8px;
  }
}
