
.varian-category-info {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.varian-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.varian-category-name {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
}

.varian-section {
  margin-bottom: 24px;
}

.varian-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
}

.varian-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.5px;
  margin: 0;
}

.btn-add-group {
  padding: 8px 16px;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #374151;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-add-group:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.varian-group {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.varian-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

.varian-group-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.varian-drag-icon {
  color: #9ca3af;
  cursor: grab;
}

.varian-group-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.varian-group-type {
  font-size: 11px;
  padding: 2px 8px;
  background: #e5e7eb;
  border-radius: 12px;
  color: #4b5563;
}

.varian-group-actions {
  display: flex;
  gap: 8px;
}

.varian-icon-btn {
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #6b7280;
  border-radius: 6px;
  transition: all 0.2s;
}

.varian-icon-btn:hover {
  background: #f3f4f6;
  color: #374151;
}

.varian-icon-btn.danger:hover {
  background: #fee2e2;
  color: #dc2626;
}

.varian-options {
  padding: 12px;
}

.varian-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: white;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: all 0.2s;
}

.varian-option:hover {
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.varian-option-left {
  flex: 1;
}

.varian-option-name {
  font-size: 14px;
  color: #1f2937;
}

.varian-option-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.varian-option-price {
  font-size: 13px;
  font-weight: 500;
  color: #059669;
}

.varian-icon-btn-sm {
  padding: 4px 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #6b7280;
  border-radius: 4px;
  font-size: 12px;
}

.varian-icon-btn-sm:hover {
  background: #f3f4f6;
}

.varian-icon-btn-sm.danger:hover {
  background: #fee2e2;
  color: #dc2626;
}

.varian-add-option {
  width: 100%;
  padding: 10px;
  background: white;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  color: #6b7280;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}

.varian-add-option:hover {
  border-color: #9ca3af;
  color: #374151;
  background: #f9fafb;
}

.varian-empty {
  text-align: center;
  padding: 48px 24px;
  color: #9ca3af;
}

.varian-empty i {
  font-size: 48px;
  margin-bottom: 12px;
}

.varian-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
  margin-top: 24px;
}

.varian-btn-primary {
  padding: 10px 20px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.varian-btn-primary:hover {
  background: #2563eb;
}

.varian-btn-secondary {
  padding: 10px 20px;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
}

.varian-btn-secondary:hover {
  background: #f9fafb;
}

/* Modal Styles */
.varian-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.varian-modal-content {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
}

.varian-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.varian-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.varian-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #9ca3af;
}

.varian-form-group {
  margin-bottom: 20px;
}

.varian-form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.varian-input,
.varian-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
}

.varian-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

form {
  padding: 24px;
}

.popup-large {
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
}


    @keyframes slideIn {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    @keyframes slideOut {
        from {
            transform: translateX(0);
            opacity: 1;
        }
        to {
            transform: translateX(100%);
            opacity: 0;
        }
    }

